public class

KeyTransRecipientInfo

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.cms.KeyTransRecipientInfo

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
KeyTransRecipientInfo(RecipientIdentifier rid, AlgorithmIdentifier keyEncryptionAlgorithm, ASN1OctetString encryptedKey)
KeyTransRecipientInfo(ASN1Sequence seq)
Public Methods
ASN1OctetString getEncryptedKey()
static KeyTransRecipientInfo getInstance(Object obj)
return a KeyTransRecipientInfo object from the given object.
AlgorithmIdentifier getKeyEncryptionAlgorithm()
RecipientIdentifier getRecipientIdentifier()
DERInteger getVersion()
DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public KeyTransRecipientInfo (RecipientIdentifier rid, AlgorithmIdentifier keyEncryptionAlgorithm, ASN1OctetString encryptedKey)

public KeyTransRecipientInfo (ASN1Sequence seq)

Public Methods

public ASN1OctetString getEncryptedKey ()

public static KeyTransRecipientInfo getInstance (Object obj)

return a KeyTransRecipientInfo object from the given object.

Parameters
obj the object we want converted.
Throws
IllegalArgumentException if the object cannot be converted.

public AlgorithmIdentifier getKeyEncryptionAlgorithm ()

public RecipientIdentifier getRecipientIdentifier ()

public DERInteger getVersion ()

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 
 }