Remote System Explorer DataStore
Release 1.0

org.eclipse.dstore.core.util.ssl
Class DataStoreTrustManager

java.lang.Object
  extended byorg.eclipse.dstore.core.util.ssl.DataStoreTrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager

public class DataStoreTrustManager
extends Object
implements X509TrustManager


Constructor Summary
DataStoreTrustManager()
           
 
Method Summary
 void checkClientTrusted(X509Certificate[] certs, String arg1)
           
 void checkServerTrusted(X509Certificate[] certs, String arg1)
           
 X509Certificate[] getAcceptedIssuers()
           
 List getUntrustedCerts()
           
 List getVerifyExceptions()
           
 void setKeystore(String filePath, String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataStoreTrustManager

public DataStoreTrustManager()
Method Detail

setKeystore

public void setKeystore(String filePath,
                        String password)

getUntrustedCerts

public List getUntrustedCerts()

getVerifyExceptions

public List getVerifyExceptions()

checkClientTrusted

public void checkClientTrusted(X509Certificate[] certs,
                               String arg1)
                        throws CertificateException
Specified by:
checkClientTrusted in interface X509TrustManager
Throws:
CertificateException

checkServerTrusted

public void checkServerTrusted(X509Certificate[] certs,
                               String arg1)
                        throws CertificateException
Specified by:
checkServerTrusted in interface X509TrustManager
Throws:
CertificateException

getAcceptedIssuers

public X509Certificate[] getAcceptedIssuers()
Specified by:
getAcceptedIssuers in interface X509TrustManager

Remote System Explorer DataStore
Release 1.0

Guidelines for using DataStore APIs.