Package com.adaptris.security.util
Class AlwaysTrustManager
java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
com.adaptris.security.util.AlwaysTrustManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] arg0, String arg1) void
checkClientTrusted
(X509Certificate[] arg0, String arg1, Socket arg2) void
checkClientTrusted
(X509Certificate[] arg0, String arg1, SSLEngine arg2) void
checkServerTrusted
(X509Certificate[] arg0, String arg1) void
checkServerTrusted
(X509Certificate[] arg0, String arg1, Socket arg2) void
checkServerTrusted
(X509Certificate[] arg0, String arg1, SSLEngine arg2)
-
Constructor Details
-
AlwaysTrustManager
public AlwaysTrustManager()
-
-
Method Details
-
getAcceptedIssuers
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] arg0, String arg1, Socket arg2) throws CertificateException - Specified by:
checkClientTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] arg0, String arg1, SSLEngine arg2) throws CertificateException - Specified by:
checkClientTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] arg0, String arg1, Socket arg2) throws CertificateException - Specified by:
checkServerTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] arg0, String arg1, SSLEngine arg2) throws CertificateException - Specified by:
checkServerTrusted
in classX509ExtendedTrustManager
- Throws:
CertificateException
-
checkClientTrusted
- Throws:
CertificateException
-
checkServerTrusted
- Throws:
CertificateException
-