testSNIMatchersDoesNotThrow() — netty Function Reference
Architecture documentation for the testSNIMatchersDoesNotThrow() function in OpenSslEngineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7b761790_f4dc_9d43_b284_3d60e5295d60["testSNIMatchersDoesNotThrow()"] 08957e63_66e1_e2b4_c8aa_4f617c598a7d["OpenSslEngineTest"] 7b761790_f4dc_9d43_b284_3d60e5295d60 -->|defined in| 08957e63_66e1_e2b4_c8aa_4f617c598a7d style 7b761790_f4dc_9d43_b284_3d60e5295d60 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java lines 1090–1108
@MethodSource("newTestParams")
@ParameterizedTest
public void testSNIMatchersDoesNotThrow(SSLEngineTestParam param) throws Exception {
SelfSignedCertificate ssc = CachedSelfSignedCertificate.getCachedCertificate();
serverSslCtx = wrapContext(param, SslContextBuilder.forServer(ssc.certificate(), ssc.privateKey())
.sslProvider(sslServerProvider())
.protocols(param.protocols())
.ciphers(param.ciphers())
.build());
SSLEngine engine = wrapEngine(serverSslCtx.newEngine(UnpooledByteBufAllocator.DEFAULT));
try {
SSLParameters parameters = new SSLParameters();
Java8SslTestUtils.setSNIMatcher(parameters, EmptyArrays.EMPTY_BYTES);
engine.setSSLParameters(parameters);
} finally {
cleanupServerSslEngine(engine);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testSNIMatchersDoesNotThrow() do?
testSNIMatchersDoesNotThrow() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java.
Where is testSNIMatchersDoesNotThrow() defined?
testSNIMatchersDoesNotThrow() is defined in handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java at line 1090.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free