public class NoVerificationTrustManager extends Object implements X509TrustManager
X509TrustManager which trusts the given certificates without verifying them.| Constructor and Description |
|---|
NoVerificationTrustManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String s) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String s) |
X509Certificate[] |
getAcceptedIssuers() |
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 © 2009–2016 The Apache Software Foundation. All rights reserved.