java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
nl.altindag.ssl.trustmanager.DelegatingTrustManager<X509TrustManager>
nl.altindag.ssl.trustmanager.X509TrustManagerWrapper
- All Implemented Interfaces:
TrustManager,X509TrustManager
NOTE:
Please don't use this class directly as it is part of the internal API. Class name and methods can be changed any time.
Instead use the
TrustManagerUtils which provides the same functionality
while it has a stable API because it is part of the public API.-
Field Summary
Fields inherited from class nl.altindag.ssl.trustmanager.DelegatingTrustManager
trustManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] chain, String authType, Socket socket) voidcheckClientTrusted(X509Certificate[] chain, String authType, SSLEngine sslEngine) voidcheckServerTrusted(X509Certificate[] chain, String authType, Socket socket) voidcheckServerTrusted(X509Certificate[] chain, String authType, SSLEngine sslEngine) Methods inherited from class nl.altindag.ssl.trustmanager.DelegatingTrustManager
checkClientTrusted, checkServerTrusted, getAcceptedIssuers, getInnerTrustManager
-
Constructor Details
-
X509TrustManagerWrapper
-
-
Method Details
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType, Socket socket) throws CertificateException - Specified by:
checkClientTrustedin classDelegatingTrustManager<X509TrustManager>- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine sslEngine) throws CertificateException - Specified by:
checkClientTrustedin classDelegatingTrustManager<X509TrustManager>- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType, Socket socket) throws CertificateException - Specified by:
checkServerTrustedin classDelegatingTrustManager<X509TrustManager>- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine sslEngine) throws CertificateException - Specified by:
checkServerTrustedin classDelegatingTrustManager<X509TrustManager>- Throws:
CertificateException
-