org.bouncycastle.asn1.cms

Class RecipientInfo

public class RecipientInfo extends ASN1Encodable

Constructor Summary
RecipientInfo(KeyTransRecipientInfo info)
RecipientInfo(KeyAgreeRecipientInfo info)
RecipientInfo(KEKRecipientInfo info)
RecipientInfo(PasswordRecipientInfo info)
RecipientInfo(OtherRecipientInfo info)
RecipientInfo(DERObject info)
Method Summary
DEREncodablegetInfo()
static RecipientInfogetInstance(Object o)
DERIntegergetVersion()
booleanisTagged()
DERObjecttoASN1Object()
Produce an object suitable for an ASN1OutputStream.

Constructor Detail

RecipientInfo

public RecipientInfo(KeyTransRecipientInfo info)

RecipientInfo

public RecipientInfo(KeyAgreeRecipientInfo info)

RecipientInfo

public RecipientInfo(KEKRecipientInfo info)

RecipientInfo

public RecipientInfo(PasswordRecipientInfo info)

RecipientInfo

public RecipientInfo(OtherRecipientInfo info)

RecipientInfo

public RecipientInfo(DERObject info)

Method Detail

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 }