public class SniConfiguration extends Object
https://tools.ietf.org/html/rfc6066#page-6| Modifier and Type | Field and Description |
|---|---|
protected io.netty.util.DomainNameMappingBuilder<io.netty.handler.ssl.SslContext> |
mapping |
| Constructor and Description |
|---|
SniConfiguration(SSLContext defaultServerKeystore)
Constructs new
SniConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
SniConfiguration |
addSniMapping(String sniHostName,
SSLContext sslContext)
Adds SNI mapping.
|
protected io.netty.util.DomainNameMapping<io.netty.handler.ssl.SslContext> |
buildMapping() |
protected final io.netty.util.DomainNameMappingBuilder<io.netty.handler.ssl.SslContext> mapping
public SniConfiguration(SSLContext defaultServerKeystore)
SniConfiguration.defaultServerKeystore - default keystore to be used when no SNI is specified by the client.public SniConfiguration addSniMapping(String sniHostName, SSLContext sslContext)
sniHostName - SNI Host Name from TLS Extensions.sslContext - SSLContext to be associated with given SNI Host Name.this configuration.protected io.netty.util.DomainNameMapping<io.netty.handler.ssl.SslContext> buildMapping()
Copyright © 2017 JBoss by Red Hat. All rights reserved.