public class EncryptedPrivateKeyInfo extends ASN1Object
Modifier and Type | Field and Description |
---|---|
private AlgorithmIdentifier |
algId |
private ASN1OctetString |
data |
Modifier | Constructor and Description |
---|---|
|
EncryptedPrivateKeyInfo(AlgorithmIdentifier algId,
byte[] encoding) |
private |
EncryptedPrivateKeyInfo(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncryptedData() |
AlgorithmIdentifier |
getEncryptionAlgorithm() |
static EncryptedPrivateKeyInfo |
getInstance(Object obj) |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
private AlgorithmIdentifier algId
private ASN1OctetString data
private EncryptedPrivateKeyInfo(ASN1Sequence seq)
public EncryptedPrivateKeyInfo(AlgorithmIdentifier algId, byte[] encoding)
public static EncryptedPrivateKeyInfo getInstance(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