|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.jss.tests.JSS_SelfServClient
public class JSS_SelfServClient
Nested Class Summary | |
---|---|
class |
JSS_SelfServClient.HandshakeListener
SSL Handshake Listeren implementation. |
Constructor Summary | |
---|---|
JSS_SelfServClient()
Default Constructor, do not use. |
Method Summary | |
---|---|
void |
clearHandshakeCompleted()
Clear handshakeCompleted flag to indicate that the system is now ready for another socket connection. |
void |
doIt(int cntr)
Initialize and create a socket connection to SSLServer using the set parameters. |
boolean |
getSuccess()
Set status return value to success. |
boolean |
isHandshakeCompleted()
Return true if handshake is completed else return false; |
static void |
main(java.lang.String[] args)
Main method. |
void |
setCertDbPath(java.lang.String aCertDbPath)
Initialize the cert db path name |
void |
setCipher(int aCipher)
Initialize the desired cipher to be set on the socket. |
void |
setClientCertNick(java.lang.String aClientCertNick)
Set client certificate |
void |
setEOF(java.lang.String fEof)
Set EOF for closinng server socket |
void |
setFailure()
Set status return value to false. |
void |
setHandshakeCompleted()
Set handshakeCompleted flag to indicate that the socket handshake is coplete. |
void |
setHostName(java.lang.String aHostName)
Initialize the hostname to run the server |
void |
setPasswordFile(java.lang.String aPasswordFile)
Initialize the passwords file name |
void |
setPort(int aPort)
Initialize the port to run the server |
void |
setTestCertCallback(boolean aTestCertCallback)
Enable/disable Test Cert Callback. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSS_SelfServClient()
Method Detail |
---|
public void setCipher(int aCipher)
int
- Cipherpublic void setHostName(java.lang.String aHostName)
String
- ServerNamepublic void setPort(int aPort)
int
- portpublic void setPasswordFile(java.lang.String aPasswordFile)
String
- passwordspublic void setCertDbPath(java.lang.String aCertDbPath)
String
- CertDbPathpublic void setTestCertCallback(boolean aTestCertCallback)
boolean
- public void setClientCertNick(java.lang.String aClientCertNick)
String
- Certificate Nick Namepublic boolean isHandshakeCompleted()
public void setHandshakeCompleted()
public void clearHandshakeCompleted()
public void setEOF(java.lang.String fEof)
null
- for closing server socketpublic void doIt(int cntr) throws java.lang.Exception
java.lang.Exception
public void setFailure()
public boolean getSuccess()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |