public class SocketSslSessionReuseTest extends AbstractSocketTest
AbstractComboTestsuiteTest.Runner<SB extends io.netty.bootstrap.AbstractBootstrap<?,?>,CB extends io.netty.bootstrap.AbstractBootstrap<?,?>>cb, sb| Constructor and Description |
|---|
SocketSslSessionReuseTest() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<Object[]> |
jdkAndOpenSSL() |
static Collection<Object[]> |
jdkOnly() |
void |
testSslSessionReuse(io.netty.bootstrap.ServerBootstrap sb,
io.netty.bootstrap.Bootstrap cb,
io.netty.handler.ssl.SslContext serverCtx,
io.netty.handler.ssl.SslContext clientCtx) |
void |
testSslSessionReuse(io.netty.handler.ssl.SslContextBuilder serverCtx,
io.netty.handler.ssl.SslContextBuilder clientCtx,
org.junit.jupiter.api.TestInfo testInfo) |
void |
testSslSessionTrustManagerResumption(io.netty.bootstrap.ServerBootstrap sb,
io.netty.bootstrap.Bootstrap cb,
io.netty.handler.ssl.SslContextBuilder serverCtxBldr,
io.netty.handler.ssl.SslContextBuilder clientCtxBldr) |
void |
testSslSessionTrustManagerResumption(io.netty.handler.ssl.SslContextBuilder serverCtx,
io.netty.handler.ssl.SslContextBuilder clientCtx,
org.junit.jupiter.api.TestInfo testInfo) |
configure, newFactories, newSocketAddressnewAllocators, runpublic static Collection<Object[]> jdkOnly() throws Exception
Exceptionpublic static Collection<Object[]> jdkAndOpenSSL() throws Exception
Exception@ParameterizedTest(name="{index}: serverEngine = {0}, clientEngine = {1}")
@MethodSource(value="jdkOnly")
@Timeout(value=30000L,
unit=MILLISECONDS)
public void testSslSessionReuse(io.netty.handler.ssl.SslContextBuilder serverCtx,
io.netty.handler.ssl.SslContextBuilder clientCtx,
org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwablepublic void testSslSessionReuse(io.netty.bootstrap.ServerBootstrap sb,
io.netty.bootstrap.Bootstrap cb,
io.netty.handler.ssl.SslContext serverCtx,
io.netty.handler.ssl.SslContext clientCtx)
throws Throwable
Throwable@ParameterizedTest(name="{index}: serverEngine = {0}, clientEngine = {1}")
@MethodSource(value="jdkAndOpenSSL")
@Timeout(value=30000L,
unit=MILLISECONDS)
public void testSslSessionTrustManagerResumption(io.netty.handler.ssl.SslContextBuilder serverCtx,
io.netty.handler.ssl.SslContextBuilder clientCtx,
org.junit.jupiter.api.TestInfo testInfo)
throws Throwable
Throwablepublic void testSslSessionTrustManagerResumption(io.netty.bootstrap.ServerBootstrap sb,
io.netty.bootstrap.Bootstrap cb,
io.netty.handler.ssl.SslContextBuilder serverCtxBldr,
io.netty.handler.ssl.SslContextBuilder clientCtxBldr)
throws Throwable
ThrowableCopyright © 2008–2025 The Netty Project. All rights reserved.