| java.lang.Object | ||
| ↳ | javax.net.ssl.SSLContextSpi | |
| ↳ | sun.security.ssl.SSLContextImpl | |
Known Direct Subclasses
|
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a
SSLEngine using this context. | |||||||||||
Creates a new
SSLEngine using this context. | |||||||||||
Returns a client
SSLSessionContext object for
this context. | |||||||||||
Returns a server
SSLSessionContext object for
this context. | |||||||||||
Returns a
ServerSocketFactory object for
this context. | |||||||||||
Returns a
SocketFactory object for this
context. | |||||||||||
Initializes this context.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.net.ssl.SSLContextSpi
| |||||||||||
From class
java.lang.Object
| |||||||||||
Creates a SSLEngine using this context.
Applications using this factory method are providing hints for an internal session reuse strategy.
Some cipher suites (such as Kerberos) require remote hostname information, in which case peerHost needs to be specified.
| host | the non-authoritative name of the host |
|---|---|
| port | the non-authoritative port |
SSLEngine ObjectCreates a new SSLEngine using this context.
Applications using this factory method are providing no hints
for an internal session reuse strategy. If hints are desired,
engineCreateSSLEngine(String, int) should be used
instead.
Some cipher suites (such as Kerberos) require remote hostname information, in which case this factory method should not be used.
SSLEngine ObjectReturns a client SSLSessionContext object for
this context.
SSLSessionContext objectReturns a server SSLSessionContext object for
this context.
SSLSessionContext objectReturns a ServerSocketFactory object for
this context.
ServerSocketFactory objectReturns a SocketFactory object for this
context.
SocketFactory objectInitializes this context.
| km | the sources of authentication keys |
|---|---|
| tm | the sources of peer authentication trust decisions |
| sr | the source of randomness |
| KeyManagementException |
|---|