Package org.bouncycastle.asn1.crmf
Class EncryptedKey
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.crmf.EncryptedKey
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice
,org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class EncryptedKey extends org.bouncycastle.asn1.ASN1Object implements org.bouncycastle.asn1.ASN1Choice
-
-
Constructor Summary
Constructors Constructor Description EncryptedKey(EnvelopedData envelopedData)
EncryptedKey(EncryptedValue encryptedValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptedKey
getInstance(Object o)
org.bouncycastle.asn1.ASN1Encodable
getValue()
boolean
isEncryptedValue()
org.bouncycastle.asn1.ASN1Primitive
toASN1Primitive()
EncryptedKey ::= CHOICE { encryptedValue EncryptedValue, -- deprecated envelopedData [0] EnvelopedData } -- The encrypted private key MUST be placed in the envelopedData -- encryptedContentInfo encryptedContent OCTET STRING.
-
-
-
Constructor Detail
-
EncryptedKey
public EncryptedKey(EnvelopedData envelopedData)
-
EncryptedKey
public EncryptedKey(EncryptedValue encryptedValue)
-
-
Method Detail
-
getInstance
public static EncryptedKey getInstance(Object o)
-
isEncryptedValue
public boolean isEncryptedValue()
-
getValue
public org.bouncycastle.asn1.ASN1Encodable getValue()
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive 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:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
-