org.mozilla.jss.tests
Class SSLClientAuth
java.lang.Object
org.mozilla.jss.tests.SSLClientAuth
- Runnable
public class SSLClientAuth
extends java.lang.Object
implements Runnable
SSLClientAuth Server/client test.
serialNum
public int serialNum
serverReady
public boolean serverReady
doIt
public void doIt(String[] args)
throws Exception
getSuccess
public boolean getSuccess()
main
public static void main(String[] args)
throws Exception
makeCert
public static Certificate makeCert(String issuerName,
String subjectName,
int serialNumber,
PrivateKey privKey,
PublicKey pubKey,
int rand,
SEQUENCE extensions)
throws Exception
Method that generates a certificate for given credential
issuerName
- subjectName
- serialNumber
- privKey
- pubKey
- rand
- extensions
-
run
public void run()
Server run method.
setFailure
public void setFailure()