Package org.bouncycastle.asn1.pkcs
Class EncryptedPrivateKeyInfo
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo
- All Implemented Interfaces:
ASN1Encodable
,Encodable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
static EncryptedPrivateKeyInfo
getInstance
(Object obj) Produce an object suitable for an ASN1OutputStream.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
EncryptedPrivateKeyInfo
-
-
Method Details
-
getInstance
-
getEncryptionAlgorithm
-
getEncryptedData
public byte[] getEncryptedData() -
toASN1Primitive
Produce an object suitable for an ASN1OutputStream.EncryptedPrivateKeyInfo ::= SEQUENCE { encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}}, encryptedData EncryptedData } EncryptedData ::= OCTET STRING KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= { ... -- For local profiles }
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-