Class PKCS8KeyFile

    • Field Detail

      • log

        protected final org.slf4j.Logger log
      • privateKeyInfoKeyPairConverter

        protected KeyPairConverter<org.bouncycastle.asn1.pkcs.PrivateKeyInfo> privateKeyInfoKeyPairConverter
    • Constructor Detail

      • PKCS8KeyFile

        public PKCS8KeyFile()
    • Method Detail

      • readKeyPair

        protected java.security.KeyPair readKeyPair()
                                             throws java.io.IOException
        Specified by:
        readKeyPair in class BaseFileKeyProvider
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • readEncryptedKeyPair

        private org.bouncycastle.openssl.PEMKeyPair readEncryptedKeyPair​(org.bouncycastle.openssl.PEMEncryptedKeyPair encryptedKeyPair)
                                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • readEncryptedPrivateKeyInfo

        private org.bouncycastle.asn1.pkcs.PrivateKeyInfo readEncryptedPrivateKeyInfo​(org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo encryptedPrivateKeyInfo)
                                                                               throws org.bouncycastle.openssl.EncryptionException
        Throws:
        org.bouncycastle.openssl.EncryptionException