org.mozilla.jss.tests
Class JSSE_SSLServer
java.lang.Object
org.mozilla.jss.tests.JSSE_SSLServer
public class JSSE_SSLServer
extends java.lang.Object
JSSE SSLServer class that acts as SSL Server
String | getKeystore() - Get the location of keystore file.
|
String | getProvider() - Get the configured provider.
|
static void | main(args[] ) - Main method to create the class server.
|
void | setKeystore(String fconfigDir) - Set the location of keystore file.
|
void | setProvider(String p) - Set the provider to use.
|
void | startSSLServer(String[] args) - Start SSLServer and accept connections.
|
JSSE_SSLServer
public JSSE_SSLServer()
throws IOException
Constructs a JSSE_SSLServer.
getKeystore
public String getKeystore()
Get the location of keystore file.
getProvider
public String getProvider()
Get the configured provider.
main
public static void main(args[] )
Main method to create the class server. This takes
one command line arguments, the port on which the
server accepts requests.
setKeystore
public void setKeystore(String fconfigDir)
Set the location of keystore file.
setProvider
public void setProvider(String p)
Set the provider to use.
startSSLServer
public void startSSLServer(String[] args)
throws Exception
Start SSLServer and accept connections.