public class KeyAgreeRecipientIdentifier extends ASN1Encodable
Modifier and Type | Field and Description |
---|---|
private IssuerAndSerialNumber |
issuerSerial |
private RecipientKeyIdentifier |
rKeyID |
BER, DER
Modifier | Constructor and Description |
---|---|
private |
KeyAgreeRecipientIdentifier(ASN1Sequence seq) |
|
KeyAgreeRecipientIdentifier(IssuerAndSerialNumber issuerSerial) |
Modifier and Type | Method and Description |
---|---|
static KeyAgreeRecipientIdentifier |
getInstance(ASN1TaggedObject obj,
boolean explicit)
return an KeyAgreeRecipientIdentifier object from a tagged object.
|
static KeyAgreeRecipientIdentifier |
getInstance(java.lang.Object obj)
return an KeyAgreeRecipientIdentifier object from the given object.
|
IssuerAndSerialNumber |
getIssuerAndSerialNumber() |
RecipientKeyIdentifier |
getRKeyID() |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
private IssuerAndSerialNumber issuerSerial
private RecipientKeyIdentifier rKeyID
private KeyAgreeRecipientIdentifier(ASN1Sequence seq)
public KeyAgreeRecipientIdentifier(IssuerAndSerialNumber issuerSerial)
public static KeyAgreeRecipientIdentifier getInstance(ASN1TaggedObject obj, boolean explicit)
obj
- the tagged object holding the object we want.explicit
- true if the object is meant to be explicitly
tagged false otherwise.java.lang.IllegalArgumentException
- if the object held by the
tagged object cannot be converted.public static KeyAgreeRecipientIdentifier getInstance(java.lang.Object obj)
obj
- the object we want converted.java.lang.IllegalArgumentException
- if the object cannot be converted.public IssuerAndSerialNumber getIssuerAndSerialNumber()
public RecipientKeyIdentifier getRKeyID()
public DERObject toASN1Object()
KeyAgreeRecipientIdentifier ::= CHOICE { issuerAndSerialNumber IssuerAndSerialNumber, rKeyId [0] IMPLICIT RecipientKeyIdentifier }
toASN1Object
in class ASN1Encodable
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.