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

public Class EncryptedSecretKeyData

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .DEROctetString, .DERSequence, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.util.Arrays

    EncryptedSecretKeyData ::= SEQUENCE {
        keyEncryptionAlgorithm AlgorithmIdentifier,
        encryptedKeyData OCTET STRING
    }

Field Summary

Modifier and TypeField and Description
private final ASN1OctetString
private final AlgorithmIdentifier

Constructor Summary

AccessConstructor and Description
public
EncryptedSecretKeyData(AlgorithmIdentifier keyEncryptionAlgorithm, byte[] encryptedKeyData)

private

Method Summary

Modifier and TypeMethod and Description
public byte[]
public static EncryptedSecretKeyData
public AlgorithmIdentifier
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:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

encryptedKeyDataback to summary
private final ASN1OctetString encryptedKeyData
keyEncryptionAlgorithmback to summary
private final AlgorithmIdentifier keyEncryptionAlgorithm

Constructor Detail

EncryptedSecretKeyDataback to summary
public EncryptedSecretKeyData(AlgorithmIdentifier keyEncryptionAlgorithm, byte[] encryptedKeyData)
EncryptedSecretKeyDataback to summary
private EncryptedSecretKeyData(ASN1Sequence seq)

Method Detail

getEncryptedKeyDataback to summary
public byte[] getEncryptedKeyData()
getInstanceback to summary
public static EncryptedSecretKeyData getInstance(Object o)
getKeyEncryptionAlgorithmback to summary
public AlgorithmIdentifier getKeyEncryptionAlgorithm()
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.