public class OCSPEnhancedResponse
extends java.lang.Object
implements java.io.Serializable
Class that represents an OCSP response with the date when the cached OCSP response expires, as defined on the lightweight profile recommendations defined in the RFC 5019.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_INTERNAL_ERROR
Constant attribute that identifies the OCSP response status:
Internal error in issuer. |
static int |
STATUS_MALFORMED_REQUEST
Constant attribute that identifies the OCSP response status:
Illegal confirmation request. |
static int |
STATUS_SIGREQUIRED
Constant attribute that identifies the OCSP response status:
Must sign the request. |
static int |
STATUS_SUCCESSFUL
Constant attribute that identifies the OCSP response status:
Response has valid confirmations. |
static int |
STATUS_TRY_LATER
Constant attribute that identifies the OCSP response status:
Try again later. |
static int |
STATUS_UNAUTHORIZED
Constant attribute that identifies the OCSP response status:
Request unauthorized. |
| Constructor and Description |
|---|
OCSPEnhancedResponse() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorMsg()
Gets the value of the attribute
errorMsg. |
java.util.Date |
getMaxAge()
Gets the value of the attribute
maxAge. |
java.util.Date |
getRevocationDate()
Gets the value of the attribute
revocationDate. |
int |
getStatus()
Gets the value of the attribute
status. |
void |
setErrorMsg(java.lang.String errorMsgParam)
Sets the value of the attribute
errorMsg. |
void |
setMaxAge(java.util.Date maxAgeParam)
Sets the value of the attribute
maxAge. |
void |
setRevocationDate(java.util.Date revocationDateParam)
Sets the value of the attribute
revocationDate. |
void |
setStatus(int statusParam)
Sets the value of the attribute
status. |
public static final int STATUS_SUCCESSFUL
Response has valid confirmations.public static final int STATUS_MALFORMED_REQUEST
Illegal confirmation request.public static final int STATUS_INTERNAL_ERROR
Internal error in issuer.public static final int STATUS_TRY_LATER
Try again later.public static final int STATUS_SIGREQUIRED
Must sign the request.public static final int STATUS_UNAUTHORIZED
Request unauthorized.public final java.util.Date getMaxAge()
maxAge.maxAge.public final void setMaxAge(java.util.Date maxAgeParam)
maxAge.maxAgeParam - The value for the attribute maxAge.public final int getStatus()
status.status.public final void setStatus(int statusParam)
status.statusParam - The value for the attribute status.public final java.util.Date getRevocationDate()
revocationDate.revocationDate.public final void setRevocationDate(java.util.Date revocationDateParam)
revocationDate.revocationDateParam - The value for the attribute revocationDate.public final java.lang.String getErrorMsg()
errorMsg.errorMsg.