@Incubating public final class Http3SslContextSpec extends Object implements SslProvider.GenericSslContextSpecWithSniSupport<QuicSslContextBuilder>
The default configuration is applied prior any other custom configuration.
Http3.supportedApplicationProtocols()| Modifier and Type | Method and Description |
|---|---|
Http3SslContextSpec |
configure(Consumer<QuicSslContextBuilder> sslCtxBuilder) |
static Http3SslContextSpec |
forClient()
Creates a builder for new client-side
SslContext. |
static Http3SslContextSpec |
forServer(File keyFile,
String keyPassword,
File certChainFile)
Creates a builder for new server-side
SslContext. |
static Http3SslContextSpec |
forServer(KeyManagerFactory keyManagerFactory,
String password)
Creates a builder for new server-side
SslContext. |
static Http3SslContextSpec |
forServer(KeyManager keyManager,
String keyPassword)
Creates a builder for new server-side
SslContext. |
static Http3SslContextSpec |
forServer(PrivateKey key,
String keyPassword,
X509Certificate... certChain)
Creates a builder for new server-side
SslContext. |
SslContext |
sslContext() |
SslContext |
sslContext(Map<String,SslProvider> sniMappings) |
public static Http3SslContextSpec forClient()
SslContext.QuicSslContextBuilder.forClient()public static Http3SslContextSpec forServer(File keyFile, @Nullable String keyPassword, File certChainFile)
SslContext.public static Http3SslContextSpec forServer(KeyManager keyManager, @Nullable String keyPassword)
SslContext.public static Http3SslContextSpec forServer(KeyManagerFactory keyManagerFactory, @Nullable String password)
SslContext.public static Http3SslContextSpec forServer(PrivateKey key, @Nullable String keyPassword, X509Certificate... certChain)
SslContext.public Http3SslContextSpec configure(Consumer<QuicSslContextBuilder> sslCtxBuilder)
configure in interface SslProvider.GenericSslContextSpec<QuicSslContextBuilder>configure in interface SslProvider.GenericSslContextSpecWithSniSupport<QuicSslContextBuilder>public SslContext sslContext() throws SSLException
sslContext in interface SslProvider.GenericSslContextSpec<QuicSslContextBuilder>SSLExceptionpublic SslContext sslContext(Map<String,SslProvider> sniMappings) throws SSLException
sslContext in interface SslProvider.GenericSslContextSpecWithSniSupport<QuicSslContextBuilder>SSLException