Package org.wildfly.security.ssl
Class WrappingX509ExtendedTrustManager
- java.lang.Object
-
- javax.net.ssl.X509ExtendedTrustManager
-
- org.wildfly.security.ssl.WrappingX509ExtendedTrustManager
-
- All Implemented Interfaces:
TrustManager
,X509TrustManager
final class WrappingX509ExtendedTrustManager extends X509ExtendedTrustManager implements X509TrustManager
- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private X509TrustManager
delegate
-
Constructor Summary
Constructors Constructor Description WrappingX509ExtendedTrustManager(X509TrustManager delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkClientTrusted(X509Certificate[] x509Certificates, String s)
void
checkClientTrusted(X509Certificate[] x509Certificates, String s, Socket socket)
void
checkClientTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine)
void
checkServerTrusted(X509Certificate[] x509Certificates, String s)
void
checkServerTrusted(X509Certificate[] x509Certificates, String s, Socket socket)
void
checkServerTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine)
X509Certificate[]
getAcceptedIssuers()
-
-
-
Field Detail
-
delegate
private final X509TrustManager delegate
-
-
Constructor Detail
-
WrappingX509ExtendedTrustManager
WrappingX509ExtendedTrustManager(X509TrustManager delegate)
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] x509Certificates, String s, Socket socket) throws CertificateException
- Specified by:
checkClientTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509Certificates, String s, Socket socket) throws CertificateException
- Specified by:
checkServerTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine) throws CertificateException
- Specified by:
checkClientTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine) throws CertificateException
- Specified by:
checkServerTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
-