SslContext which uses OpenSSL's SSL/TLS implementation.
This class will use a finalizer to ensure native resources are automatically cleaned up. To avoid finalizers
and manually release the native memory see ReferenceCountedOpenSslClientContext.
| Modifier and Type | Field and Description |
|---|---|
| private final OpenSslSessionContext |
| Access | Constructor and Description |
|---|---|
| pack-priv | OpenSslClientContext(X509Certificate[] trustCertCollection, TrustManagerFactory trustManagerFactory, X509Certificate[] keyCertChain, PrivateKey key, String keyPassword, KeyManagerFactory keyManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, String[] protocols, long sessionCacheSize, long sessionTimeout, boolean enableOcsp, String keyStore, Map.
|
| Modifier and Type | Method and Description |
|---|---|
| public OpenSslSessionContext | sessionContext()
Implements abstract io. SSLSessionContext object held by this context.
|
| sessionContext | back to summary |
|---|---|
| private final OpenSslSessionContext sessionContext | |
| OpenSslClientContext | back to summary |
|---|---|
| pack-priv OpenSslClientContext(X509Certificate[] trustCertCollection, TrustManagerFactory trustManagerFactory, X509Certificate[] keyCertChain, PrivateKey key, String keyPassword, KeyManagerFactory keyManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, String[] protocols, long sessionCacheSize, long sessionTimeout, boolean enableOcsp, String keyStore, Map. | |
| sessionContext | back to summary |
|---|---|
| public OpenSslSessionContext sessionContext() Implements abstract io. Doc from io. Returns the
| |