com.digt.trusted.ocsp
Class OCSPResp

java.lang.Object
  extended by com.digt.trusted.ocsp.OCSPResp

public class OCSPResp
extends java.lang.Object


Constructor Summary
OCSPResp(byte[] resp)
           
OCSPResp(java.io.InputStream in)
           
OCSPResp(OCSPResponse resp)
           
 
Method Summary
 byte[] getEncoded()
          return the ASN.1 encoded representation of this object.
 java.lang.Object getResponseObject()
           
 int getStatus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCSPResp

public OCSPResp(OCSPResponse resp)

OCSPResp

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

OCSPResp

public OCSPResp(java.io.InputStream in)
         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getStatus

public int getStatus()

getResponseObject

public java.lang.Object getResponseObject()
                                   throws OCSPException
Throws:
OCSPException

getEncoded

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

Throws:
java.io.IOException