Package io.milton.simpleton
Class SslSimpletonServer.AnonymousTrustManager
java.lang.Object
io.milton.simpleton.SslSimpletonServer.AnonymousTrustManager
- All Implemented Interfaces:
TrustManager,X509TrustManager
- Enclosing class:
- SslSimpletonServer
public static class SslSimpletonServer.AnonymousTrustManager
extends Object
implements X509TrustManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] arg0, String arg1) voidcheckServerTrusted(X509Certificate[] arg0, String arg1) booleanisClientTrusted(X509Certificate[] cert) booleanisServerTrusted(X509Certificate[] cert)
-
Constructor Details
-
AnonymousTrustManager
public AnonymousTrustManager()
-
-
Method Details
-
isClientTrusted
-
isServerTrusted
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
checkClientTrusted
- Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException
-
checkServerTrusted
- Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException
-