public final class SSLUtilities
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | SSLUtilities._FakeHostnameVerifierDeprecated. 
 | 
| static class  | SSLUtilities._FakeX509TrustManagerDeprecated. 
 | 
| static class  | SSLUtilities.FakeHostnameVerifierThis class implements a fake hostname verificator, trusting any host
 name. | 
| static class  | SSLUtilities.FakeX509TrustManagerThis class allow any X509 certificates to be used to authenticate the
 remote side of a secure socket, including self-signed certificates. | 
| Modifier and Type | Field and Description | 
|---|---|
| private static javax.net.ssl.HostnameVerifier | __hostnameVerifierDeprecated. 
 see  _hostnameVerifier. | 
| private static javax.net.ssl.TrustManager[] | __trustManagersDeprecated. 
 see  _trustManagers. | 
| private static javax.net.ssl.HostnameVerifier | _hostnameVerifierHostname verifier. | 
| private static javax.net.ssl.TrustManager[] | _trustManagersThrust managers. | 
| Constructor and Description | 
|---|
| SSLUtilities() | 
| Modifier and Type | Method and Description | 
|---|---|
| private static void | __trustAllHostnames()Deprecated. 
 see  _trustAllHostnames(). | 
| private static void | __trustAllHttpsCertificates()Deprecated. 
 | 
| private static void | _trustAllHostnames()Set the default Hostname Verifier to an instance of a fake class that
 trust all hostnames. | 
| private static void | _trustAllHttpsCertificates()Set the default X509 Trust Manager to an instance of a fake class that
 trust all certificates, even the self-signed ones. | 
| private static boolean | isDeprecatedSSLProtocol()Return true if the protocol handler property java. | 
| static void | trustAllHostnames()Set the default Hostname Verifier to an instance of a fake class that
 trust all hostnames. | 
| static void | trustAllHttpsCertificates()Set the default X509 Trust Manager to an instance of a fake class that
 trust all certificates, even the self-signed ones. | 
private static javax.net.ssl.HostnameVerifier __hostnameVerifier
_hostnameVerifier.private static javax.net.ssl.TrustManager[] __trustManagers
_trustManagers.private static javax.net.ssl.HostnameVerifier _hostnameVerifier
private static javax.net.ssl.TrustManager[] _trustManagers
private static void __trustAllHostnames()
_trustAllHostnames().private static void __trustAllHttpsCertificates()
_trustAllHttpsCertificates().private static boolean isDeprecatedSSLProtocol()
private static void _trustAllHostnames()
private static void _trustAllHttpsCertificates()
public static void trustAllHostnames()
public static void trustAllHttpsCertificates()