public final class DummyTrustManager extends Object implements X509TrustManager
| Modifier and Type | Field and Description |
|---|---|
static TrustManager[] |
trustAllCerts |
| Constructor and Description |
|---|
DummyTrustManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] xcs,
String string) |
X509Certificate[] |
getAcceptedIssuers() |
public static final TrustManager[] trustAllCerts
public void checkServerTrusted(X509Certificate[] xcs, String string) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerpublic void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionCopyright © 2023. All rights reserved.