|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cms.RecipientInfo
RFC 5652: Content encryption key delivery mechanisms.
RecipientInfo ::= CHOICE { ktri KeyTransRecipientInfo, kari [1] KeyAgreeRecipientInfo, kekri [2] KEKRecipientInfo, pwri [3] PasswordRecipientInfo, ori [4] OtherRecipientInfo }
| 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)
Return a RecipientInfo object from the given object. |
ASN1Integer |
getVersion()
Deprecated. Will be removed |
boolean |
isTagged()
|
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. |
| Methods inherited from class org.bouncycastle.asn1.ASN1Object |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RecipientInfo(KeyTransRecipientInfo info)
public RecipientInfo(KeyAgreeRecipientInfo info)
public RecipientInfo(KEKRecipientInfo info)
public RecipientInfo(PasswordRecipientInfo info)
public RecipientInfo(OtherRecipientInfo info)
public RecipientInfo(ASN1Primitive info)
| Method Detail |
public static RecipientInfo getInstance(java.lang.Object o)
Accepted inputs:
null → null
RecipientInfo object
ASN1Sequence input formats with RecipientInfo structure inside
ASN1TaggedObject input formats with RecipientInfo structure inside
o - the object we want converted.
java.lang.IllegalArgumentException - if the object cannot be converted.public ASN1Integer getVersion()
public boolean isTagged()
public ASN1Encodable getInfo()
public ASN1Primitive toASN1Primitive()
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object
|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||