Package es.gob.afirma.integraws.beans
Class ResponseValidateOCSP
- java.lang.Object
-
- es.gob.afirma.integraws.beans.ResponseValidateOCSP
-
public class ResponseValidateOCSP extends java.lang.ObjectClass that represents the response object for validate ocsp service.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 12/5/2016.
-
-
Constructor Summary
Constructors Constructor Description ResponseValidateOCSP()Constructor method for the class ResponseValidateOCSP.java.ResponseValidateOCSP(boolean result, java.lang.String message)Constructor method for the class ResponseValidateOCSP.java.ResponseValidateOCSP(int statusParam, java.lang.String errorMsgParam, java.util.Date revocationDateParam, java.util.Date maxAgeParam, boolean result)Constructor method for the class ResponseValidateOCSP.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetErrorMsg()Gets the value of the attributeerrorMsg.java.lang.StringgetIntegraErrorMsg()Gets the value of the attributeintegraErrorMsg.java.util.DategetMaxAge()Gets the value of the attributemaxAge.java.util.DategetRevocationDate()Gets the value of the attributerevocationDate.intgetStatus()Gets the value of the attributestatus.booleanisIntegraSuccess()Gets the value of the attributeintegraSuccess.voidsetErrorMsg(java.lang.String errorMsgParam)Sets the value of the attributeerrorMsg.voidsetIntegraErrorMsg(java.lang.String integraErrorMsgParam)Sets the value of the attributeintegraErrorMsg.voidsetIntegraSuccess(boolean integraSuccessParam)Sets the value of the attributeintegraSuccess.voidsetMaxAge(java.util.Date maxAgeParam)Sets the value of the attributemaxAge.voidsetRevocationDate(java.util.Date revocationDateParam)Sets the value of the attributerevocationDate.voidsetStatus(int statusParam)Sets the value of the attributestatus.
-
-
-
Constructor Detail
-
ResponseValidateOCSP
public ResponseValidateOCSP()
Constructor method for the class ResponseValidateOCSP.java.
-
ResponseValidateOCSP
public ResponseValidateOCSP(int statusParam, java.lang.String errorMsgParam, java.util.Date revocationDateParam, java.util.Date maxAgeParam, boolean result)Constructor method for the class ResponseValidateOCSP.java.- Parameters:
statusParam- statusParam value.errorMsgParam- errorMsgParam value.revocationDateParam- revocationDateParam value.maxAgeParam- maxAgeParam value.result- result value.
-
ResponseValidateOCSP
public ResponseValidateOCSP(boolean result, java.lang.String message)Constructor method for the class ResponseValidateOCSP.java.- Parameters:
result- result value.message- message value.
-
-
Method Detail
-
getMaxAge
public final java.util.Date getMaxAge()
Gets the value of the attributemaxAge.- Returns:
- the value of the attribute
maxAge.
-
setMaxAge
public final void setMaxAge(java.util.Date maxAgeParam)
Sets the value of the attributemaxAge.- Parameters:
maxAgeParam- The value for the attributemaxAge.
-
getStatus
public final int getStatus()
Gets the value of the attributestatus.- Returns:
- the value of the attribute
status.
-
setStatus
public final void setStatus(int statusParam)
Sets the value of the attributestatus.- Parameters:
statusParam- The value for the attributestatus.
-
getRevocationDate
public final java.util.Date getRevocationDate()
Gets the value of the attributerevocationDate.- Returns:
- the value of the attribute
revocationDate.
-
setRevocationDate
public final void setRevocationDate(java.util.Date revocationDateParam)
Sets the value of the attributerevocationDate.- Parameters:
revocationDateParam- The value for the attributerevocationDate.
-
getErrorMsg
public final java.lang.String getErrorMsg()
Gets the value of the attributeerrorMsg.- Returns:
- the value of the attribute
errorMsg.
-
setErrorMsg
public final void setErrorMsg(java.lang.String errorMsgParam)
Sets the value of the attributeerrorMsg.- Parameters:
errorMsgParam- The value for the attributeerrorMsg.
-
isIntegraSuccess
public final boolean isIntegraSuccess()
Gets the value of the attributeintegraSuccess.- Returns:
- the value of the attribute
integraSuccess.
-
setIntegraSuccess
public final void setIntegraSuccess(boolean integraSuccessParam)
Sets the value of the attributeintegraSuccess.- Parameters:
integraSuccessParam- The value for the attributeintegraSuccess.
-
getIntegraErrorMsg
public final java.lang.String getIntegraErrorMsg()
Gets the value of the attributeintegraErrorMsg.- Returns:
- the value of the attribute
integraErrorMsg.
-
setIntegraErrorMsg
public final void setIntegraErrorMsg(java.lang.String integraErrorMsgParam)
Sets the value of the attributeintegraErrorMsg.- Parameters:
integraErrorMsgParam- The value for the attributeintegraErrorMsg.
-
-