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 X509TrustManager
X509TrustManager.getAcceptedIssuers()
public void checkClientTrusted(X509Certificate[] arg0, String arg1) throws CertificateException
checkClientTrusted
in interface X509TrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] arg0, String arg1) throws CertificateException
checkServerTrusted
in interface X509TrustManager
CertificateException
Copyright © 2014 The Apache Software Foundation