Package org.bouncycastle.asn1.crmf
Class EncryptedKey
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.crmf.EncryptedKey
- All Implemented Interfaces:
ASN1Choice,ASN1Encodable,Encodable
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptedKey(EnvelopedData envelopedData) EncryptedKey(EncryptedValue encryptedValue) -
Method Summary
Modifier and TypeMethodDescriptionstatic EncryptedKeygetValue()booleanEncryptedKey ::= CHOICE { encryptedValue EncryptedValue, -- deprecated envelopedData [0] EnvelopedData } -- The encrypted private key MUST be placed in the envelopedData -- encryptedContentInfo encryptedContent OCTET STRING.Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
EncryptedKey
-
EncryptedKey
-
-
Method Details
-
getInstance
-
isEncryptedValue
public boolean isEncryptedValue() -
getValue
-
toASN1Primitive
EncryptedKey ::= CHOICE { encryptedValue EncryptedValue, -- deprecated envelopedData [0] EnvelopedData } -- The encrypted private key MUST be placed in the envelopedData -- encryptedContentInfo encryptedContent OCTET STRING.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-