Package org.mozilla.jss.ssl
Class SSLClient
java.lang.Object
org.mozilla.jss.ssl.SSLClient
Parameters supported by this socket test:
filename file to be read from https server (default: /index.html)
port port to connect to (default: 443)
ipaddr address to connect to (overrides hostname, no default)
hostname host to connect to (no default)
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
cipher
sessionKeySize
sessionSecretSize
issuer
subject
certSerialNum
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String[](package private) static final int[](package private) boolean(package private) String(package private) booleanprivate static String(package private) String(package private) PrintStream(package private) String[](package private) String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Stringprivate Stringprivate StringescapeHTML(String s) given an input string, convert less-than, greater-than, and ampersand from raw characters to escaped characters (< becomes `<', etc.)private StringgetArgument(String key) private booleanstatic voidvoidrun(boolean printHeader, boolean testRegression)
-
Field Details
-
Constructor Details
-
SSLClient
-
-
Method Details
-
isInvalid
-
getArgument
-
cmp
-
cmp
-
run
public void run(boolean printHeader, boolean testRegression) -
escapeHTML
given an input string, convert less-than, greater-than, and ampersand from raw characters to escaped characters (< becomes `<', etc.) -
main
- Throws:
Exception
-