public class EncryptedPrivateKeyInfo extends ASN1Encodable
Modifier and Type | Field and Description |
---|---|
private AlgorithmIdentifier |
algId |
private ASN1OctetString |
data |
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(java.lang.Object obj) |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
private AlgorithmIdentifier algId
private ASN1OctetString data
public EncryptedPrivateKeyInfo(ASN1Sequence seq)
public EncryptedPrivateKeyInfo(AlgorithmIdentifier algId, byte[] encoding)
public static EncryptedPrivateKeyInfo getInstance(java.lang.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 ASN1Encodable
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.