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
|
Constructor and Description |
---|
OpenSSLEngineOptions() |
OpenSSLEngineOptions(JsonObject json) |
OpenSSLEngineOptions(OpenSSLEngineOptions other) |
Modifier and Type | Method and Description |
---|---|
OpenSSLEngineOptions |
clone() |
OpenSSLEngineOptions |
copy() |
boolean |
equals(Object o) |
int |
hashCode() |
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
|
JsonObject |
toJson() |
public 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 JsonObject toJson()
public OpenSSLEngineOptions clone()
clone
in class SSLEngineOptions
public OpenSSLEngineOptions copy()
copy
in class SSLEngineOptions
Copyright © 2023 Eclipse. All rights reserved.