Class ResponseValidateOCSP


  • public class ResponseValidateOCSP
    extends java.lang.Object

    Class 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 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 attribute maxAge.
        Returns:
        the value of the attribute maxAge.
      • setMaxAge

        public final void setMaxAge​(java.util.Date maxAgeParam)
        Sets the value of the attribute maxAge.
        Parameters:
        maxAgeParam - The value for the attribute maxAge.
      • getStatus

        public final int getStatus()
        Gets the value of the attribute status.
        Returns:
        the value of the attribute status.
      • setStatus

        public final void setStatus​(int statusParam)
        Sets the value of the attribute status.
        Parameters:
        statusParam - The value for the attribute status.
      • getRevocationDate

        public final java.util.Date getRevocationDate()
        Gets the value of the attribute revocationDate.
        Returns:
        the value of the attribute revocationDate.
      • setRevocationDate

        public final void setRevocationDate​(java.util.Date revocationDateParam)
        Sets the value of the attribute revocationDate.
        Parameters:
        revocationDateParam - The value for the attribute revocationDate.
      • getErrorMsg

        public final java.lang.String getErrorMsg()
        Gets the value of the attribute errorMsg.
        Returns:
        the value of the attribute errorMsg.
      • setErrorMsg

        public final void setErrorMsg​(java.lang.String errorMsgParam)
        Sets the value of the attribute errorMsg.
        Parameters:
        errorMsgParam - The value for the attribute errorMsg.
      • isIntegraSuccess

        public final boolean isIntegraSuccess()
        Gets the value of the attribute integraSuccess.
        Returns:
        the value of the attribute integraSuccess.
      • setIntegraSuccess

        public final void setIntegraSuccess​(boolean integraSuccessParam)
        Sets the value of the attribute integraSuccess.
        Parameters:
        integraSuccessParam - The value for the attribute integraSuccess.
      • getIntegraErrorMsg

        public final java.lang.String getIntegraErrorMsg()
        Gets the value of the attribute integraErrorMsg.
        Returns:
        the value of the attribute integraErrorMsg.
      • setIntegraErrorMsg

        public final void setIntegraErrorMsg​(java.lang.String integraErrorMsgParam)
        Sets the value of the attribute integraErrorMsg.
        Parameters:
        integraErrorMsgParam - The value for the attribute integraErrorMsg.