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 TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] chain, String authType) voidcheckServerTrusted(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, waitMethods 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:
checkClientTrustedin interfaceDefaultX509TrustManager- Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkServerTrustedin interfaceDefaultX509TrustManager- Specified by:
checkServerTrustedin 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
-