org.mozilla.jss.ssl

Class SSLServer

public class SSLServer extends Object

Parameters supported by this socket test: filename file to be read from https server (default: /index.html) port port to connect to (default: 443) clientauth do client-auth or not (default: no client-auth) The following parameters are used for regression testing, so we can print success or failure of the test. filesize size of file to be read status security status of connection - this has to be an integer
Constructor Summary
SSLServer(PrintStream ps, String verStr)
Method Summary
voidhandleConnection(SSLSocket s)
static voidmain(String[] argv)
voidrun()

Constructor Detail

SSLServer

public SSLServer(PrintStream ps, String verStr)

Method Detail

handleConnection

public void handleConnection(SSLSocket s)

main

public static void main(String[] argv)

run

public void run()