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 |
---|
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 X509TrustManager
public void checkClientTrusted(X509Certificate[] certs, String authType)
checkClientTrusted
in interface X509TrustManager
public void checkServerTrusted(X509Certificate[] certs, String authType)
checkServerTrusted
in interface X509TrustManager
Copyright © 2016 OpenEstate. All rights reserved.