ASN1Choice
, ASN1Encodable
, Encodable
public class EncryptedKey extends ASN1Object implements ASN1Choice
Constructor | Description |
---|---|
EncryptedKey(EnvelopedData envelopedData) |
|
EncryptedKey(EncryptedValue encryptedValue) |
Modifier and Type | Method | 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, toASN1Object
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