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. |
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 tobacklog
- the nr of calls to backlogaddress
- The address to bind the socket toproperties
- Propriety SSL-properties used by this enginesecrets
- Properties containing the defined peer-secrets to be usedkeyStore
- the keystore data, the actual format is up to the engine to define