Home / Function/ testMaxCertificateListAcceptingLargeLimitAcceptWithSessionResumption() — netty Function Reference

testMaxCertificateListAcceptingLargeLimitAcceptWithSessionResumption() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java lines 1726–1750

    @MethodSource("newTestParams")
    @ParameterizedTest
    public void testMaxCertificateListAcceptingLargeLimitAcceptWithSessionResumption(final SSLEngineTestParam param)
            throws Exception {
        assumeTrue(isOptionSupported(sslClientProvider(), MAX_CERTIFICATE_LIST_BYTES));
        assumeTrue(isOptionSupported(sslServerProvider(), MAX_CERTIFICATE_LIST_BYTES));
        X509Bundle ssc = createLargeCertificate(100 * 1024);
        File privateKey = ssc.toTempPrivateKeyPem();
        File certificate = ssc.toTempCertChainPem();
        clientSslCtx = clientContextWithCertSizeLimit(param, certificate, privateKey, 116 * 1024);
        serverSslCtx = serverContextWithCertSizeLimit(param, certificate, privateKey, 116 * 1024);

        for (int i = 0; i < 3; i++) {
            final SSLEngine client = wrapEngine(clientSslCtx.newEngine(
                    UnpooledByteBufAllocator.DEFAULT, "netty.io", 80));
            final SSLEngine server = wrapEngine(serverSslCtx.newEngine(UnpooledByteBufAllocator.DEFAULT));

            try {
                handshake(param.type(), param.delegate(), client, server);
            } finally {
                cleanupClientSslEngine(client);
                cleanupServerSslEngine(server);
            }
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free