-
- All Superinterfaces:
TrustManager,X509TrustManager
- All Known Implementing Classes:
InterceptingX509TrustManager
public interface DefaultX509TrustManager extends X509TrustManager
An X509TrustManager with provided default methods, so these don't need to be needlessly defined by implementations.- Author:
- Arjan Tijms
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidcheckClientTrusted(X509Certificate[] chain, String authType)default voidcheckServerTrusted(X509Certificate[] chain, String authType)default X509Certificate[]getAcceptedIssuers()
-
-
-
Method Detail
-
getAcceptedIssuers
default X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
checkClientTrusted
default void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
checkServerTrusted
default void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
-