public class ResponderID extends ASN1Object implements ASN1Choice
Constructor and Description |
---|
ResponderID(ASN1OctetString value) |
ResponderID(X500Name value) |
Modifier and Type | Method and Description |
---|---|
static ResponderID |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static ResponderID |
getInstance(java.lang.Object obj) |
byte[] |
getKeyHash() |
X500Name |
getName() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public ResponderID(ASN1OctetString value)
public ResponderID(X500Name value)
public static ResponderID getInstance(java.lang.Object obj)
public static ResponderID getInstance(ASN1TaggedObject obj, boolean explicit)
public byte[] getKeyHash()
public X500Name getName()
public ASN1Primitive toASN1Primitive()
ResponderID ::= CHOICE { byName [1] Name, byKey [2] KeyHash }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object