client.net
Class SSLConnector

java.lang.Object
  extended by client.net.SSLConnector
All Implemented Interfaces:
ConnectionProvider

public class SSLConnector
extends java.lang.Object
implements ConnectionProvider


Constructor Summary
SSLConnector()
           
 
Method Summary
 java.net.Socket connectTo(java.lang.String host, int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLConnector

public SSLConnector()
             throws java.io.FileNotFoundException,
                    java.io.IOException,
                    java.security.NoSuchAlgorithmException,
                    java.security.KeyStoreException,
                    java.security.cert.CertificateException,
                    java.security.cert.CertificateException,
                    java.security.KeyManagementException
Throws:
java.io.FileNotFoundException
java.io.IOException
java.security.NoSuchAlgorithmException
java.security.KeyStoreException
java.security.cert.CertificateException
java.security.KeyManagementException
Method Detail

connectTo

public java.net.Socket connectTo(java.lang.String host,
                                 int port)
                          throws java.io.IOException
Specified by:
connectTo in interface ConnectionProvider
Throws:
java.io.IOException