Connection Manager 3.5.1 Javadoc

org.jivesoftware.multiplexer.net
Class SSLConfig

java.lang.Object
  extended by org.jivesoftware.multiplexer.net.SSLConfig

public class SSLConfig
extends java.lang.Object

Configuration of Openfire's SSL settings.

This class was copied from Openfire. Properties are now stored in XML.

Author:
Gaston Dombiak

Method Summary
static java.net.ServerSocket createServerSocket(int port, java.net.InetAddress ifAddress)
           
static java.lang.String[] getDefaultCipherSuites()
           
static java.lang.String getKeyPassword()
           
static java.security.KeyStore getKeyStore()
           
static java.lang.String getKeystoreLocation()
           
static SSLJiveServerSocketFactory getServerSocketFactory()
           
static java.lang.String[] getSpportedCipherSuites()
           
static javax.net.ssl.SSLContext getSSLContext()
          Get the SSLContext for c2s connections
static java.lang.String getStoreType()
           
static java.lang.String getTrustPassword()
           
static java.security.KeyStore getTrustStore()
           
static java.lang.String getTruststoreLocation()
           
static void saveStores()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getKeyPassword

public static java.lang.String getKeyPassword()

getTrustPassword

public static java.lang.String getTrustPassword()

getDefaultCipherSuites

public static java.lang.String[] getDefaultCipherSuites()

getSpportedCipherSuites

public static java.lang.String[] getSpportedCipherSuites()

getKeyStore

public static java.security.KeyStore getKeyStore()
                                          throws java.io.IOException
Throws:
java.io.IOException

getTrustStore

public static java.security.KeyStore getTrustStore()
                                            throws java.io.IOException
Throws:
java.io.IOException

getSSLContext

public static javax.net.ssl.SSLContext getSSLContext()
Get the SSLContext for c2s connections

Returns:
the SSLContext for c2s connections

saveStores

public static void saveStores()
                       throws java.io.IOException
Throws:
java.io.IOException

createServerSocket

public static java.net.ServerSocket createServerSocket(int port,
                                                       java.net.InetAddress ifAddress)
                                                throws java.io.IOException
Throws:
java.io.IOException

getKeystoreLocation

public static java.lang.String getKeystoreLocation()

getTruststoreLocation

public static java.lang.String getTruststoreLocation()

getStoreType

public static java.lang.String getStoreType()

getServerSocketFactory

public static SSLJiveServerSocketFactory getServerSocketFactory()

Connection Manager 3.5.1 Javadoc

Copyright © 2003-2006 Jive Software.