public class OCSPResp
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INTERNAL_ERROR |
static int |
MALFORMED_REQUEST |
static int |
SIG_REQUIRED |
static int |
SUCCESSFUL |
static int |
TRY_LATER |
static int |
UNAUTHORIZED |
| Constructor and Description |
|---|
OCSPResp(byte[] resp) |
OCSPResp(java.io.InputStream resp) |
OCSPResp(org.bouncycastle.asn1.ocsp.OCSPResponse resp) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public static final int SUCCESSFUL
public static final int MALFORMED_REQUEST
public static final int INTERNAL_ERROR
public static final int TRY_LATER
public static final int SIG_REQUIRED
public static final int UNAUTHORIZED
public OCSPResp(org.bouncycastle.asn1.ocsp.OCSPResponse resp)
public OCSPResp(byte[] resp)
throws java.io.IOException
java.io.IOExceptionpublic OCSPResp(java.io.InputStream resp)
throws java.io.IOException
java.io.IOExceptionpublic int getStatus()
public java.lang.Object getResponseObject()
throws OCSPException
OCSPExceptionpublic byte[] getEncoded()
throws java.io.IOException
java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic org.bouncycastle.asn1.ocsp.OCSPResponse toASN1Structure()