public class DefaultX509TrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
DefaultX509TrustManager(KeyStore keystore)
Constructor for DefaultX509TrustManager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
boolean |
isClientTrusted(X509Certificate[] certificates) |
boolean |
isServerTrusted(X509Certificate[] certificates) |
public DefaultX509TrustManager(KeyStore keystore) throws NoSuchAlgorithmException, KeyStoreException
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerpublic boolean isClientTrusted(X509Certificate[] certificates)
public boolean isServerTrusted(X509Certificate[] certificates)
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionpublic void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.