org.bouncycastle.cert.ocsp
Class OCSPResp
java.lang.Object
org.bouncycastle.cert.ocsp.OCSPResp
- public class OCSPResp
- extends java.lang.Object
Constructor Summary |
OCSPResp(byte[] resp)
|
OCSPResp(java.io.InputStream resp)
|
OCSPResp(org.bouncycastle.asn1.ocsp.OCSPResponse resp)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SUCCESSFUL
public static final int SUCCESSFUL
- See Also:
- Constant Field Values
MALFORMED_REQUEST
public static final int MALFORMED_REQUEST
- See Also:
- Constant Field Values
INTERNAL_ERROR
public static final int INTERNAL_ERROR
- See Also:
- Constant Field Values
TRY_LATER
public static final int TRY_LATER
- See Also:
- Constant Field Values
SIG_REQUIRED
public static final int SIG_REQUIRED
- See Also:
- Constant Field Values
UNAUTHORIZED
public static final int UNAUTHORIZED
- See Also:
- Constant Field Values
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
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
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
toASN1Structure
public org.bouncycastle.asn1.ocsp.OCSPResponse toASN1Structure()