public class EncryptedPrivateKeyInfo extends ASN1Object
Constructor and Description |
---|
EncryptedPrivateKeyInfo(AlgorithmIdentifier algId,
byte[] encoding) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncryptedData() |
AlgorithmIdentifier |
getEncryptionAlgorithm() |
static EncryptedPrivateKeyInfo |
getInstance(java.lang.Object obj) |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public EncryptedPrivateKeyInfo(AlgorithmIdentifier algId, byte[] encoding)
public static EncryptedPrivateKeyInfo getInstance(java.lang.Object obj)
public AlgorithmIdentifier getEncryptionAlgorithm()
public byte[] getEncryptedData()
public ASN1Primitive toASN1Primitive()
EncryptedPrivateKeyInfo ::= SEQUENCE { encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}}, encryptedData EncryptedData } EncryptedData ::= OCTET STRING KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= { ... -- For local profiles }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object