Package org.eclipse.jetty.util.ssl
Class SslContextFactory.X509ExtendedTrustManagerWrapper
java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
org.eclipse.jetty.util.ssl.SslContextFactory.X509ExtendedTrustManagerWrapper
- All Implemented Interfaces:
TrustManager
,X509TrustManager
- Enclosing class:
- SslContextFactory
public static class SslContextFactory.X509ExtendedTrustManagerWrapper
extends X509ExtendedTrustManager
A wrapper that delegates to another (if not null
) X509ExtendedTrustManager.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] certs, String authType) void
checkClientTrusted
(X509Certificate[] chain, String authType, Socket socket) void
checkClientTrusted
(X509Certificate[] chain, String authType, SSLEngine engine) void
checkServerTrusted
(X509Certificate[] certs, String authType) void
checkServerTrusted
(X509Certificate[] chain, String authType, Socket socket) void
checkServerTrusted
(X509Certificate[] chain, String authType, SSLEngine engine)
-
Constructor Details
-
X509ExtendedTrustManagerWrapper
-
-
Method Details
-
getAcceptedIssuers
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certs, String authType) throws CertificateException - Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType, Socket socket) throws CertificateException - Specified by:
checkClientTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine engine) throws CertificateException - Specified by:
checkClientTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certs, String authType) throws CertificateException - Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType, Socket socket) throws CertificateException - Specified by:
checkServerTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine) throws CertificateException - Specified by:
checkServerTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-