public static final class SslUtils.InsecureTrustManager extends Object implements X509TrustManager
X509TrustManager that accepts all certificates.
This class disables certificate checks for encrypted connections. You should not use this feature in a productive system.
| Constructor and Description |
|---|
SslUtils.InsecureTrustManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] certs,
String authType) |
void |
checkServerTrusted(X509Certificate[] certs,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerpublic void checkClientTrusted(X509Certificate[] certs, String authType)
checkClientTrusted in interface X509TrustManagerpublic void checkServerTrusted(X509Certificate[] certs, String authType)
checkServerTrusted in interface X509TrustManagerCopyright © 2014 OpenEstate. All rights reserved.