Bouncy Castle Cryptography Library 1.37

org.bouncycastle.asn1.ocsp
Class OCSPResponse

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Encodable
      extended by org.bouncycastle.asn1.ocsp.OCSPResponse
All Implemented Interfaces:
DEREncodable

public class OCSPResponse
extends ASN1Encodable


Field Summary
 
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
OCSPResponse(ASN1Sequence seq)
           
OCSPResponse(OCSPResponseStatus responseStatus, ResponseBytes responseBytes)
           
 
Method Summary
static OCSPResponse getInstance(ASN1TaggedObject obj, boolean explicit)
           
static OCSPResponse getInstance(java.lang.Object obj)
           
 ResponseBytes getResponseBytes()
           
 OCSPResponseStatus getResponseStatus()
           
 DERObject toASN1Object()
          Produce an object suitable for an ASN1OutputStream.
 
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCSPResponse

public OCSPResponse(OCSPResponseStatus responseStatus,
                    ResponseBytes responseBytes)

OCSPResponse

public OCSPResponse(ASN1Sequence seq)
Method Detail

getInstance

public static OCSPResponse getInstance(ASN1TaggedObject obj,
                                       boolean explicit)

getInstance

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

getResponseStatus

public OCSPResponseStatus getResponseStatus()

getResponseBytes

public ResponseBytes getResponseBytes()

toASN1Object

public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
 OCSPResponse ::= SEQUENCE {
     responseStatus         OCSPResponseStatus,
     responseBytes          [0] EXPLICIT ResponseBytes OPTIONAL }
 

Specified by:
toASN1Object in class ASN1Encodable

Bouncy Castle Cryptography Library 1.37