com.evermind.ssl
Interface SSLServerSocketFactory


public interface SSLServerSocketFactory

Interface used by external SSL engines to hook up to the server


Method Summary
 java.net.ServerSocket createServerSocket(int port, int backlog, java.net.InetAddress address, java.util.Properties properties, java.util.Properties secrets, byte[] keyStore)
          Creates a new ServerSocket with the specified enviroment.
 

Method Detail

createServerSocket


public java.net.ServerSocket createServerSocket(int port,
                                                int backlog,
                                                java.net.InetAddress address,
                                                java.util.Properties properties,
                                                java.util.Properties secrets,
                                                byte[] keyStore)
                                         throws java.io.IOException
Creates a new ServerSocket with the specified enviroment. The engine can use propriety variables specified via the properties argument. The properties also define a keyStore.password variable used for decrypting the supplied keyStore.
Parameters:
port - The port to bind the socket to
backlog - the nr of calls to backlog
address - The address to bind the socket to
properties - Propriety SSL-properties used by this engine
secrets - Properties containing the defined peer-secrets to be used
keyStore - the keystore data, the actual format is up to the engine to define