Home / Function/ testCloseInboundAfterBeginHandshake() — netty Function Reference

testCloseInboundAfterBeginHandshake() — netty Function Reference

Architecture documentation for the testCloseInboundAfterBeginHandshake() function in SSLEngineTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a994e4a6_a77e_44dc_f778_9d0bf1707c43["testCloseInboundAfterBeginHandshake()"]
  9150c92a_2afc_b83a_c3bf_86dfac6e9d9b["SSLEngineTest"]
  a994e4a6_a77e_44dc_f778_9d0bf1707c43 -->|defined in| 9150c92a_2afc_b83a_c3bf_86dfac6e9d9b
  bf19737b_7dc7_9dfd_0a67_ae31448ebbe8["protocols()"]
  a994e4a6_a77e_44dc_f778_9d0bf1707c43 -->|calls| bf19737b_7dc7_9dfd_0a67_ae31448ebbe8
  e3b541e6_b593_4b1f_a637_da19020e73df["ciphers()"]
  a994e4a6_a77e_44dc_f778_9d0bf1707c43 -->|calls| e3b541e6_b593_4b1f_a637_da19020e73df
  87e8e20d_ffbe_f5c3_4fd0_7d8ac419206d["cleanupClientSslEngine()"]
  a994e4a6_a77e_44dc_f778_9d0bf1707c43 -->|calls| 87e8e20d_ffbe_f5c3_4fd0_7d8ac419206d
  78ad5fe5_58d2_9877_f633_22a7048c0e5e["cleanupServerSslEngine()"]
  a994e4a6_a77e_44dc_f778_9d0bf1707c43 -->|calls| 78ad5fe5_58d2_9877_f633_22a7048c0e5e
  style a994e4a6_a77e_44dc_f778_9d0bf1707c43 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java lines 2498–2528

    @MethodSource("newTestParams")
    @ParameterizedTest
    public void testCloseInboundAfterBeginHandshake(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 {
            testCloseInboundAfterBeginHandshake(client);
            testCloseInboundAfterBeginHandshake(server);
        } finally {
            cleanupClientSslEngine(client);
            cleanupServerSslEngine(server);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testCloseInboundAfterBeginHandshake() do?
testCloseInboundAfterBeginHandshake() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java.
Where is testCloseInboundAfterBeginHandshake() defined?
testCloseInboundAfterBeginHandshake() is defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java at line 2498.
What does testCloseInboundAfterBeginHandshake() call?
testCloseInboundAfterBeginHandshake() 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