public class

EncryptedPrivateKeyInfo

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
EncryptedPrivateKeyInfo(ASN1Sequence seq)
EncryptedPrivateKeyInfo(AlgorithmIdentifier algId, byte[] encoding)
Public Methods
byte[] getEncryptedData()
AlgorithmIdentifier getEncryptionAlgorithm()
static EncryptedPrivateKeyInfo getInstance(Object obj)
DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public EncryptedPrivateKeyInfo (ASN1Sequence seq)

public EncryptedPrivateKeyInfo (AlgorithmIdentifier algId, byte[] encoding)

Public Methods

public byte[] getEncryptedData ()

public AlgorithmIdentifier getEncryptionAlgorithm ()

public static EncryptedPrivateKeyInfo getInstance (Object obj)

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

 EncryptedPrivateKeyInfo ::= SEQUENCE {
      encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}},
      encryptedData EncryptedData
 }

 EncryptedData ::= OCTET STRING

 KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= {
          ... -- For local profiles
 }