Class PKCS8EncryptedPrivateKeyInfo


  • public class PKCS8EncryptedPrivateKeyInfo
    extends java.lang.Object
    Holding class for a PKCS#8 EncryptedPrivateKeyInfo structure.
    • Constructor Detail

      • PKCS8EncryptedPrivateKeyInfo

        public PKCS8EncryptedPrivateKeyInfo​(org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo encryptedPrivateKeyInfo)
      • PKCS8EncryptedPrivateKeyInfo

        public PKCS8EncryptedPrivateKeyInfo​(byte[] encryptedPrivateKeyInfo)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getEncryptionAlgorithm

        public org.bouncycastle.asn1.x509.AlgorithmIdentifier getEncryptionAlgorithm()
      • getEncryptedData

        public byte[] getEncryptedData()
      • toASN1Structure

        public org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo toASN1Structure()
      • getEncoded

        public byte[] getEncoded()
                          throws java.io.IOException
        Throws:
        java.io.IOException