public class RecipientInfo extends ASN1Object implements ASN1Choice
Constructor and Description |
---|
RecipientInfo(ASN1Primitive info) |
RecipientInfo(KEKRecipientInfo info) |
RecipientInfo(KeyAgreeRecipientInfo info) |
RecipientInfo(KeyTransRecipientInfo info) |
RecipientInfo(OtherRecipientInfo info) |
RecipientInfo(PasswordRecipientInfo info) |
Modifier and Type | Method and Description |
---|---|
ASN1Encodable |
getInfo() |
static RecipientInfo |
getInstance(java.lang.Object o) |
ASN1Integer |
getVersion() |
boolean |
isTagged() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public RecipientInfo(KeyTransRecipientInfo info)
public RecipientInfo(KeyAgreeRecipientInfo info)
public RecipientInfo(KEKRecipientInfo info)
public RecipientInfo(PasswordRecipientInfo info)
public RecipientInfo(OtherRecipientInfo info)
public RecipientInfo(ASN1Primitive info)
public static RecipientInfo getInstance(java.lang.Object o)
public ASN1Integer getVersion()
public boolean isTagged()
public ASN1Encodable getInfo()
public ASN1Primitive toASN1Primitive()
RecipientInfo ::= CHOICE { ktri KeyTransRecipientInfo, kari [1] KeyAgreeRecipientInfo, kekri [2] KEKRecipientInfo, pwri [3] PasswordRecipientInfo, ori [4] OtherRecipientInfo }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object