com.digt.trusted.asn1.ocsp
Class ResponderID

java.lang.Object
  extended by com.digt.trusted.asn1.ASN1Encodable
      extended by com.digt.trusted.asn1.ocsp.ResponderID
All Implemented Interfaces:
DEREncodable

public class ResponderID
extends ASN1Encodable


Constructor Summary
ResponderID(ASN1OctetString value)
           
ResponderID(X509Name value)
           
 
Method Summary
static ResponderID getInstance(java.lang.Object obj)
           
 DERObject toASN1Object()
          Produce an object suitable for an ASN1OutputStream.
 
Methods inherited from class com.digt.trusted.asn1.ASN1Encodable
equals, getDERObject, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponderID

public ResponderID(ASN1OctetString value)

ResponderID

public ResponderID(X509Name value)
Method Detail

getInstance

public static ResponderID getInstance(java.lang.Object obj)

toASN1Object

public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
 ResponderID ::= CHOICE {
      byName          [1] Name,
      byKey           [2] KeyHash }
 

Specified by:
toASN1Object in class ASN1Encodable