Home / Function/ testExtraDataInLastSrcBufferForClientUnwrap() — netty Function Reference

testExtraDataInLastSrcBufferForClientUnwrap() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a6678f8a_68c7_f2df_27dd_7fac4611680f["testExtraDataInLastSrcBufferForClientUnwrap()"]
  9150c92a_2afc_b83a_c3bf_86dfac6e9d9b["SSLEngineTest"]
  a6678f8a_68c7_f2df_27dd_7fac4611680f -->|defined in| 9150c92a_2afc_b83a_c3bf_86dfac6e9d9b
  2d7c5ff6_ca42_42ba_5062_9a8bd6811d6f["SSLEngineTestParam()"]
  a6678f8a_68c7_f2df_27dd_7fac4611680f -->|calls| 2d7c5ff6_ca42_42ba_5062_9a8bd6811d6f
  bf19737b_7dc7_9dfd_0a67_ae31448ebbe8["protocols()"]
  a6678f8a_68c7_f2df_27dd_7fac4611680f -->|calls| bf19737b_7dc7_9dfd_0a67_ae31448ebbe8
  e3b541e6_b593_4b1f_a637_da19020e73df["ciphers()"]
  a6678f8a_68c7_f2df_27dd_7fac4611680f -->|calls| e3b541e6_b593_4b1f_a637_da19020e73df
  41a21dfa_7c23_3bd1_8431_26e64398f7ba["runDelegatedTasks()"]
  a6678f8a_68c7_f2df_27dd_7fac4611680f -->|calls| 41a21dfa_7c23_3bd1_8431_26e64398f7ba
  13aca077_a788_4333_9f8b_2b1437653846["delegate()"]
  a6678f8a_68c7_f2df_27dd_7fac4611680f -->|calls| 13aca077_a788_4333_9f8b_2b1437653846
  f81b892e_443f_15b3_1c23_21e151004701["assertHandshakeStatus()"]
  a6678f8a_68c7_f2df_27dd_7fac4611680f -->|calls| f81b892e_443f_15b3_1c23_21e151004701
  fa2870e9_d35e_8378_7a39_79e202b1d7ec["compactOrClear()"]
  a6678f8a_68c7_f2df_27dd_7fac4611680f -->|calls| fa2870e9_d35e_8378_7a39_79e202b1d7ec
  87e8e20d_ffbe_f5c3_4fd0_7d8ac419206d["cleanupClientSslEngine()"]
  a6678f8a_68c7_f2df_27dd_7fac4611680f -->|calls| 87e8e20d_ffbe_f5c3_4fd0_7d8ac419206d
  78ad5fe5_58d2_9877_f633_22a7048c0e5e["cleanupServerSslEngine()"]
  a6678f8a_68c7_f2df_27dd_7fac4611680f -->|calls| 78ad5fe5_58d2_9877_f633_22a7048c0e5e
  style a6678f8a_68c7_f2df_27dd_7fac4611680f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java lines 4877–4898

    @Test
    public void testExtraDataInLastSrcBufferForClientUnwrap() throws Exception {
        SSLEngineTestParam param = new SSLEngineTestParam(BufferType.Direct, ProtocolCipherCombo.tlsv12(), false);
        SelfSignedCertificate ssc = CachedSelfSignedCertificate.getCachedCertificate();
        clientSslCtx = wrapContext(param, SslContextBuilder.forClient()
                .trustManager(InsecureTrustManagerFactory.INSTANCE)
                .sslProvider(sslClientProvider())
                .sslContextProvider(clientSslContextProvider())
                .protocols(param.protocols())
                .ciphers(param.ciphers())
                .build());
        serverSslCtx = wrapContext(param, SslContextBuilder.forServer(ssc.certificate(), ssc.privateKey())
                .sslProvider(sslServerProvider())
                .sslContextProvider(serverSslContextProvider())
                .protocols(param.protocols())
                .ciphers(param.ciphers())
                .clientAuth(ClientAuth.NONE)
                .build());
        testExtraDataInLastSrcBufferForClientUnwrap(param,
                wrapEngine(clientSslCtx.newEngine(UnpooledByteBufAllocator.DEFAULT)),
                wrapEngine(serverSslCtx.newEngine(UnpooledByteBufAllocator.DEFAULT)));
    }

Domain

Subdomains

Frequently Asked Questions

What does testExtraDataInLastSrcBufferForClientUnwrap() do?
testExtraDataInLastSrcBufferForClientUnwrap() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java.
Where is testExtraDataInLastSrcBufferForClientUnwrap() defined?
testExtraDataInLastSrcBufferForClientUnwrap() is defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java at line 4877.
What does testExtraDataInLastSrcBufferForClientUnwrap() call?
testExtraDataInLastSrcBufferForClientUnwrap() calls 9 function(s): SSLEngineTestParam, assertHandshakeStatus, ciphers, cleanupClientSslEngine, cleanupServerSslEngine, compactOrClear, delegate, protocols, and 1 more.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free