public final class SslUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SslUtils.InsecureHostnameVerifier
A
HostnameVerifier that accepts all hostnames. |
static class |
SslUtils.InsecureTrustManager
A
X509TrustManager that accepts all certificates. |
Modifier and Type | Method and Description |
---|---|
static void |
disableCertificateChecks()
Disable checking of SSL certificates in the application environment.
|
static void |
disableHostnameVerification()
Disable hostname verification for SSL connections in the application
environment.
|
public static void disableCertificateChecks() throws NoSuchAlgorithmException, KeyManagementException
public static void disableHostnameVerification()
Copyright © 2014 OpenEstate. All rights reserved.