public class HttpClientSslTrustManager
extends java.lang.Object
implements javax.net.ssl.X509TrustManager
Constructor and Description |
---|
HttpClientSslTrustManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkClientTrusted(java.security.cert.X509Certificate[] chain) |
void |
checkClientTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType) |
void |
checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType) |
java.security.cert.X509Certificate[] |
getAcceptedIssuers() |
boolean |
isClientTrusted(java.security.cert.X509Certificate[] chain) |
boolean |
isServerTrusted(java.security.cert.X509Certificate[] chain) |
public boolean checkClientTrusted(java.security.cert.X509Certificate[] chain)
public boolean isServerTrusted(java.security.cert.X509Certificate[] chain)
public boolean isClientTrusted(java.security.cert.X509Certificate[] chain)
public java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface javax.net.ssl.X509TrustManager
X509TrustManager.getAcceptedIssuers()
public void checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
checkClientTrusted
in interface javax.net.ssl.X509TrustManager
X509TrustManager.checkClientTrusted(java.security.cert.X509Certificate[],
java.lang.String)
public void checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
checkServerTrusted
in interface javax.net.ssl.X509TrustManager
X509TrustManager.checkServerTrusted(java.security.cert.X509Certificate[],
java.lang.String)