Top Fields Constructors Methods
org.bouncycastle.asn1.crmf

public Class EncryptedKey

extends ASN1Object
implements ASN1Choice
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.ASN1Choice
Imports
org.bouncycastle.asn1.ASN1Choice, .ASN1Encodable, .ASN1Object, .ASN1Primitive, .ASN1TaggedObject, .DERTaggedObject, org.bouncycastle.asn1.cms.EnvelopedData

Field Summary

Modifier and TypeField and Description
private EncryptedValue
private EnvelopedData

Constructor Summary

AccessConstructor and Description
public
EncryptedKey(EnvelopedData envelopedData)

public
EncryptedKey(EncryptedValue encryptedValue)

Method Summary

Modifier and TypeMethod and Description
public static EncryptedKey
public ASN1Encodable
public boolean
public ASN1Primitive
toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

   EncryptedKey ::= CHOICE {
       encryptedValue        EncryptedValue, -- deprecated
       envelopedData     [0] EnvelopedData }
       -- The encrypted private key MUST be placed in the envelopedData
       -- encryptedContentInfo encryptedContent OCTET STRING.
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

encryptedValueback to summary
private EncryptedValue encryptedValue
envelopedDataback to summary
private EnvelopedData envelopedData

Constructor Detail

EncryptedKeyback to summary
public EncryptedKey(EnvelopedData envelopedData)
EncryptedKeyback to summary
public EncryptedKey(EncryptedValue encryptedValue)

Method Detail

getInstanceback to summary
public static EncryptedKey getInstance(Object o)
getValueback to summary
public ASN1Encodable getValue()
isEncryptedValueback to summary
public boolean isEncryptedValue()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

   EncryptedKey ::= CHOICE {
       encryptedValue        EncryptedValue, -- deprecated
       envelopedData     [0] EnvelopedData }
       -- The encrypted private key MUST be placed in the envelopedData
       -- encryptedContentInfo encryptedContent OCTET STRING.
Returns:ASN1Primitive

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

a primitive representation of this object.