You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.




org.mozilla.jss.ssl
Class SSLServer

java.lang.Object
  extended by org.mozilla.jss.ssl.SSLServer

public class SSLServer
extends java.lang.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(java.io.PrintStream ps, java.lang.String verStr)
           
 
Method Summary
 void handleConnection(SSLSocket s)
           
static void main(java.lang.String[] argv)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLServer

public SSLServer(java.io.PrintStream ps,
                 java.lang.String verStr)
Method Detail

run

public void run()

handleConnection

public void handleConnection(SSLSocket s)
                      throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
Throws:
java.lang.Exception