Class TSLProperties


  • public final class TSLProperties
    extends java.lang.Object

    Class that provides access to the differents properties associated to the TSL operations.

    Project:

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

    Version:
    1.1, 18/04/2022.
    • Method Detail

      • isRequiredToCheckTslSignatureStructure

        public static boolean isRequiredToCheckTslSignatureStructure()
        Checks if it is necessary to check the structure of the TSL signature.
        Returns:
        true if it is necessary to check the structure of the TSL signature, otherwise false.
      • isRequiredToCheckTslSignatureByItsSpecification

        public static boolean isRequiredToCheckTslSignatureByItsSpecification()
        Checks if it is necessary to check the TSL signature by its specification.
        Returns:
        true if it is necessary to check the TSL signature by its specification, otherwise false.
      • getOcspReadTimeout

        public static int getOcspReadTimeout()
        Gets the OCSP Read Timeout for TSL operations.
        Returns:
        The OCSP Read Timeout for TSL operations in milliseconds.
      • getOcspConnectionTimeout

        public static int getOcspConnectionTimeout()
        Gets the OCSP Connection Timeout for TSL operations.
        Returns:
        The OCSP Connection Timeout for TSL operations in milliseconds.
      • getOcspTimeIntervalAllowed

        public static int getOcspTimeIntervalAllowed()
        Gets the OCSP Time Interval Allowed for TSL operations.
        Returns:
        The OCSP Time Interval Allowed for TSL operations in milliseconds.
      • getCrlTimeoutRead

        public static int getCrlTimeoutRead()
        Gets the CRL Timeout Read for TSL operations.
        Returns:
        The CRL Timeout Read for TSL operations in milliseconds.
      • getCrlTimeoutConnection

        public static int getCrlTimeoutConnection()
        Gets the CRL Timeout Connection for TSL operations.
        Returns:
        The CRL Timeout Connection for TSL operations in milliseconds.
      • getInitialDate

        public static java.util.Date getInitialDate()
        Gets the initial date from which is allowed use TSL to detect and validate certificate.
        Returns:
        the initial date from which is allowed use TSL to detect and validate certificate.
      • getClassificationSetForCertClassificationNaturalPerson

        public static java.util.Set<java.lang.Integer> getClassificationSetForCertClassificationNaturalPerson()
        Gets the set of values from the logical field 'clasificacion' associated to the logical field 'certClassification' for the mapping NATURAL_PERSON.
        Returns:
        Set of values from the logical field 'clasificacion' associated to the logical field 'certClassification' for the mapping NATURAL_PERSON.
      • getClassificationSetForCertClassificationLegalPerson

        public static java.util.Set<java.lang.Integer> getClassificationSetForCertClassificationLegalPerson()
        Gets the set of values from the logical field 'clasificacion' associated to the logical field 'certClassification' for the mapping LEGAL_PERSON.
        Returns:
        Set of values from the logical field 'clasificacion' associated to the logical field 'certClassification' for the mapping LEGAL_PERSON.
      • getClassificationSetForCertClassificationESIG

        public static java.util.Set<java.lang.Integer> getClassificationSetForCertClassificationESIG()
        Gets the set of values from the logical field 'clasificacion' associated to the logical field 'certClassification' for the mapping ESIG.
        Returns:
        Set of values from the logical field 'clasificacion' associated to the logical field 'certClassification' for the mapping ESIG.
      • getClassificationSetForCertClassificationESEAL

        public static java.util.Set<java.lang.Integer> getClassificationSetForCertClassificationESEAL()
        Gets the set of values from the logical field 'clasificacion' associated to the logical field 'certClassification' for the mapping ESEAL.
        Returns:
        Set of values from the logical field 'clasificacion' associated to the logical field 'certClassification' for the mapping ESEAL.
      • getClassificationSetForCertClassificationWSA

        public static java.util.Set<java.lang.Integer> getClassificationSetForCertClassificationWSA()
        Gets the set of values from the logical field 'clasificacion' associated to the logical field 'certClassification' for the mapping WSA.
        Returns:
        Set of values from the logical field 'clasificacion' associated to the logical field 'certClassification' for the mapping WSA.
      • getClassificationSetForCertClassificationTSA

        public static java.util.Set<java.lang.Integer> getClassificationSetForCertClassificationTSA()
        Gets the set of values from the logical field 'clasificacion' associated to the logical field 'certClassification' for the mapping TSA.
        Returns:
        Set of values from the logical field 'clasificacion' associated to the logical field 'certClassification' for the mapping TSA.
      • getClassificationSetForCertQualifiedYES

        public static java.util.Set<java.lang.Integer> getClassificationSetForCertQualifiedYES()
        Gets the set of values from the logical field 'clasificacion' associated to the logical field 'certQualified' for the mapping YES.
        Returns:
        Set of values from the logical field 'clasificacion' associated to the logical field 'certQualified' for the mapping YES.
      • getClassificationSetForCertQualifiedNO

        public static java.util.Set<java.lang.Integer> getClassificationSetForCertQualifiedNO()
        Gets the set of values from the logical field 'clasificacion' associated to the logical field 'certQualified' for the mapping NO.
        Returns:
        Set of values from the logical field 'clasificacion' associated to the logical field 'certQualified' for the mapping NO.
      • getServiceDetectCertInTslInfoAndValidationParamValDateTimeGap

        public static int getServiceDetectCertInTslInfoAndValidationParamValDateTimeGap()
        Gets the value for the timegap for the validation date in the service 'DetectCertInTslInfoAndValidation'.
        Returns:
        the value for the timegap for the validation date in the service 'DetectCertInTslInfoAndValidation'. If there is some proble recovering it, then is returned the default value 30000.