Package org.omnifaces.utils.security
Interface DefaultX509TrustManager
-
- 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 void
checkClientTrusted(X509Certificate[] chain, String authType)
default void
checkServerTrusted(X509Certificate[] chain, String authType)
default X509Certificate[]
getAcceptedIssuers()
-
-
-
Method Detail
-
getAcceptedIssuers
default X509Certificate[] 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
-
-