Class KeyFingerprinter


  • public final class KeyFingerprinter
    extends Object
    Utiility class for calculating and verifying SSH key fingerprints as defined by OpenSSH.
    • Field Detail

      • b64Encoder

        public static final Base64.Encoder b64Encoder
        OpenSSH does not pad.
    • Method Detail

      • fingerPrint

        public static String fingerPrint​(KeyPair keyPair)
                                  throws org.bouncycastle.crypto.CryptoException
        Throws:
        org.bouncycastle.crypto.CryptoException