fi.hut.tml.xsmiles.util.HTTPClient.ssl
Class AuthSSLX509TrustManager

java.lang.Object
  extended byfi.hut.tml.xsmiles.util.HTTPClient.ssl.AuthSSLX509TrustManager
All Implemented Interfaces:
com.sun.net.ssl.TrustManager, com.sun.net.ssl.X509TrustManager

public class AuthSSLX509TrustManager
extends java.lang.Object
implements com.sun.net.ssl.X509TrustManager

AuthSSLX509TrustManager can be used to extend the default X509TrustManager with additional trust decisions.

Author:
Oleg Kalnichevski

DISCLAIMER: HttpClient developers DO NOT actively support this component. The component is provided as a reference material, which may be inappropriate for use without additional customization.


Constructor Summary
AuthSSLX509TrustManager(com.sun.net.ssl.X509TrustManager defaultTrustManager)
          Constructor for AuthSSLX509TrustManager.
 
Method Summary
 java.security.cert.X509Certificate[] getAcceptedIssuers()
           
 boolean isClientTrusted(java.security.cert.X509Certificate[] certificates)
           
 boolean isServerTrusted(java.security.cert.X509Certificate[] certificates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthSSLX509TrustManager

public AuthSSLX509TrustManager(com.sun.net.ssl.X509TrustManager defaultTrustManager)
Constructor for AuthSSLX509TrustManager.

Method Detail

isClientTrusted

public boolean isClientTrusted(java.security.cert.X509Certificate[] certificates)
Specified by:
isClientTrusted in interface com.sun.net.ssl.X509TrustManager
See Also:
X509TrustManager.isClientTrusted(X509Certificate[])

isServerTrusted

public boolean isServerTrusted(java.security.cert.X509Certificate[] certificates)
Specified by:
isServerTrusted in interface com.sun.net.ssl.X509TrustManager
See Also:
X509TrustManager.isServerTrusted(X509Certificate[])

getAcceptedIssuers

public java.security.cert.X509Certificate[] getAcceptedIssuers()
Specified by:
getAcceptedIssuers in interface com.sun.net.ssl.X509TrustManager
See Also:
X509TrustManager.getAcceptedIssuers()


X-Smiles 1.2