public class EncryptedKey extends ASN1Encodable implements ASN1Choice
BER, DER
Constructor and Description |
---|
EncryptedKey(EncryptedValue encryptedValue) |
EncryptedKey(EnvelopedData envelopedData) |
Modifier and Type | Method and Description |
---|---|
static EncryptedKey |
getInstance(Object o) |
ASN1Encodable |
getValue() |
boolean |
isEncryptedValue() |
DERObject |
toASN1Object()
EncryptedKey ::= CHOICE {
encryptedValue EncryptedValue, -- deprecated
envelopedData [0] EnvelopedData }
-- The encrypted private key MUST be placed in the envelopedData
-- encryptedContentInfo encryptedContent OCTET STRING.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public EncryptedKey(EnvelopedData envelopedData)
public EncryptedKey(EncryptedValue encryptedValue)
public static EncryptedKey getInstance(Object o)
public boolean isEncryptedValue()
public ASN1Encodable getValue()
public DERObject toASN1Object()
EncryptedKey ::= CHOICE { encryptedValue EncryptedValue, -- deprecated envelopedData [0] EnvelopedData } -- The encrypted private key MUST be placed in the envelopedData -- encryptedContentInfo encryptedContent OCTET STRING.
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.