Class CertificateCacheKey


  • public class CertificateCacheKey
    extends java.lang.Object

    Class that represents each key of the certificates validation responses cache.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.0, 04/02/2014.
    • Constructor Summary

      Constructors 
      Constructor Description
      CertificateCacheKey​(java.lang.String issuerParam, java.math.BigInteger serialNumberParam, java.lang.String requestTypeParam)
      Constructor method for the class CertificateCacheKey.java.
    • Constructor Detail

      • CertificateCacheKey

        public CertificateCacheKey​(java.lang.String issuerParam,
                                   java.math.BigInteger serialNumberParam,
                                   java.lang.String requestTypeParam)
        Constructor method for the class CertificateCacheKey.java.
        Parameters:
        issuerParam - Parameter that represents the issuer of the certificate.
        serialNumberParam - Parameter that represents the serial number of the certificate.
        requestTypeParam - Parameter that represents the type of the request to @Firma.
    • Method Detail

      • getIssuer

        public final java.lang.String getIssuer()
        Gets the value of the attribute issuer.
        Returns:
        the value of the attribute issuer.
      • setIssuer

        public final void setIssuer​(java.lang.String issuerParam)
        Sets the value of the attribute issuer.
        Parameters:
        issuerParam - The value for the attribute issuer.
      • getSerialNumber

        public final java.math.BigInteger getSerialNumber()
        Gets the value of the attribute serialNumber.
        Returns:
        the value of the attribute serialNumber.
      • setSerialNumber

        public final void setSerialNumber​(java.math.BigInteger serialNumberParam)
        Sets the value of the attribute serialNumber.
        Parameters:
        serialNumberParam - The value for the attribute serialNumber.
      • getRequestType

        public final java.lang.String getRequestType()
        Gets the value of the attribute requestType.
        Returns:
        the value of the attribute requestType.
      • setRequestType

        public final void setRequestType​(java.lang.String requestTypeParam)
        Sets the value of the attribute requestType.
        Parameters:
        requestTypeParam - The value for the attribute requestType.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • equals

        public final boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)