Class PKCS8EncryptedPrivateKeyInfoBuilder

  • Direct Known Subclasses:
    JcaPKCS8EncryptedPrivateKeyInfoBuilder

    public class PKCS8EncryptedPrivateKeyInfoBuilder
    extends java.lang.Object
    A class for creating EncryptedPrivateKeyInfo structures.
     EncryptedPrivateKeyInfo ::= SEQUENCE {
          encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}},
          encryptedData EncryptedData
     }
    
     EncryptedData ::= OCTET STRING
    
     KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= {
              ... -- For local profiles
     }
     
    • Constructor Detail

      • PKCS8EncryptedPrivateKeyInfoBuilder

        public PKCS8EncryptedPrivateKeyInfoBuilder​(byte[] privateKeyInfo)
      • PKCS8EncryptedPrivateKeyInfoBuilder

        public PKCS8EncryptedPrivateKeyInfoBuilder​(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo)