testMaxCertificateListSmallLimitAccept() — netty Function Reference
Architecture documentation for the testMaxCertificateListSmallLimitAccept() function in OpenSslEngineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b7d2d541_37a5_1aa2_77cd_858ca37a40d9["testMaxCertificateListSmallLimitAccept()"] 08957e63_66e1_e2b4_c8aa_4f617c598a7d["OpenSslEngineTest"] b7d2d541_37a5_1aa2_77cd_858ca37a40d9 -->|defined in| 08957e63_66e1_e2b4_c8aa_4f617c598a7d style b7d2d541_37a5_1aa2_77cd_858ca37a40d9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java lines 1612–1633
@MethodSource("newTestParams")
@ParameterizedTest
public void testMaxCertificateListSmallLimitAccept(final SSLEngineTestParam param) throws Exception {
assumeTrue(isOptionSupported(sslClientProvider(), MAX_CERTIFICATE_LIST_BYTES));
assumeTrue(isOptionSupported(sslServerProvider(), MAX_CERTIFICATE_LIST_BYTES));
X509Bundle ssc = createLargeCertificate(1024);
File privateKey = ssc.toTempPrivateKeyPem();
File certificate = ssc.toTempCertChainPem();
// Limits below 16 KiB are ignored:
clientSslCtx = clientContextWithCertSizeLimit(param, certificate, privateKey, 10);
serverSslCtx = serverContextWithCertSizeLimit(param, certificate, privateKey, 10);
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
Source
Frequently Asked Questions
What does testMaxCertificateListSmallLimitAccept() do?
testMaxCertificateListSmallLimitAccept() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java.
Where is testMaxCertificateListSmallLimitAccept() defined?
testMaxCertificateListSmallLimitAccept() is defined in handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java at line 1612.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free