org.bouncycastle.asn1.cms
Class KEKRecipientInfo
- DEREncodable
public class KEKRecipientInfo
getInstance
public static KEKRecipientInfo getInstance(Object obj)
return a KEKRecipientInfo object from the given object.
obj
- the object we want converted.
getInstance
public static KEKRecipientInfo getInstance(ASN1TaggedObject obj,
boolean explicit)
return a KEKRecipientInfo object from a tagged object.
obj
- the tagged object holding the object we want.explicit
- true if the object is meant to be explicitly
tagged false otherwise.
toASN1Object
public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
KEKRecipientInfo ::= SEQUENCE {
version CMSVersion, -- always set to 4
kekid KEKIdentifier,
keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
encryptedKey EncryptedKey
}
- toASN1Object in interface ASN1Encodable