Class CRLValidator


  • public class CRLValidator
    extends Object
    This interface is for CRLValidator that is representing configued X509CRLValidator
    • Constructor Detail

      • CRLValidator

        public CRLValidator()
    • Method Detail

      • validateCertificate

        public static boolean validateCertificate​(X509Certificate cert,
                                                  boolean checkCAStatus)
        Validate certificate against configured crl
        Parameters:
        cert - cert to be validated
        Returns:
        true if certificate is not in crl
      • getCRL

        @Deprecated
        public static X509CRL getCRL​(X509Certificate cert)
        Deprecated.
        Has no callers. Use validateCertificate(X509Certificate, boolean) instead; a CRL Distribution Point fetch must never run for a certificate that has not passed the trust-chain check.
        Get certificate revocation list from cofigured ldap store
        Parameters:
        cert - cert to be validated
        Returns:
        crl if ldap store configured with crl
      • isCRLCheckEnabled

        public static boolean isCRLCheckEnabled()