ASN1Encodable, Encodablepublic class EncryptedPrivateKeyInfo extends ASN1Object
| Constructor | Description |
|---|---|
EncryptedPrivateKeyInfo(AlgorithmIdentifier algId,
byte[] encoding) |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
getEncryptedData() |
|
AlgorithmIdentifier |
getEncryptionAlgorithm() |
|
static EncryptedPrivateKeyInfo |
getInstance(java.lang.Object obj) |
|
ASN1Primitive |
toASN1Primitive() |
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic 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 ASN1EncodabletoASN1Primitive in class ASN1Object