public class

RecipientIdentifier

extends ASN1Encodable
implements ASN1Choice
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.cms.RecipientIdentifier

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
RecipientIdentifier(IssuerAndSerialNumber id)
RecipientIdentifier(ASN1OctetString id)
RecipientIdentifier(DERObject id)
Public Methods
DEREncodable getId()
static RecipientIdentifier getInstance(Object o)
return a RecipientIdentifier object from the given object.
boolean isTagged()
DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public RecipientIdentifier (IssuerAndSerialNumber id)

public RecipientIdentifier (ASN1OctetString id)

public RecipientIdentifier (DERObject id)

Public Methods

public DEREncodable getId ()

public static RecipientIdentifier getInstance (Object o)

return a RecipientIdentifier object from the given object.

Parameters
o the object we want converted.
Throws
IllegalArgumentException if the object cannot be converted.

public boolean isTagged ()

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

 RecipientIdentifier ::= CHOICE {
     issuerAndSerialNumber IssuerAndSerialNumber,
     subjectKeyIdentifier [0] SubjectKeyIdentifier 
 }

 SubjectKeyIdentifier ::= OCTET STRING