Public to allow contruction via the provider framework.
| Modifier and Type | Class and Description |
|---|---|
| public static class | OpenSSLContextImpl.TLSv1
Public to allow construction via the provider framework. |
| public static class | OpenSSLContextImpl.TLSv11
Public to allow construction via the provider framework. |
| public static class | OpenSSLContextImpl.TLSv12
Public to allow construction via the provider framework. |
| public static class | OpenSSLContextImpl.TLSv13
Public to allow construction via the provider framework. |
| Modifier and Type | Field and Description |
|---|---|
| private final ClientSessionContext | clientSessionContext
Client session cache. |
| private static DefaultSSLContextImpl | defaultSslContextImpl
The default SSLContextImpl for use with SSLContext.getInstance("Default"). |
| private final String[] | protocols
TLS protocols to enable by default. |
| private final ServerSessionContext | serverSessionContext
Server session cache. |
| pack-priv SSLParametersImpl |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public SSLEngine | engineCreateSSLEngine(String
the non-authoritative name of the host host, int the non-authoritative port port)Implements abstract javax. SSLEngine using this context.
|
| public SSLEngine | engineCreateSSLEngine()
Implements abstract javax. SSLEngine using this context.
|
| public SSLSessionContext | engineGetClientSessionContext()
Implements abstract javax. SSLSessionContext object for
this context.
|
| public SSLSessionContext | engineGetServerSessionContext()
Implements abstract javax. SSLSessionContext object for
this context.
|
| public SSLServerSocketFactory | engineGetServerSocketFactory()
Implements abstract javax. ServerSocketFactory object for
this context.
|
| public SSLSocketFactory | engineGetSocketFactory()
Implements abstract javax. SocketFactory object for this
context.
|
| public void | engineInit(KeyManager[]
the key sources or kms, TrustManager[] nullthe trust decision sources or tms, SecureRandom nullthe randomness source or sr)nullImplements abstract javax. SSLContext instance.
|
| pack-priv static OpenSSLContextImpl |
| clientSessionContext | back to summary |
|---|---|
| private final ClientSessionContext clientSessionContext Client session cache. | |
| defaultSslContextImpl | back to summary |
|---|---|
| private static DefaultSSLContextImpl defaultSslContextImpl The default SSLContextImpl for use with SSLContext.getInstance("Default"). Protected by the DefaultSSLContextImpl.class monitor. | |
| protocols | back to summary |
|---|---|
| private final String[] protocols TLS protocols to enable by default. | |
| serverSessionContext | back to summary |
|---|---|
| private final ServerSessionContext serverSessionContext Server session cache. | |
| sslParameters | back to summary |
|---|---|
| pack-priv SSLParametersImpl sslParameters | |
| OpenSSLContextImpl | back to summary |
|---|---|
| pack-priv OpenSSLContextImpl(String[] protocols) | |
| OpenSSLContextImpl | back to summary |
|---|---|
| pack-priv OpenSSLContextImpl(String[] protocols, boolean unused) throws GeneralSecurityException, IOException Constuctor for the DefaultSSLContextImpl. The unused boolean parameter is solely to indicate that this constructor is desired. | |
| engineCreateSSLEngine | back to summary |
|---|---|
| public SSLEngine engineCreateSSLEngine(String host, int port) Implements abstract javax. Doc from javax. Creates a 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. | |
| engineCreateSSLEngine | back to summary |
|---|---|
| public SSLEngine engineCreateSSLEngine() Implements abstract javax. Doc from javax. Creates a new
Applications using this factory method are providing no hints
for an internal session reuse strategy. If hints are desired,
Some cipher suites (such as Kerberos) require remote hostname information, in which case this factory method should not be used. | |
| engineGetClientSessionContext | back to summary |
|---|---|
| public SSLSessionContext engineGetClientSessionContext() Implements abstract javax. Doc from javax. Returns a client
| |
| engineGetServerSessionContext | back to summary |
|---|---|
| public SSLSessionContext engineGetServerSessionContext() Implements abstract javax. Doc from javax. Returns a server
| |
| engineGetServerSocketFactory | back to summary |
|---|---|
| public SSLServerSocketFactory engineGetServerSocketFactory() Implements abstract javax. Doc from javax. Returns a
| |
| engineGetSocketFactory | back to summary |
|---|---|
| public SSLSocketFactory engineGetSocketFactory() Implements abstract javax. Doc from javax. Returns a
| |
| engineInit | back to summary |
|---|---|
| public void engineInit(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) throws KeyManagementException Implements abstract javax. Initializes this
| |
| getPreferred | back to summary |
|---|---|
| pack-priv static OpenSSLContextImpl getPreferred() Allows outside callers to get the preferred SSLContext. | |
| Access | Constructor and Description |
|---|---|
| public |
| TLSv1 | back to summary |
|---|---|
| public TLSv1() | |
| Access | Constructor and Description |
|---|---|
| public |
| TLSv11 | back to summary |
|---|---|
| public TLSv11() | |
| Access | Constructor and Description |
|---|---|
| public |
| TLSv12 | back to summary |
|---|---|
| public TLSv12() | |
| Access | Constructor and Description |
|---|---|
| public |
| TLSv13 | back to summary |
|---|---|
| public TLSv13() | |