public class CustomX509TrustManager extends Object implements X509TrustManager
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
CustomX509TrustManager(KeyStore keystore)
Constructor for Custom509TrustManager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] certificates,
String authType) |
void |
checkServerTrusted(X509Certificate[] certificates,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
public CustomX509TrustManager(KeyStore keystore) throws NoSuchAlgorithmException, KeyStoreException
public void checkClientTrusted(X509Certificate[] certificates, String authType) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionX509TrustManager.checkClientTrusted(X509Certificate[],String authType)public void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionX509TrustManager.checkServerTrusted(X509Certificate[],String authType)public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerX509TrustManager.getAcceptedIssuers()Copyright © 1999–2014 UCAR/Unidata. All rights reserved.