public class ExampleNettySslContextFactory extends Object
Modifier and Type | Field and Description |
---|---|
static Function<io.netty.handler.ssl.SslContextBuilder,io.netty.handler.ssl.SslContext> |
clientSslContextBuilderFunction |
Constructor and Description |
---|
ExampleNettySslContextFactory(Configuration configuration,
MockServerLogger mockServerLogger) |
ExampleNettySslContextFactory(MockServerLogger mockServerLogger)
Deprecated.
use constructor that specifies configuration explicitly
|
Modifier and Type | Method and Description |
---|---|
io.netty.handler.ssl.SslContext |
createClientSslContext(boolean forwardProxyClient) |
io.netty.handler.ssl.SslContext |
createServerSslContext() |
X509Certificate[] |
trustCertificateChain(String tlsMutualAuthenticationCertificateChain) |
ExampleNettySslContextFactory |
withClientSslContextBuilderFunction(Function<io.netty.handler.ssl.SslContextBuilder,io.netty.handler.ssl.SslContext> clientSslContextBuilderFunction) |
public static Function<io.netty.handler.ssl.SslContextBuilder,io.netty.handler.ssl.SslContext> clientSslContextBuilderFunction
@Deprecated public ExampleNettySslContextFactory(MockServerLogger mockServerLogger)
public ExampleNettySslContextFactory(Configuration configuration, MockServerLogger mockServerLogger)
public ExampleNettySslContextFactory withClientSslContextBuilderFunction(Function<io.netty.handler.ssl.SslContextBuilder,io.netty.handler.ssl.SslContext> clientSslContextBuilderFunction)
public io.netty.handler.ssl.SslContext createClientSslContext(boolean forwardProxyClient)
public io.netty.handler.ssl.SslContext createServerSslContext()
public X509Certificate[] trustCertificateChain(String tlsMutualAuthenticationCertificateChain)
Copyright © 2022. All rights reserved.