public class TrustAllTrustManager extends Object implements X509TrustManager
| Modifier and Type | Field and Description |
|---|---|
static TrustAllTrustManager |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String s) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String s) |
X509Certificate[] |
getAcceptedIssuers() |
public static TrustAllTrustManager INSTANCE
public void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionpublic void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 2020. All rights reserved.