Home / Function/ testExtraDataInLastSrcBufferForClientUnwrapNonjdkCompatabilityMode() — netty Function Reference

testExtraDataInLastSrcBufferForClientUnwrapNonjdkCompatabilityMode() — netty Function Reference

Architecture documentation for the testExtraDataInLastSrcBufferForClientUnwrapNonjdkCompatabilityMode() function in OpenSslEngineTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5019216a_7b90_a030_093c_62b0baaf1d9f["testExtraDataInLastSrcBufferForClientUnwrapNonjdkCompatabilityMode()"]
  08957e63_66e1_e2b4_c8aa_4f617c598a7d["OpenSslEngineTest"]
  5019216a_7b90_a030_093c_62b0baaf1d9f -->|defined in| 08957e63_66e1_e2b4_c8aa_4f617c598a7d
  style 5019216a_7b90_a030_093c_62b0baaf1d9f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java lines 1589–1610

    @Test
    public void testExtraDataInLastSrcBufferForClientUnwrapNonjdkCompatabilityMode() 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.newHandler(UnpooledByteBufAllocator.DEFAULT).engine()),
                wrapEngine(serverSslCtx.newHandler(UnpooledByteBufAllocator.DEFAULT).engine()));
    }

Domain

Subdomains

Frequently Asked Questions

What does testExtraDataInLastSrcBufferForClientUnwrapNonjdkCompatabilityMode() do?
testExtraDataInLastSrcBufferForClientUnwrapNonjdkCompatabilityMode() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java.
Where is testExtraDataInLastSrcBufferForClientUnwrapNonjdkCompatabilityMode() defined?
testExtraDataInLastSrcBufferForClientUnwrapNonjdkCompatabilityMode() is defined in handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java at line 1589.

Analyze Your Own Codebase

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

Try Supermodel Free