org.eclipse.ecf.provider.filetransfer.httpclient
Class HttpClientSslTrustManager

java.lang.Object
  extended by 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


Constructor Summary
HttpClientSslTrustManager()
           
 
Method Summary
 boolean checkClientTrusted(java.security.cert.X509Certificate[] chain)
           
 void checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
           
 void checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
           
 java.security.cert.X509Certificate[] getAcceptedIssuers()
           
 boolean isClientTrusted(java.security.cert.X509Certificate[] chain)
           
 boolean isServerTrusted(java.security.cert.X509Certificate[] chain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpClientSslTrustManager

public HttpClientSslTrustManager()
Method Detail

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)