org.bouncycastle.asn1.cms
public class RecipientKeyIdentifier extends ASN1Encodable
| Constructor Summary | |
|---|---|
| RecipientKeyIdentifier(ASN1OctetString subjectKeyIdentifier, DERGeneralizedTime date, OtherKeyAttribute other) | |
| RecipientKeyIdentifier(ASN1Sequence seq) | |
| Method Summary | |
|---|---|
| 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.
|
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.
Parameters: _obj the object we want converted.
Throws: IllegalArgumentException if the object cannot be converted.
RecipientKeyIdentifier ::= SEQUENCE {
subjectKeyIdentifier SubjectKeyIdentifier,
date GeneralizedTime OPTIONAL,
other OtherKeyAttribute OPTIONAL
}
SubjectKeyIdentifier ::= OCTET STRING