Wildfire 3.2.4 Javadoc

org.jivesoftware.wildfire.net
Class SSLJiveServerSocketFactory

java.lang.Object
  extended by javax.net.ServerSocketFactory
      extended by javax.net.ssl.SSLServerSocketFactory
          extended by org.jivesoftware.wildfire.net.SSLJiveServerSocketFactory

public class SSLJiveServerSocketFactory
extends SSLServerSocketFactory

Securue socket factory wrapper allowing simple setup of all security SSL related parameters.

Author:
Iain Shigeoka

Method Summary
 ServerSocket createServerSocket(int i)
           
 ServerSocket createServerSocket(int i, int i1)
           
 ServerSocket createServerSocket(int i, int i1, InetAddress inetAddress)
           
 String[] getDefaultCipherSuites()
           
static SSLServerSocketFactory getInstance(String algorithm, KeyStore keystore, KeyStore truststore)
           
 String[] getSupportedCipherSuites()
           
 
Methods inherited from class javax.net.ssl.SSLServerSocketFactory
getDefault
 
Methods inherited from class javax.net.ServerSocketFactory
createServerSocket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SSLServerSocketFactory getInstance(String algorithm,
                                                 KeyStore keystore,
                                                 KeyStore truststore)
                                          throws IOException
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(int i)
                                throws IOException
Specified by:
createServerSocket in class ServerSocketFactory
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(int i,
                                       int i1)
                                throws IOException
Specified by:
createServerSocket in class ServerSocketFactory
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(int i,
                                       int i1,
                                       InetAddress inetAddress)
                                throws IOException
Specified by:
createServerSocket in class ServerSocketFactory
Throws:
IOException

getDefaultCipherSuites

public String[] getDefaultCipherSuites()
Specified by:
getDefaultCipherSuites in class SSLServerSocketFactory

getSupportedCipherSuites

public String[] getSupportedCipherSuites()
Specified by:
getSupportedCipherSuites in class SSLServerSocketFactory

Wildfire 3.2.4 Javadoc

Copyright © 2003-2007 Jive Software.