org.eclipse.higgins.util.socket
Class HigginsSSLSocketFactory

java.lang.Object
  extended byjavax.net.SocketFactory
      extended byjavax.net.ssl.SSLSocketFactory
          extended byorg.eclipse.higgins.util.socket.HigginsSSLSocketFactory

public class HigginsSSLSocketFactory
extends SSLSocketFactory


Method Summary
 Socket createSocket(InetAddress inetAddress, int i)
           
 Socket createSocket(InetAddress inetAddress, int i, InetAddress inetAddress1, int i1)
           
 Socket createSocket(Socket socket, String host, int port, boolean autoClose)
           
 Socket createSocket(String host, int port)
           
 Socket createSocket(String host, int port, InetAddress clientHost, int clientPort)
           
static SocketFactory getDefault()
           
 String[] getDefaultCipherSuites()
           
 String[] getSupportedCipherSuites()
           
 void reloadKeyStore()
           
 void setKeyStore(File keyStoreFile, String keyStorePassword)
           
 
Methods inherited from class javax.net.SocketFactory
createSocket
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefault

public static SocketFactory getDefault()

setKeyStore

public void setKeyStore(File keyStoreFile,
                        String keyStorePassword)
Parameters:
keyStoreFile -

reloadKeyStore

public void reloadKeyStore()
                    throws NamingException
Throws:
NamingException

getDefaultCipherSuites

public String[] getDefaultCipherSuites()

getSupportedCipherSuites

public String[] getSupportedCipherSuites()

createSocket

public Socket createSocket(String host,
                           int port,
                           InetAddress clientHost,
                           int clientPort)
                    throws IOException,
                           UnknownHostException
Throws:
IOException
UnknownHostException

createSocket

public Socket createSocket(InetAddress inetAddress,
                           int i,
                           InetAddress inetAddress1,
                           int i1)
                    throws IOException
Throws:
IOException

createSocket

public Socket createSocket(String host,
                           int port)
                    throws IOException,
                           UnknownHostException
Throws:
IOException
UnknownHostException

createSocket

public Socket createSocket(InetAddress inetAddress,
                           int i)
                    throws IOException
Throws:
IOException

createSocket

public Socket createSocket(Socket socket,
                           String host,
                           int port,
                           boolean autoClose)
                    throws IOException,
                           UnknownHostException
Throws:
IOException
UnknownHostException