public class RecipientIdentifier
extends org.bouncycastle.asn1.ASN1Object
implements org.bouncycastle.asn1.ASN1Choice
RecipientIdentifier ::= CHOICE {
issuerAndSerialNumber IssuerAndSerialNumber,
subjectKeyIdentifier [0] SubjectKeyIdentifier
}
SubjectKeyIdentifier ::= OCTET STRING
| Constructor and Description |
|---|
RecipientIdentifier(org.bouncycastle.asn1.ASN1OctetString id) |
RecipientIdentifier(org.bouncycastle.asn1.ASN1Primitive id) |
RecipientIdentifier(IssuerAndSerialNumber id) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.ASN1Encodable |
getId() |
static RecipientIdentifier |
getInstance(java.lang.Object o)
Return a RecipientIdentifier object from the given object.
|
boolean |
isTagged() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
public RecipientIdentifier(IssuerAndSerialNumber id)
public RecipientIdentifier(org.bouncycastle.asn1.ASN1OctetString id)
public RecipientIdentifier(org.bouncycastle.asn1.ASN1Primitive id)
public static RecipientIdentifier getInstance(java.lang.Object o)
Accepted inputs:
RecipientIdentifier object
IssuerAndSerialNumber object
ASN1OctetString input formats (OctetString, byte[]) with value of KeyIdentifier in DER form
ASN1Primitive for RecipientIdentifier constructor
o - the object we want converted.java.lang.IllegalArgumentException - if the object cannot be converted.public boolean isTagged()
public org.bouncycastle.asn1.ASN1Encodable getId()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive in interface org.bouncycastle.asn1.ASN1EncodabletoASN1Primitive in class org.bouncycastle.asn1.ASN1Object