public class AuthSSLX509TrustManager extends Object implements X509TrustManager
X509TrustManager with
additional trust decisions.DISCLAIMER: HttpClient developers DO NOT actively support this component. The component is provided as a reference material, which may be inappropriate for use without additional customization.
| Constructor and Description |
|---|
AuthSSLX509TrustManager(X509TrustManager defaultTrustManager)
Constructor for AuthSSLX509TrustManager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] certificates,
String authType) |
void |
checkServerTrusted(X509Certificate[] certificates,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
public AuthSSLX509TrustManager(X509TrustManager defaultTrustManager)
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()This work is licensed under a Creative Commons Attribution 4.0 International License.