- All Superinterfaces:
TrustManager
,X509TrustManager
- All Known Implementing Classes:
InterceptingX509TrustManager
An X509TrustManager with provided default methods, so these don't need to be needlessly
defined by implementations.
- Author:
- Arjan Tijms
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
checkClientTrusted
(X509Certificate[] chain, String authType) default void
checkServerTrusted
(X509Certificate[] chain, String authType) default X509Certificate[]
-
Method Details
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
checkClientTrusted
default void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkServerTrusted
default void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-