java.lang.Object
org.omnifaces.utils.security.InterceptingX509TrustManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
,DefaultX509TrustManager
A trust manager implementation that doesn't do anything other than
- Author:
- Arjan Tijms
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] chain, String authType) void
checkServerTrusted
(X509Certificate[] chain, String authType) Returns the client certificates that have been collectedReturns the server certificates that have been collectedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.omnifaces.utils.security.DefaultX509TrustManager
getAcceptedIssuers
-
Constructor Details
-
InterceptingX509TrustManager
public InterceptingX509TrustManager()
-
-
Method Details
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkClientTrusted
in interfaceDefaultX509TrustManager
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkServerTrusted
in interfaceDefaultX509TrustManager
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
getX509ClientCertificates
Returns the client certificates that have been collected- Returns:
- the client certificates
-
getX509ServerCertificates
Returns the server certificates that have been collected- Returns:
- the server certificates
-