public class SSLHandler extends Object implements X509TrustManager, HostnameVerifier
| Constructor and Description |
|---|
SSLHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String s) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String s) |
X509Certificate[] |
getAcceptedIssuers() |
boolean |
verify(String s,
SSLSession sslSession) |
public boolean verify(String s, SSLSession sslSession)
verify in interface HostnameVerifierpublic 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.