Class JSSParameters

java.lang.Object
javax.net.ssl.SSLParameters
org.mozilla.jss.ssl.javax.JSSParameters

public class JSSParameters extends SSLParameters
JSSParameters is an implementation of SSLParameters to interoperate with NSS. In particular, we extend SSLParameters to provide cipher suites and protocol versions as NSS constants. This aids with the JNI translation layer. We also create a default set of SSLParameters which use a null cipher suite list and null protocol version list to fall back on the NSS default. On RHEL-like systems, this will default to CryptoPolicies. We also need to store the desired certificate alias; this contrasts to the SNI functionality provided by SSLParameters in that it ties back to a certificate in the NSS DB and works with client certificates. When using the JSSEngine implementation of SSLEngine, only the alias will be used to find the certificate.