Home / Function/ testMaxCertificateListAcceptingLargeLimitAccept() — netty Function Reference

testMaxCertificateListAcceptingLargeLimitAccept() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java lines 1670–1690

    @MethodSource("newTestParams")
    @ParameterizedTest
    public void testMaxCertificateListAcceptingLargeLimitAccept(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);

        final SSLEngine client = wrapEngine(clientSslCtx.newEngine(UnpooledByteBufAllocator.DEFAULT));
        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 testMaxCertificateListAcceptingLargeLimitAccept() do?
testMaxCertificateListAcceptingLargeLimitAccept() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java.
Where is testMaxCertificateListAcceptingLargeLimitAccept() defined?
testMaxCertificateListAcceptingLargeLimitAccept() is defined in handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java at line 1670.

Analyze Your Own Codebase

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

Try Supermodel Free