public class

RecipientKeyIdentifier

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.cms.RecipientKeyIdentifier

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
RecipientKeyIdentifier(ASN1OctetString subjectKeyIdentifier, DERGeneralizedTime date, OtherKeyAttribute other)
RecipientKeyIdentifier(byte[] subjectKeyIdentifier, DERGeneralizedTime date, OtherKeyAttribute other)
RecipientKeyIdentifier(byte[] subjectKeyIdentifier)
RecipientKeyIdentifier(ASN1Sequence seq)
Public Methods
DERGeneralizedTime getDate()
static RecipientKeyIdentifier getInstance(ASN1TaggedObject _ato, boolean _explicit)
return a RecipientKeyIdentifier object from a tagged object.
static RecipientKeyIdentifier getInstance(Object _obj)
return a RecipientKeyIdentifier object from the given object.
OtherKeyAttribute getOtherKeyAttribute()
ASN1OctetString getSubjectKeyIdentifier()
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 RecipientKeyIdentifier (ASN1OctetString subjectKeyIdentifier, DERGeneralizedTime date, OtherKeyAttribute other)

public RecipientKeyIdentifier (byte[] subjectKeyIdentifier, DERGeneralizedTime date, OtherKeyAttribute other)

public RecipientKeyIdentifier (byte[] subjectKeyIdentifier)

public RecipientKeyIdentifier (ASN1Sequence seq)

Public Methods

public DERGeneralizedTime getDate ()

public static RecipientKeyIdentifier getInstance (ASN1TaggedObject _ato, boolean _explicit)

return a RecipientKeyIdentifier object from a tagged object.

Parameters
_ato the tagged object holding the object we want.
_explicit true if the object is meant to be explicitly tagged false otherwise.
Throws
IllegalArgumentException if the object held by the tagged object cannot be converted.

public static RecipientKeyIdentifier getInstance (Object _obj)

return a RecipientKeyIdentifier object from the given object.

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

public OtherKeyAttribute getOtherKeyAttribute ()

public ASN1OctetString getSubjectKeyIdentifier ()

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

 RecipientKeyIdentifier ::= SEQUENCE {
     subjectKeyIdentifier SubjectKeyIdentifier,
     date GeneralizedTime OPTIONAL,
     other OtherKeyAttribute OPTIONAL 
 }

 SubjectKeyIdentifier ::= OCTET STRING