Package org.bouncycastle.cert.ocsp
Class OCSPResp
java.lang.Object
org.bouncycastle.cert.ocsp.OCSPResp
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionOCSPResp
(byte[] resp) OCSPResp
(InputStream resp) OCSPResp
(org.bouncycastle.asn1.ocsp.OCSPResponse resp) -
Method Summary
Modifier and TypeMethodDescriptionboolean
byte[]
return the ASN.1 encoded representation of this object.int
int
hashCode()
org.bouncycastle.asn1.ocsp.OCSPResponse
-
Field Details
-
SUCCESSFUL
public static final int SUCCESSFUL- See Also:
-
MALFORMED_REQUEST
public static final int MALFORMED_REQUEST- See Also:
-
INTERNAL_ERROR
public static final int INTERNAL_ERROR- See Also:
-
TRY_LATER
public static final int TRY_LATER- See Also:
-
SIG_REQUIRED
public static final int SIG_REQUIRED- See Also:
-
UNAUTHORIZED
public static final int UNAUTHORIZED- See Also:
-
-
Constructor Details
-
OCSPResp
public OCSPResp(org.bouncycastle.asn1.ocsp.OCSPResponse resp) -
OCSPResp
- Throws:
IOException
-
OCSPResp
- Throws:
IOException
-
-
Method Details
-
getStatus
public int getStatus() -
getResponseObject
- Throws:
OCSPException
-
getEncoded
return the ASN.1 encoded representation of this object.- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toASN1Structure
public org.bouncycastle.asn1.ocsp.OCSPResponse toASN1Structure()
-