org.bouncycastle.asn1.cms
Class KeyTransRecipientInfo
- DEREncodable
public class KeyTransRecipientInfo
KeyTransRecipientInfo
public KeyTransRecipientInfo(ASN1Sequence seq)
getInstance
public static KeyTransRecipientInfo getInstance(Object obj)
return a KeyTransRecipientInfo object from the given object.
obj
- the object we want converted.
toASN1Object
public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
KeyTransRecipientInfo ::= SEQUENCE {
version CMSVersion, -- always set to 0 or 2
rid RecipientIdentifier,
keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
encryptedKey EncryptedKey
}
- toASN1Object in interface ASN1Encodable