public class EncryptedPrivateKeyInfo extends ASN1Encodable
BER, DER| Constructor and Description |
|---|
EncryptedPrivateKeyInfo(AlgorithmIdentifier algId,
byte[] encoding) |
EncryptedPrivateKeyInfo(ASN1Sequence seq) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncryptedData() |
AlgorithmIdentifier |
getEncryptionAlgorithm() |
static EncryptedPrivateKeyInfo |
getInstance(Object obj) |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic EncryptedPrivateKeyInfo(ASN1Sequence seq)
public EncryptedPrivateKeyInfo(AlgorithmIdentifier algId, byte[] encoding)
public static EncryptedPrivateKeyInfo getInstance(Object obj)
public AlgorithmIdentifier getEncryptionAlgorithm()
public byte[] getEncryptedData()
public DERObject toASN1Object()
EncryptedPrivateKeyInfo ::= SEQUENCE {
encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}},
encryptedData EncryptedData
}
EncryptedData ::= OCTET STRING
KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= {
... -- For local profiles
}
toASN1Object in class ASN1EncodableCopyright © 2015. All rights reserved.