Class EncryptedPrivateKeyInfo

    • Constructor Detail

      • EncryptedPrivateKeyInfo

        public EncryptedPrivateKeyInfo​(ASN1Sequence seq)
      • EncryptedPrivateKeyInfo

        public EncryptedPrivateKeyInfo​(AlgorithmIdentifier algId,
                                       byte[] encoding)
    • Method Detail

      • getEncryptedData

        public byte[] getEncryptedData()
      • getDERObject

        public DERObject getDERObject()
        Produce an object suitable for an ASN1OutputStream.
         EncryptedPrivateKeyInfo ::= SEQUENCE {
              encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}},
              encryptedData EncryptedData
         }
        
         EncryptedData ::= OCTET STRING
        
         KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= {
                  ... -- For local profiles
         }
         
        Specified by:
        getDERObject in interface DEREncodable