public static final void checkCert(X509Certificate cert) throws CertificateException {
        checkKeyLength(cert);
        checkSignatureAlgorithm(cert);
    }
Analyzes the cryptographic strength of a chain of X.509 certificates.
common/src/main/java/org/conscrypt/ChainStrengthAnalyzer.java