public class EncryptedKey extends ASN1Object implements ASN1Choice
Constructor and Description |
---|
EncryptedKey(EncryptedValue encryptedValue) |
EncryptedKey(EnvelopedData envelopedData) |
Modifier and Type | Method and Description |
---|---|
static EncryptedKey |
getInstance(java.lang.Object o) |
ASN1Encodable |
getValue() |
boolean |
isEncryptedValue() |
ASN1Primitive |
toASN1Primitive()
EncryptedKey ::= CHOICE {
encryptedValue EncryptedValue, -- deprecated
envelopedData [0] EnvelopedData }
-- The encrypted private key MUST be placed in the envelopedData
-- encryptedContentInfo encryptedContent OCTET STRING.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public EncryptedKey(EnvelopedData envelopedData)
public EncryptedKey(EncryptedValue encryptedValue)
public static EncryptedKey getInstance(java.lang.Object o)
public boolean isEncryptedValue()
public ASN1Encodable getValue()
public ASN1Primitive toASN1Primitive()
EncryptedKey ::= CHOICE { encryptedValue EncryptedValue, -- deprecated envelopedData [0] EnvelopedData } -- The encrypted private key MUST be placed in the envelopedData -- encryptedContentInfo encryptedContent OCTET STRING.
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object