Skip navigation links
waggle.core.http
Class XHTTPSSLProtocolSocketFactory.EasyX509TrustManager
java.lang.Object
waggle.core.http.XHTTPSSLProtocolSocketFactory.EasyX509TrustManager
- All Implemented Interfaces:
- TrustManager, X509TrustManager
- Enclosing class:
- XHTTPSSLProtocolSocketFactory
-
public static class XHTTPSSLProtocolSocketFactory.EasyX509TrustManager
- extends Object
- implements X509TrustManager
XHTTPSSLProtocolSocketFactory.EasyX509TrustManager
public XHTTPSSLProtocolSocketFactory.EasyX509TrustManager(KeyStore keystore)
throws NoSuchAlgorithmException,
KeyStoreException
-
- Throws:
NoSuchAlgorithmException
KeyStoreException
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates,
String authType)
throws CertificateException
-
- Specified by:
checkClientTrusted
in interface X509TrustManager
-
- Throws:
CertificateException
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates,
String authType)
throws CertificateException
-
- Specified by:
checkServerTrusted
in interface X509TrustManager
-
- Throws:
CertificateException
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
-
- Specified by:
getAcceptedIssuers
in interface X509TrustManager
Skip navigation links
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.