org.eclipse.ecf.provider.filetransfer.httpclient
Class HttpClientSslTrustManager
java.lang.Object
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientSslTrustManager
- All Implemented Interfaces:
- javax.net.ssl.TrustManager, javax.net.ssl.X509TrustManager
public class HttpClientSslTrustManager
- extends java.lang.Object
- implements javax.net.ssl.X509TrustManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClientSslTrustManager
public HttpClientSslTrustManager()
checkClientTrusted
public boolean checkClientTrusted(java.security.cert.X509Certificate[] chain)
isServerTrusted
public boolean isServerTrusted(java.security.cert.X509Certificate[] chain)
isClientTrusted
public boolean isClientTrusted(java.security.cert.X509Certificate[] chain)
getAcceptedIssuers
public java.security.cert.X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interface javax.net.ssl.X509TrustManager
- See Also:
X509TrustManager.getAcceptedIssuers()
checkClientTrusted
public void checkClientTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
- Specified by:
checkClientTrusted
in interface javax.net.ssl.X509TrustManager
- See Also:
X509TrustManager.checkClientTrusted(java.security.cert.X509Certificate[],
java.lang.String)
checkServerTrusted
public void checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
- Specified by:
checkServerTrusted
in interface javax.net.ssl.X509TrustManager
- See Also:
X509TrustManager.checkServerTrusted(java.security.cert.X509Certificate[],
java.lang.String)