testBeginHandshakeCloseOutbound() — netty Function Reference
Architecture documentation for the testBeginHandshakeCloseOutbound() function in SSLEngineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0f2c29a8_d749_87ba_84c4_80124b63162b["testBeginHandshakeCloseOutbound()"] 9150c92a_2afc_b83a_c3bf_86dfac6e9d9b["SSLEngineTest"] 0f2c29a8_d749_87ba_84c4_80124b63162b -->|defined in| 9150c92a_2afc_b83a_c3bf_86dfac6e9d9b bf19737b_7dc7_9dfd_0a67_ae31448ebbe8["protocols()"] 0f2c29a8_d749_87ba_84c4_80124b63162b -->|calls| bf19737b_7dc7_9dfd_0a67_ae31448ebbe8 e3b541e6_b593_4b1f_a637_da19020e73df["ciphers()"] 0f2c29a8_d749_87ba_84c4_80124b63162b -->|calls| e3b541e6_b593_4b1f_a637_da19020e73df 87e8e20d_ffbe_f5c3_4fd0_7d8ac419206d["cleanupClientSslEngine()"] 0f2c29a8_d749_87ba_84c4_80124b63162b -->|calls| 87e8e20d_ffbe_f5c3_4fd0_7d8ac419206d 78ad5fe5_58d2_9877_f633_22a7048c0e5e["cleanupServerSslEngine()"] 0f2c29a8_d749_87ba_84c4_80124b63162b -->|calls| 78ad5fe5_58d2_9877_f633_22a7048c0e5e style 0f2c29a8_d749_87ba_84c4_80124b63162b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java lines 2445–2475
@MethodSource("newTestParams")
@ParameterizedTest
public void testBeginHandshakeCloseOutbound(SSLEngineTestParam param) throws Exception {
SelfSignedCertificate cert = CachedSelfSignedCertificate.getCachedCertificate();
clientSslCtx = wrapContext(param, SslContextBuilder
.forClient()
.sslContextProvider(clientSslContextProvider())
.sslProvider(sslClientProvider())
.protocols(param.protocols())
.ciphers(param.ciphers())
.build());
SSLEngine client = wrapEngine(clientSslCtx.newEngine(UnpooledByteBufAllocator.DEFAULT));
serverSslCtx = wrapContext(param, SslContextBuilder
.forServer(cert.certificate(), cert.privateKey())
.sslContextProvider(serverSslContextProvider())
.sslProvider(sslServerProvider())
.protocols(param.protocols())
.ciphers(param.ciphers())
.build());
SSLEngine server = wrapEngine(serverSslCtx.newEngine(UnpooledByteBufAllocator.DEFAULT));
try {
testBeginHandshakeCloseOutbound(param, client);
testBeginHandshakeCloseOutbound(param, server);
} finally {
cleanupClientSslEngine(client);
cleanupServerSslEngine(server);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testBeginHandshakeCloseOutbound() do?
testBeginHandshakeCloseOutbound() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java.
Where is testBeginHandshakeCloseOutbound() defined?
testBeginHandshakeCloseOutbound() is defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java at line 2445.
What does testBeginHandshakeCloseOutbound() call?
testBeginHandshakeCloseOutbound() calls 4 function(s): ciphers, cleanupClientSslEngine, cleanupServerSslEngine, protocols.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free