public class RecipientIdentifier extends ASN1Object implements ASN1Choice
Constructor and Description |
---|
RecipientIdentifier(ASN1OctetString id) |
RecipientIdentifier(ASN1Primitive id) |
RecipientIdentifier(IssuerAndSerialNumber id) |
Modifier and Type | Method and Description |
---|---|
ASN1Encodable |
getId() |
static RecipientIdentifier |
getInstance(java.lang.Object o)
return a RecipientIdentifier object from the given object.
|
boolean |
isTagged() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public RecipientIdentifier(IssuerAndSerialNumber id)
public RecipientIdentifier(ASN1OctetString id)
public RecipientIdentifier(ASN1Primitive 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 ASN1Encodable getId()
public ASN1Primitive toASN1Primitive()
RecipientIdentifier ::= CHOICE { issuerAndSerialNumber IssuerAndSerialNumber, subjectKeyIdentifier [0] SubjectKeyIdentifier } SubjectKeyIdentifier ::= OCTET STRING
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object