public static class SslSimpletonServer.AnonymousTrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
AnonymousTrustManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] arg0,
String arg1) |
void |
checkServerTrusted(X509Certificate[] arg0,
String arg1) |
X509Certificate[] |
getAcceptedIssuers() |
boolean |
isClientTrusted(X509Certificate[] cert) |
boolean |
isServerTrusted(X509Certificate[] cert) |
public boolean isClientTrusted(X509Certificate[] cert)
public boolean isServerTrusted(X509Certificate[] cert)
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerpublic void checkClientTrusted(X509Certificate[] arg0, String arg1) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionpublic void checkServerTrusted(X509Certificate[] arg0, String arg1) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionCopyright © 2021 McEvoy Software Ltd. All rights reserved.