| Modifier and Type | Field and Description | 
|---|---|
| boolean | enabledEnables SSL. | 
| String | keyStoreThe file location of the private key in JKS or PKCS#12 format. | 
| String | keyStorePasswordThe password of the  keyStore, ornullif it's not password-protected. | 
| String | keyStoreType | 
| io.netty.handler.ssl.ClientAuth | needClientAuthRequire client certificate authentication | 
| List<String> | sslCipherSuitesA list of cipher suites to enable. | 
| List<String> | sslEnabledProtocolsA list of SSL protocols to enable. | 
| String | trustStoreTrusted certificates for verifying the remote client's certificate. | 
| String | trustStorePasswordThe password of the  trustStore, ornullif it's not password-protected. | 
| String | trustStoreType | 
| Constructor and Description | 
|---|
| SslSettings() | 
| Modifier and Type | Method and Description | 
|---|---|
| Optional<io.netty.handler.ssl.SslContext> | getSslContext() | 
| void | overrideSslContext(io.netty.handler.ssl.SslContext sslContext)When this value is set, the other settings for SSL are ignored. | 
public boolean enabled
public String keyStore
public String keyStorePassword
keyStore, or null if it's not password-protected.public String trustStore
TrustManager will be used.public String trustStorePassword
trustStore, or null if it's not password-protected.public String keyStoreType
public String trustStoreType
public List<String> sslEnabledProtocols
public List<String> sslCipherSuites
public io.netty.handler.ssl.ClientAuth needClientAuth
public void overrideSslContext(io.netty.handler.ssl.SslContext sslContext)
enabled setting should still be set to
 true for this setting to take effect.public Optional<io.netty.handler.ssl.SslContext> getSslContext()
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.