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

        public static X509CRL getCRL​(X509Certificate cert)
        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()