public class DummyX509TrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
DummyX509TrustManager(KeyStore keystore)
Constructor for DummyX509TrustManager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] arg0,
String arg1) |
void |
checkServerTrusted(X509Certificate[] arg0,
String arg1) |
X509Certificate[] |
getAcceptedIssuers() |
boolean |
isClientTrusted(X509Certificate[] certificates) |
boolean |
isServerTrusted(X509Certificate[] certificates) |
public DummyX509TrustManager(KeyStore keystore) throws NoSuchAlgorithmException, KeyStoreException
public boolean isClientTrusted(X509Certificate[] certificates)
public boolean isServerTrusted(X509Certificate[] certificates)
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerX509TrustManager.getAcceptedIssuers()public 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 The Apache Software Foundation