java.lang.ObjectInstances of this class represent a secure socket protocol implementation which acts as a factory for secure socket factories orjavax.net.ssl.SSLContext
SSLEngine
s. This class is initialized
with an optional set of key and trust managers and source of
secure random bytes.
Every implementation of the Java platform is required to support the
following standard SSLContext
protocol:
1.4
- Constructor: |
---|
|
Method from javax.net.ssl.SSLContext Summary: |
---|
createSSLEngine, createSSLEngine, getClientSessionContext, getDefault, getDefaultSSLParameters, getInstance, getInstance, getInstance, getProtocol, getProvider, getServerSessionContext, getServerSocketFactory, getSocketFactory, getSupportedSSLParameters, init, setDefault |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.net.ssl.SSLContext Detail: |
---|
SSLEngine using this context.
Applications using this factory method are providing no hints for an internal session reuse strategy. If hints are desired, #createSSLEngine(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 using this context using
advisory peer information.
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. |
This context may be unavailable in some environments, in which case this method returns null. For example, when the underlying SSL provider does not provide an implementation of SSLSessionContext interface, this method returns null. A non-null session context is returned otherwise. |
If a default context was set using the SSLContext.setDefault() method, it is returned. Otherwise, the first
call of this method triggers the call
The default context is immediately usable and does not require {@linkplain #init initialization}. |
The parameters will always have the ciphersuites and protocols arrays set to non-null values. |
SSLContext object that implements the
specified secure socket protocol.
This method traverses the list of registered security Providers, starting with the most preferred Provider. A new SSLContext object encapsulating the SSLContextSpi implementation from the first Provider that supports the specified protocol is returned. Note that the list of registered providers may be retrieved via the Security.getProviders() method. |
SSLContext object that implements the
specified secure socket protocol.
A new SSLContext object encapsulating the SSLContextSpi implementation from the specified provider is returned. The specified provider must be registered in the security provider list. Note that the list of registered providers may be retrieved via the Security.getProviders() method. |
SSLContext object that implements the
specified secure socket protocol.
A new SSLContext object encapsulating the SSLContextSpi implementation from the specified Provider object is returned. Note that the specified Provider object does not have to be registered in the provider list. |
SSLContext object.
This is the same name that was specified in one of the
|
SSLContext object. |
This context may be unavailable in some environments, in which case this method returns null. For example, when the underlying SSL provider does not provide an implementation of SSLSessionContext interface, this method returns null. A non-null session context is returned otherwise. |
ServerSocketFactory object for
this context. |
SocketFactory object for this
context. |
The parameters will always have the ciphersuites and protocols arrays set to non-null values. |
Only the first instance of a particular key and/or trust manager implementation type in the array is used. (For example, only the first javax.net.ssl.X509KeyManager in the array will be used.) |
|