private void checkBlacklist(X509Certificate cert) throws CertificateException { if (blacklist != null && blacklist.isPublicKeyBlackListed(cert.getPublicKey())) { throw new CertificateException("Certificate blacklisted by public key: " + cert); } }
private void checkBlacklist(X509Certificate cert) throws CertificateException { if (blacklist != null && blacklist.isPublicKeyBlackListed(cert.getPublicKey())) { throw new CertificateException("Certificate blacklisted by public key: " + cert); } }