Package org.apache.http.ssl
Class SSLContextBuilder.TrustManagerDelegate
java.lang.Object
org.apache.http.ssl.SSLContextBuilder.TrustManagerDelegate
- All Implemented Interfaces:
TrustManager,X509TrustManager
- Enclosing class:
- SSLContextBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTrustManagerDelegate(X509TrustManager trustManager, TrustStrategy trustStrategy) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] chain, String authType) voidcheckServerTrusted(X509Certificate[] chain, String authType)
-
Field Details
-
trustManager
-
trustStrategy
-
-
Constructor Details
-
TrustManagerDelegate
TrustManagerDelegate(X509TrustManager trustManager, TrustStrategy trustStrategy)
-
-
Method Details
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-