org.apache.nutch.protocol.httpclient
Class DummyX509TrustManager

java.lang.Object
  extended byorg.apache.nutch.protocol.httpclient.DummyX509TrustManager
All Implemented Interfaces:
com.sun.net.ssl.TrustManager, com.sun.net.ssl.X509TrustManager

public class DummyX509TrustManager
extends Object
implements com.sun.net.ssl.X509TrustManager


Constructor Summary
DummyX509TrustManager(KeyStore keystore)
          Constructor for DummyX509TrustManager.
 
Method Summary
 X509Certificate[] getAcceptedIssuers()
           
 boolean isClientTrusted(X509Certificate[] certificates)
           
 boolean isServerTrusted(X509Certificate[] certificates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyX509TrustManager

public DummyX509TrustManager(KeyStore keystore)
                      throws NoSuchAlgorithmException,
                             KeyStoreException
Constructor for DummyX509TrustManager.

Method Detail

isClientTrusted

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

isServerTrusted

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

getAcceptedIssuers

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


Copyright © 2005 The Apache Software Foundation