org.bouncycastle.asn1.cms

Class RecipientInfo

Implemented Interfaces:
DEREncodable

public class RecipientInfo
extends ASN1Encodable

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Constructor Summary

RecipientInfo(DERObject info)
RecipientInfo(KEKRecipientInfo info)
RecipientInfo(KeyAgreeRecipientInfo info)
RecipientInfo(KeyTransRecipientInfo info)
RecipientInfo(OtherRecipientInfo info)
RecipientInfo(PasswordRecipientInfo info)

Method Summary

DEREncodable
getInfo()
static RecipientInfo
getInstance(Object o)
DERInteger
getVersion()
boolean
isTagged()
DERObject
toASN1Object()
Produce an object suitable for an ASN1OutputStream.

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Constructor Details

RecipientInfo

public RecipientInfo(DERObject info)

RecipientInfo

public RecipientInfo(KEKRecipientInfo info)

RecipientInfo

public RecipientInfo(KeyAgreeRecipientInfo info)

RecipientInfo

public RecipientInfo(KeyTransRecipientInfo info)

RecipientInfo

public RecipientInfo(OtherRecipientInfo info)

RecipientInfo

public RecipientInfo(PasswordRecipientInfo info)

Method Details

getInfo

public DEREncodable getInfo()

getInstance

public static RecipientInfo getInstance(Object o)

getVersion

public DERInteger getVersion()

isTagged

public boolean isTagged()

toASN1Object

public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
 RecipientInfo ::= CHOICE {
     ktri KeyTransRecipientInfo,
     kari [1] KeyAgreeRecipientInfo,
     kekri [2] KEKRecipientInfo,
     pwri [3] PasswordRecipientInfo,
     ori [4] OtherRecipientInfo }
 
Overrides:
toASN1Object in interface ASN1Encodable