Bouncy Castle Cryptography Library 1.49

org.bouncycastle.asn1.cms
Class RecipientInfo

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Object
      extended by org.bouncycastle.asn1.cms.RecipientInfo
All Implemented Interfaces:
ASN1Choice, ASN1Encodable

public class RecipientInfo
extends ASN1Object
implements ASN1Choice


Constructor Summary
RecipientInfo(ASN1Primitive info)
           
RecipientInfo(KEKRecipientInfo info)
           
RecipientInfo(KeyAgreeRecipientInfo info)
           
RecipientInfo(KeyTransRecipientInfo info)
           
RecipientInfo(OtherRecipientInfo info)
           
RecipientInfo(PasswordRecipientInfo info)
           
 
Method Summary
 ASN1Encodable getInfo()
           
static RecipientInfo getInstance(java.lang.Object o)
           
 ASN1Integer getVersion()
           
 boolean isTagged()
           
 ASN1Primitive toASN1Primitive()
          Produce an object suitable for an ASN1OutputStream.
 
Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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(ASN1Primitive info)
Method Detail

getInstance

public static RecipientInfo getInstance(java.lang.Object o)

getVersion

public ASN1Integer getVersion()

isTagged

public boolean isTagged()

getInfo

public ASN1Encodable getInfo()

toASN1Primitive

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

Specified by:
toASN1Primitive in interface ASN1Encodable
Specified by:
toASN1Primitive in class ASN1Object

Bouncy Castle Cryptography Library 1.49