public class OpenSSLEngineOptions extends SSLEngineOptions
TCPSSLOptions to use OpenSsl.| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_SESSION_CACHE_ENABLED
Default value of whether session cache is enabled in open SSL session server context = true
|
DEFAULT_USE_WORKER_POOL| Constructor and Description |
|---|
OpenSSLEngineOptions() |
OpenSSLEngineOptions(JsonObject json) |
OpenSSLEngineOptions(OpenSSLEngineOptions other) |
| Modifier and Type | Method and Description |
|---|---|
OpenSSLEngineOptions |
copy() |
static boolean |
isAlpnAvailable() |
static boolean |
isAvailable() |
boolean |
isSessionCacheEnabled()
Whether session cache is enabled in open SSL session server context
|
OpenSSLEngineOptions |
setSessionCacheEnabled(boolean sessionCacheEnabled)
Set whether session cache is enabled in open SSL session server context
|
OpenSSLEngineOptions |
setUseWorkerThread(boolean useWorkerThread)
Set the thread pool to use for SSL blocking operations.
|
SslContextFactory |
sslContextFactory() |
JsonObject |
toJson() |
getUseWorkerThreadpublic static final boolean DEFAULT_SESSION_CACHE_ENABLED
public OpenSSLEngineOptions()
public OpenSSLEngineOptions(JsonObject json)
public OpenSSLEngineOptions(OpenSSLEngineOptions other)
public static boolean isAvailable()
public static boolean isAlpnAvailable()
public OpenSSLEngineOptions setSessionCacheEnabled(boolean sessionCacheEnabled)
sessionCacheEnabled - true if session cache is enabledpublic boolean isSessionCacheEnabled()
public OpenSSLEngineOptions setUseWorkerThread(boolean useWorkerThread)
SSLEngineOptionssetUseWorkerThread in class SSLEngineOptionsuseWorkerThread - whether to use the vertx internal worker pool for SSL blocking operationspublic JsonObject toJson()
public OpenSSLEngineOptions copy()
copy in class SSLEngineOptionspublic SslContextFactory sslContextFactory()
sslContextFactory in class SSLEngineOptionsSslContextFactory that will be used to produce the Netty SslContextCopyright © 2023 Eclipse. All rights reserved.