Bouncy Castle Cryptography Library 1.79

org.bouncycastle.cert.ocsp
Class OCSPResp

java.lang.Object
  |
  +--org.bouncycastle.cert.ocsp.OCSPResp

public class OCSPResp
extends java.lang.Object


Field Summary
static int INTERNAL_ERROR
           
static int MALFORMED_REQUEST
           
static int SIG_REQUIRED
           
static int SUCCESSFUL
           
static int TRY_LATER
           
static int UNAUTHORIZED
           
 
Constructor Summary
OCSPResp(byte[] resp)
           
OCSPResp(java.io.InputStream resp)
           
OCSPResp(org.bouncycastle.asn1.ocsp.OCSPResponse resp)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 byte[] getEncoded()
          return the ASN.1 encoded representation of this object.
 java.lang.Object getResponseObject()
           
 int getStatus()
           
 int hashCode()
           
 org.bouncycastle.asn1.ocsp.OCSPResponse toASN1Structure()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUCCESSFUL

public static final int SUCCESSFUL

MALFORMED_REQUEST

public static final int MALFORMED_REQUEST

INTERNAL_ERROR

public static final int INTERNAL_ERROR

TRY_LATER

public static final int TRY_LATER

SIG_REQUIRED

public static final int SIG_REQUIRED

UNAUTHORIZED

public static final int UNAUTHORIZED
Constructor Detail

OCSPResp

public OCSPResp(org.bouncycastle.asn1.ocsp.OCSPResponse resp)

OCSPResp

public OCSPResp(byte[] resp)
         throws java.io.IOException

OCSPResp

public OCSPResp(java.io.InputStream resp)
         throws java.io.IOException
Method Detail

getStatus

public int getStatus()

getResponseObject

public java.lang.Object getResponseObject()
                                   throws OCSPException

getEncoded

public byte[] getEncoded()
                  throws java.io.IOException
return the ASN.1 encoded representation of this object.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toASN1Structure

public org.bouncycastle.asn1.ocsp.OCSPResponse toASN1Structure()

Bouncy Castle Cryptography Library 1.79