Returns the SSL session context that encapsulates the set of SSL sessions
that can be used for the client side of the SSL handshake.
return
the SSL client session context for this context or {@code null}
if the underlying provider does not provide an implementation of
the {@code SSLSessionContext} interface.
Returns the SSL session context that encapsulates the set of SSL sessions
that can be used for the server side of the SSL handshake.
return
the SSL server session context for this context or {@code null}
if the underlying provider does not provide an implementation of
the {@code SSLSessionContext} interface.
Initializes this {@code SSLContext} instance. All of the arguments are
optional, and the security providers will be searched for the required
implementations of the needed algorithms.
param
km
the key sources or {@code null}.
param
tm
the trust decision sources or {@code null}.
param
sr
the randomness source or {@code null.}
throws
KeyManagementException
if initializing this instance fails.