public interface CertificateVerifier
CertificateVerifyResult verify(CertificateVerifyParams params)
CertificateVerifyParams.getCertificate()against the given
CertificateVerifyParams.getHostName()as an SSL server. This method is invoked every time when Server SSL certificate verification is required. By default Chromium uses its own default certificate verifier which always checks incoming SSL certificate and passes verification results as
CertificateVerifyParams.getVerifyFlags()parameter. You can analyze the verify flags parameter to find out how the given certificate was initially validated by Chromium engine and decide whether it should be accepted/rejected, or Chromium should decide it itself. If implementation of this method throws an exception, then default behavior will be used - Chromium engine will decide itself whether SSL certificate should be accepted or rejected.