public class RecipientIdentifier extends ASN1Encodable
| Modifier and Type | Field and Description |
|---|---|
private DEREncodable |
id |
BER, DER| Constructor and Description |
|---|
RecipientIdentifier(ASN1OctetString id) |
RecipientIdentifier(DERObject id) |
RecipientIdentifier(IssuerAndSerialNumber id) |
| Modifier and Type | Method and Description |
|---|---|
DEREncodable |
getId() |
static RecipientIdentifier |
getInstance(java.lang.Object o)
return a RecipientIdentifier object from the given object.
|
boolean |
isTagged() |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodeprivate DEREncodable id
public RecipientIdentifier(IssuerAndSerialNumber id)
public RecipientIdentifier(ASN1OctetString id)
public RecipientIdentifier(DERObject id)
public static RecipientIdentifier getInstance(java.lang.Object o)
o - the object we want converted.java.lang.IllegalArgumentException - if the object cannot be converted.public boolean isTagged()
public DEREncodable getId()
public DERObject toASN1Object()
RecipientIdentifier ::= CHOICE {
issuerAndSerialNumber IssuerAndSerialNumber,
subjectKeyIdentifier [0] SubjectKeyIdentifier
}
SubjectKeyIdentifier ::= OCTET STRING
toASN1Object in class ASN1EncodableCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.