public static final void check(List<X509Certificate> chain) throws CertificateException {
        for (X509Certificate cert : chain) {
            try {
                checkCert(cert);
            } catch (CertificateException e) {
                throw new CertificateException("Unacceptable certificate: "
                        + cert.getSubjectX500Principal(), e);
            }
        }
    }
Analyzes the cryptographic strength of a chain of X.509 certificates.
common/src/main/java/org/conscrypt/ChainStrengthAnalyzer.java