public class RecipientIdentifier extends ASN1Encodable implements ASN1Choice
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(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, hashCode
public RecipientIdentifier(IssuerAndSerialNumber id)
public RecipientIdentifier(ASN1OctetString id)
public RecipientIdentifier(DERObject id)
public static RecipientIdentifier getInstance(Object o)
o
- the object we want converted.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 ASN1Encodable
Copyright © 2015. All rights reserved.