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