public class RelaxedX509TrustManager extends Object implements X509TrustManager
AbstractHttpClientWagon.IGNORE_SSL_VALIDITY_DATES| Constructor and Description |
|---|
RelaxedX509TrustManager(KeyStore keystore)
Constructor for EasyX509TrustManager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] certificates,
String authType) |
void |
checkServerTrusted(X509Certificate[] certificates,
String authType) |
protected static SSLContext |
createRelaxedSSLContext() |
X509Certificate[] |
getAcceptedIssuers() |
public RelaxedX509TrustManager(KeyStore keystore) throws NoSuchAlgorithmException, KeyStoreException
protected static SSLContext createRelaxedSSLContext() throws IOException
IOExceptionpublic void checkClientTrusted(X509Certificate[] certificates, String authType) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionX509TrustManager.checkClientTrusted(X509Certificate[], String authType)public void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionX509TrustManager.checkServerTrusted(X509Certificate[], String authType)public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerX509TrustManager.getAcceptedIssuers()Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.