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.IOException
public OCSPResp(java.io.InputStream resp) throws java.io.IOException
java.io.IOException
public int getStatus()
public java.lang.Object getResponseObject() throws OCSPException
OCSPException
public byte[] getEncoded() throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public org.bouncycastle.asn1.ocsp.OCSPResponse toASN1Structure()