public class ServerSslConfig extends Object
Modifier and Type | Field and Description |
---|---|
CertificateConfig |
certificate
The server certificate configuration.
|
Optional<org.wildfly.security.ssl.CipherSuiteSelector> |
cipherSuites
The cipher suites to use.
|
List<org.wildfly.security.ssl.Protocol> |
protocols
The list of protocols to explicitly enable.
|
Optional<String> |
providerName
The SSL provider name to use.
|
OptionalInt |
sessionCacheSize
The SSL session cache size.
|
Optional<Duration> |
sessionTimeout
The SSL session cache timeout.
|
Constructor and Description |
---|
ServerSslConfig() |
Modifier and Type | Method and Description |
---|---|
(package private) static org.wildfly.common.iteration.CodePointIterator |
load(Path path) |
SSLContext |
toSSLContext()
Get an
SSLContext for this server configuration. |
public CertificateConfig certificate
@ConfigItem public Optional<org.wildfly.security.ssl.CipherSuiteSelector> cipherSuites
@ConfigItem(defaultValue="TLSv1.3,TLSv1.2") public List<org.wildfly.security.ssl.Protocol> protocols
@ConfigItem public Optional<String> providerName
@ConfigItem public OptionalInt sessionCacheSize
@ConfigItem public Optional<Duration> sessionTimeout
public SSLContext toSSLContext() throws GeneralSecurityException, IOException
SSLContext
for this server configuration.SSLContext
, or null
if SSL should not be configuredGeneralSecurityException
- if something failed in the context setupIOException
static org.wildfly.common.iteration.CodePointIterator load(Path path) throws IOException
IOException
Copyright © 2019 JBoss by Red Hat. All rights reserved.