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 X509TrustManagerdelegate
-
Constructor Summary
Constructors Constructor Description WrappingX509ExtendedTrustManager(X509TrustManager delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientTrusted(X509Certificate[] x509Certificates, String s)voidcheckClientTrusted(X509Certificate[] x509Certificates, String s, Socket socket)voidcheckClientTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine)voidcheckServerTrusted(X509Certificate[] x509Certificates, String s)voidcheckServerTrusted(X509Certificate[] x509Certificates, String s, Socket socket)voidcheckServerTrusted(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:
checkClientTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509Certificates, String s, Socket socket) throws CertificateException
- Specified by:
checkServerTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine) throws CertificateException
- Specified by:
checkClientTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine) throws CertificateException
- Specified by:
checkServerTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
- Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
- Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
-