Class AMCertPath


  • public class AMCertPath
    extends Object
    Class AMCertPath is special cased Certpath validation class. It does cert path validation together with CRL check and ocsp checking if they are properly configured.
    • Method Detail

      • verify

        public boolean verify​(X509Certificate[] certs,
                              boolean crlEnabled,
                              boolean ocspEnabled)
        It does cert path validation together with CRL check and ocsp checking if they are properly configured.
        Parameters:
        certs - the certificate chain to validate, ordered from the target certificate to the trust anchor
        crlEnabled - true if CRL-based revocation checking should be performed
        ocspEnabled - true if OCSP-based revocation checking should be performed
        Returns:
        true if the certificate path is valid, false otherwise