public final class Http2SslContextSpec extends AbstractProtocolSslContextSpec<Http2SslContextSpec>
SslProvider
will be set depending on OpenSsl.isAlpnSupported()
Http2SecurityUtil.CIPHERS
The default configuration is applied prior any other custom configuration.
Modifier and Type | Method and Description |
---|---|
protected Consumer<io.netty.handler.ssl.SslContextBuilder> |
defaultConfiguration() |
static Http2SslContextSpec |
forClient()
Creates a builder for new client-side
SslContext . |
static Http2SslContextSpec |
forServer(File keyCertChainFile,
File keyFile)
Creates a builder for new server-side
SslContext . |
static Http2SslContextSpec |
forServer(File keyCertChainFile,
File keyFile,
String keyPassword)
Creates a builder for new server-side
SslContext . |
static Http2SslContextSpec |
forServer(InputStream keyCertChainInputStream,
InputStream keyInputStream)
Creates a builder for new server-side
SslContext . |
static Http2SslContextSpec |
forServer(InputStream keyCertChainInputStream,
InputStream keyInputStream,
String keyPassword)
Creates a builder for new server-side
SslContext . |
static Http2SslContextSpec |
forServer(KeyManager keyManager)
Creates a builder for new server-side
SslContext . |
static Http2SslContextSpec |
forServer(KeyManagerFactory keyManagerFactory)
Creates a builder for new server-side
SslContext . |
static Http2SslContextSpec |
forServer(PrivateKey key,
Iterable<? extends X509Certificate> keyCertChain)
Creates a builder for new server-side
SslContext . |
static Http2SslContextSpec |
forServer(PrivateKey key,
String keyPassword,
Iterable<? extends X509Certificate> keyCertChain)
Creates a builder for new server-side
SslContext . |
static Http2SslContextSpec |
forServer(PrivateKey key,
String keyPassword,
X509Certificate... keyCertChain)
Creates a builder for new server-side
SslContext . |
static Http2SslContextSpec |
forServer(PrivateKey key,
X509Certificate... keyCertChain)
Creates a builder for new server-side
SslContext . |
Http2SslContextSpec |
get() |
configure, sslContext
public static Http2SslContextSpec forClient()
SslContext
.public static Http2SslContextSpec forServer(File keyCertChainFile, File keyFile)
SslContext
.SslContextBuilder.forServer(File, File)
public static Http2SslContextSpec forServer(File keyCertChainFile, File keyFile, String keyPassword)
SslContext
.SslContextBuilder.forServer(File, File, String)
public static Http2SslContextSpec forServer(InputStream keyCertChainInputStream, InputStream keyInputStream)
SslContext
.SslContextBuilder.forServer(InputStream, InputStream)
public static Http2SslContextSpec forServer(InputStream keyCertChainInputStream, InputStream keyInputStream, String keyPassword)
SslContext
.SslContextBuilder.forServer(InputStream, InputStream, String)
public static Http2SslContextSpec forServer(KeyManager keyManager)
SslContext
.SslContextBuilder.forServer(KeyManager)
public static Http2SslContextSpec forServer(KeyManagerFactory keyManagerFactory)
SslContext
.SslContextBuilder.forServer(KeyManagerFactory)
public static Http2SslContextSpec forServer(PrivateKey key, Iterable<? extends X509Certificate> keyCertChain)
SslContext
.SslContextBuilder.forServer(PrivateKey, Iterable)
public static Http2SslContextSpec forServer(PrivateKey key, String keyPassword, Iterable<? extends X509Certificate> keyCertChain)
SslContext
.SslContextBuilder.forServer(PrivateKey, String, Iterable)
public static Http2SslContextSpec forServer(PrivateKey key, String keyPassword, X509Certificate... keyCertChain)
SslContext
.SslContextBuilder.forServer(PrivateKey, String, X509Certificate...)
public static Http2SslContextSpec forServer(PrivateKey key, X509Certificate... keyCertChain)
SslContext
.SslContextBuilder.forServer(PrivateKey, X509Certificate...)
public Http2SslContextSpec get()
protected Consumer<io.netty.handler.ssl.SslContextBuilder> defaultConfiguration()
defaultConfiguration
in class AbstractProtocolSslContextSpec<Http2SslContextSpec>