org.jivesoftware.multiplexer.net
Class SSLJiveServerSocketFactory
java.lang.Object
javax.net.ServerSocketFactory
javax.net.ssl.SSLServerSocketFactory
org.jivesoftware.multiplexer.net.SSLJiveServerSocketFactory
public class SSLJiveServerSocketFactory
- extends javax.net.ssl.SSLServerSocketFactory
Securue socket factory wrapper allowing simple setup of all security
SSL related parameters.
This class was copied from Openfire.
- Author:
- Gaston Dombiak
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 |
getInstance
public static javax.net.ssl.SSLServerSocketFactory getInstance(java.lang.String algorithm,
java.security.KeyStore keystore,
java.security.KeyStore truststore)
throws java.io.IOException
- Throws:
java.io.IOException
createServerSocket
public java.net.ServerSocket createServerSocket(int i)
throws java.io.IOException
- Specified by:
createServerSocket
in class javax.net.ServerSocketFactory
- Throws:
java.io.IOException
createServerSocket
public java.net.ServerSocket createServerSocket(int i,
int i1)
throws java.io.IOException
- Specified by:
createServerSocket
in class javax.net.ServerSocketFactory
- Throws:
java.io.IOException
createServerSocket
public java.net.ServerSocket createServerSocket(int i,
int i1,
java.net.InetAddress inetAddress)
throws java.io.IOException
- Specified by:
createServerSocket
in class javax.net.ServerSocketFactory
- Throws:
java.io.IOException
getDefaultCipherSuites
public java.lang.String[] getDefaultCipherSuites()
- Specified by:
getDefaultCipherSuites
in class javax.net.ssl.SSLServerSocketFactory
getSupportedCipherSuites
public java.lang.String[] getSupportedCipherSuites()
- Specified by:
getSupportedCipherSuites
in class javax.net.ssl.SSLServerSocketFactory
Copyright © 2003-2006 Jive Software.