Interface IAnyTypeOtherCriteria

    • Method Detail

      • checkOtherCriteriaValue

        void checkOtherCriteriaValue​(ITSLObject tsl)
                              throws TSLMalformedException
        Checks if the Other Criteria has an appropiate value in the TSL.
        Parameters:
        tsl - TSL Object representation that contains this Other Criteria.
        Throws:
        TSLMalformedException - In case of the Criteria Value has not a correct value.
      • checkCertificateWithThisCriteria

        boolean checkCertificateWithThisCriteria​(java.security.cert.X509Certificate x509cert)
                                          throws TSLCertificateValidationException
        Checks if the input certificate verified this criteria.
        Parameters:
        x509cert - X509v3 certificate to check.
        Returns:
        true if this criteria is accomplished by the input certificate, otherwise false.
        Throws:
        TSLCertificateValidationException - In case of the certificate does not pass the validation process.
      • isUnknownOtherCriteria

        boolean isUnknownOtherCriteria()
        Checks if this criteria is unknown. In that case must be ignored.
        Returns:
        true if it is unknown, otherwise false.