java.lang.Object | |
↳ | javax.net.ssl.SSLContextSpi |
The Service Provider Interface (SPI) for the SSLContext
class.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
SSLContextSpi instance. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an
SSLEngine instance from this context. | |||||||||||
Creates an
SSLEngine instance from this context with the
specified hostname and port. | |||||||||||
Returns the SSL session context that encapsulates the set of SSL sessions
that can be used for the client side of the SSL handshake.
| |||||||||||
Returns the SSL session context that encapsulates the set of SSL sessions
that can be used for the server side of the SSL handshake.
| |||||||||||
Returns a server socket factory for this instance.
| |||||||||||
Returns a socket factory for this instance.
| |||||||||||
Initializes this
SSLContext instance. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Creates an SSLEngine
instance from this context.
SSLEngine
instance from this context.UnsupportedOperationException | if the provider does not support the operation. |
---|
Creates an SSLEngine
instance from this context with the
specified hostname and port.
host | the name of the host |
---|---|
port | the port |
SSLEngine
instance from this context.UnsupportedOperationException | if the provider does not support the operation. |
---|
Returns the SSL session context that encapsulates the set of SSL sessions that can be used for the client side of the SSL handshake.
null
if the underlying provider does not provide an implementation of
the 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.
null
if the underlying provider does not provide an implementation of
the SSLSessionContext
interface.
Returns a server socket factory for this instance.
Returns a socket factory for this instance.
Initializes this SSLContext
instance. All of the arguments are
optional, and the security providers will be searched for the required
implementations of the needed algorithms.
km | the key sources or null . |
---|---|
tm | the trust decision sources or null . |
sr | the randomness source or null. |
KeyManagementException | if initializing this instance fails. |
---|