static class SSLContextBuilder.TrustManagerDelegate extends Object implements X509TrustManager
Modifier and Type | Field and Description |
---|---|
private X509TrustManager |
trustManager |
private TrustStrategy |
trustStrategy |
Constructor and Description |
---|
TrustManagerDelegate(X509TrustManager trustManager,
TrustStrategy trustStrategy) |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
private final X509TrustManager trustManager
private final TrustStrategy trustStrategy
TrustManagerDelegate(X509TrustManager trustManager, TrustStrategy trustStrategy)
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkClientTrusted
in interface X509TrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkServerTrusted
in interface X509TrustManager
CertificateException
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses