public static class PKCS7SignatureHandler.OCSPResponse extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PKCS7SignatureHandler.OCSPResponse.SingleResponse
Represents a SingleResponse item from the OCSP response
|
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_INTERNAL_ERROR
A return value from
getStatus() indicating that the OCSP check failed due to server error. |
static int |
STATUS_MALFORMED_REQUEST
A return value from
getStatus() indicating that the OCSP check failed due to client error. |
static int |
STATUS_SIG_REQUIRED
A return value from
getStatus() indicating that the OCSP check required missing signature
information. |
static int |
STATUS_SUCCESSFUL
A return value from
getStatus() indicating that the OCSP check was successful. |
static int |
STATUS_TRY_LATER
A return value from
getStatus() indicating that the OCSP check could not be performed at the
specified time. |
static int |
STATUS_UNAUTHORIZED
A return value from
getStatus() indicates that the client was not authorized to perform this
check. |
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncoded()
Return the DER encoded version of this object
|
Calendar |
getProducedAt()
Returns the time at which this OCSP response was emitted.
|
List<PKCS7SignatureHandler.OCSPResponse.SingleResponse> |
getResponses()
Returns a list of the individual certificate status responses in
this OCSP response.
|
byte[] |
getSignature()
Returns the raw bytes of the digital signature.
|
int |
getStatus()
Returns the response status.
|
String |
toString() |
public static final int STATUS_SUCCESSFUL
getStatus()
indicating that the OCSP check was successful.public static final int STATUS_MALFORMED_REQUEST
getStatus()
indicating that the OCSP check failed due to client error.public static final int STATUS_INTERNAL_ERROR
getStatus()
indicating that the OCSP check failed due to server error.public static final int STATUS_TRY_LATER
getStatus()
indicating that the OCSP check could not be performed at the
specified time.public static final int STATUS_SIG_REQUIRED
getStatus()
indicating that the OCSP check required missing signature
information.public static final int STATUS_UNAUTHORIZED
getStatus()
indicates that the client was not authorized to perform this
check.public byte[] getEncoded()
public int getStatus()
public byte[] getSignature()
public Calendar getProducedAt()
public List<PKCS7SignatureHandler.OCSPResponse.SingleResponse> getResponses()
Copyright © 2001-2017 Big Faceless Organization