org.bouncycastle.asn1.pkcs
Class EncryptedPrivateKeyInfo
- DEREncodable
public class EncryptedPrivateKeyInfo
EncryptedPrivateKeyInfo
public EncryptedPrivateKeyInfo(ASN1Sequence seq)
EncryptedPrivateKeyInfo
public EncryptedPrivateKeyInfo(AlgorithmIdentifier algId,
byte[] encoding)
getEncryptedData
public byte[] getEncryptedData()
toASN1Object
public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
EncryptedPrivateKeyInfo ::= SEQUENCE {
encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}},
encryptedData EncryptedData
}
EncryptedData ::= OCTET STRING
KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= {
... -- For local profiles
}
- toASN1Object in interface ASN1Encodable