Package org.bouncycastle.asn1.ocsp
Class ResponderID
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ocsp.ResponderID
- All Implemented Interfaces:
ASN1Choice,ASN1Encodable,Encodable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResponderIDgetInstance(Object obj) static ResponderIDgetInstance(ASN1TaggedObject obj, boolean explicit) byte[]getName()Produce an object suitable for an ASN1OutputStream.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
ResponderID
-
ResponderID
-
-
Method Details
-
getInstance
-
getInstance
-
getKeyHash
public byte[] getKeyHash() -
getName
-
toASN1Primitive
Produce an object suitable for an ASN1OutputStream.ResponderID ::= CHOICE { byName [1] Name, byKey [2] KeyHash }- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-