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); } } }
public static final void checkCert(X509Certificate cert) throws CertificateException { checkKeyLength(cert); checkSignatureAlgorithm(cert); }
ChainStrengthAnalyzer.check(untrustedChain);
ChainStrengthAnalyzer.check(untrustedChain);
public static final void checkCert(X509Certificate cert) throws CertificateException { checkKeyLength(cert); checkSignatureAlgorithm(cert); }
public static final void check(X509Certificate[] chain) throws CertificateException { for (X509Certificate cert : chain) { try { checkCert(cert); } catch (CertificateException e) { throw new CertificateException("Unacceptable certificate: " + cert.getSubjectX500Principal(), e); } } }
public static final void check(X509Certificate[] chain) throws CertificateException { for (X509Certificate cert : chain) { try { checkCert(cert); } catch (CertificateException e) { throw new CertificateException("Unacceptable certificate: " + cert.getSubjectX500Principal(), e); } } }
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); } } }
ChainStrengthAnalyzer.checkCert(candidateIssuer); } catch (CertificateException ex) { lastException = new CertificateException("Unacceptable certificate: "
ChainStrengthAnalyzer.checkCert(candidateIssuer); } catch (CertificateException ex) { lastException = new CertificateException("Unacceptable certificate: "