Top Description Fields Constructors Methods
org.bouncycastle.asn1.bc

public Class EncryptedPrivateKeyData

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .DERSequence, org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo, org.bouncycastle.asn1.x509.Certificate

    EncryptedPrivateKeyObjectData ::= SEQUENCE {
        encryptedPrivateKeyInfo EncryptedPrivateKeyInfo,
        certificates SEQUENCE OF Certificate
    }

Field Summary

Modifier and TypeField and Description
private final Certificate[]
private final EncryptedPrivateKeyInfo

Constructor Summary

AccessConstructor and Description
public
EncryptedPrivateKeyData(EncryptedPrivateKeyInfo encryptedPrivateKeyInfo, Certificate[] certificateChain)

private

Method Summary

Modifier and TypeMethod and Description
public Certificate[]
public EncryptedPrivateKeyInfo
public static EncryptedPrivateKeyData
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

certificateChainback to summary
private final Certificate[] certificateChain
encryptedPrivateKeyInfoback to summary
private final EncryptedPrivateKeyInfo encryptedPrivateKeyInfo

Constructor Detail

EncryptedPrivateKeyDataback to summary
public EncryptedPrivateKeyData(EncryptedPrivateKeyInfo encryptedPrivateKeyInfo, Certificate[] certificateChain)
EncryptedPrivateKeyDataback to summary
private EncryptedPrivateKeyData(ASN1Sequence seq)

Method Detail

getCertificateChainback to summary
public Certificate[] getCertificateChain()
getEncryptedPrivateKeyInfoback to summary
public EncryptedPrivateKeyInfo getEncryptedPrivateKeyInfo()
getInstanceback to summary
public static EncryptedPrivateKeyData getInstance(Object o)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.