Initializes the parameters. Naturally this constructor is used in SSLContextImpl.engineInit method which directly passes its parameters. In other words this constructor holds all the functionality provided by SSLContext.init method. See {@link javax.net.ssl.SSLContext#init(KeyManager[],TrustManager[], SecureRandom)} for more information
@return client session context
Returns the value indicating if the peer with this parameters allowed to cteate new SSL session
@return the names of enabled cipher suites
@return the set of enabled protocols
Returns the value indicating if the peer with this parameters tuned to require client authentication
Returns the appropriate session context.
Returns the value indicating if the parameters configured to work in client mode.
Returns whether connections using this SSL connection should use the TLS extension Server Name Indication (SNI).
Returns the value indicating if the peer with this parameters tuned to request client authentication
Check if SCT verification is enforced for a given hostname.
Used for server-mode only. Sets or clears the application-provided ALPN protocol selector. If set, will override the protocol list provided by {@link #setApplicationProtocols(string[])}.
Sets the list of ALPN protocols.
For testing only.
Allows/disallows the peer holding this parameters to create new SSL session
Sets the enabled cipher suites after filtering through OpenSSL.
Sets the list of available protocols for use in SSL connection. @throws IllegalArgumentException if {@code protocols is null}
Tunes the peer holding this parameters to require client authentication
For testing only.
For testing only.
Tunes the peer holding this parameters to work in client mode. @param mode if the peer is configured to work in client mode
Whether connections using this SSL connection should use the TLS extension Server Name Indication (SNI).
Tunes the peer holding this parameters to request client authentication
Returns the clone of this object. @return the clone.
Whether the TLS Channel ID extension is enabled. This field is server-side only.
The instances of this class encapsulate all the info about enabled cipher suites and protocols, as well as the information about client/server mode of ssl socket, whether it require/want client authentication or not, and controls whether new SSL sessions may be established by this socket or not.