testBeginHandshakeAfterEngineClosed() — netty Function Reference
Architecture documentation for the testBeginHandshakeAfterEngineClosed() function in SSLEngineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 108cc12f_38e4_8298_8b95_0792240d44c2["testBeginHandshakeAfterEngineClosed()"] 9150c92a_2afc_b83a_c3bf_86dfac6e9d9b["SSLEngineTest"] 108cc12f_38e4_8298_8b95_0792240d44c2 -->|defined in| 9150c92a_2afc_b83a_c3bf_86dfac6e9d9b bf19737b_7dc7_9dfd_0a67_ae31448ebbe8["protocols()"] 108cc12f_38e4_8298_8b95_0792240d44c2 -->|calls| bf19737b_7dc7_9dfd_0a67_ae31448ebbe8 e3b541e6_b593_4b1f_a637_da19020e73df["ciphers()"] 108cc12f_38e4_8298_8b95_0792240d44c2 -->|calls| e3b541e6_b593_4b1f_a637_da19020e73df 87e8e20d_ffbe_f5c3_4fd0_7d8ac419206d["cleanupClientSslEngine()"] 108cc12f_38e4_8298_8b95_0792240d44c2 -->|calls| 87e8e20d_ffbe_f5c3_4fd0_7d8ac419206d style 108cc12f_38e4_8298_8b95_0792240d44c2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java lines 2413–2443
@MethodSource("newTestParams")
@ParameterizedTest
public void testBeginHandshakeAfterEngineClosed(SSLEngineTestParam param) throws SSLException {
clientSslCtx = wrapContext(param, SslContextBuilder
.forClient()
.sslContextProvider(clientSslContextProvider())
.sslProvider(sslClientProvider())
.protocols(param.protocols())
.ciphers(param.ciphers())
.build());
SSLEngine client = wrapEngine(clientSslCtx.newEngine(UnpooledByteBufAllocator.DEFAULT));
try {
client.closeInbound();
client.closeOutbound();
try {
client.beginHandshake();
fail();
} catch (SSLException expected) {
// expected
} catch (IllegalStateException e) {
if (!Conscrypt.isEngineSupported(client)) {
throw e;
}
// Workaround for conscrypt bug
// See https://github.com/google/conscrypt/issues/840
}
} finally {
cleanupClientSslEngine(client);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testBeginHandshakeAfterEngineClosed() do?
testBeginHandshakeAfterEngineClosed() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java.
Where is testBeginHandshakeAfterEngineClosed() defined?
testBeginHandshakeAfterEngineClosed() is defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java at line 2413.
What does testBeginHandshakeAfterEngineClosed() call?
testBeginHandshakeAfterEngineClosed() calls 3 function(s): ciphers, cleanupClientSslEngine, protocols.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free