Bouncy Castle Cryptography Library 1.33 | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.cms.KeyTransRecipientInfo
public class KeyTransRecipientInfo
extends ASN1Encodable
Field Summary |
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable | |
BER , DER |
Constructor Summary | |
|
Method Summary | |
ASN1OctetString | |
static KeyTransRecipientInfo |
|
AlgorithmIdentifier | |
RecipientIdentifier | |
DERInteger | |
DERObject |
|
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable | |
equals , getDEREncoded , getDERObject , getEncoded , getEncoded , hashCode , toASN1Object |
public KeyTransRecipientInfo(RecipientIdentifier rid, AlgorithmIdentifier keyEncryptionAlgorithm, ASN1OctetString encryptedKey)
public static KeyTransRecipientInfo getInstance(Object obj)
return a KeyTransRecipientInfo object from the given object.
- Parameters:
obj
- the object we want converted.
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 }
- Overrides:
- toASN1Object in interface ASN1Encodable