Home / Function/ testCiphersIncluded() — netty Function Reference

testCiphersIncluded() — netty Function Reference

Architecture documentation for the testCiphersIncluded() function in Http2SecurityUtilTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6a4da71a_0ee7_65df_4fd7_78abd4efb9c0["testCiphersIncluded()"]
  14354f1c_1b79_236a_a547_8db362683652["Http2SecurityUtilTest"]
  6a4da71a_0ee7_65df_4fd7_78abd4efb9c0 -->|defined in| 14354f1c_1b79_236a_a547_8db362683652
  f8ac8a6e_b155_da67_911e_584512228027["testTLSv13CiphersIncluded()"]
  f8ac8a6e_b155_da67_911e_584512228027 -->|calls| 6a4da71a_0ee7_65df_4fd7_78abd4efb9c0
  37cef0a7_1d7b_7d60_da93_05c5faef2efe["testTLSv12CiphersIncluded()"]
  37cef0a7_1d7b_7d60_da93_05c5faef2efe -->|calls| 6a4da71a_0ee7_65df_4fd7_78abd4efb9c0
  style 6a4da71a_0ee7_65df_4fd7_78abd4efb9c0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2SecurityUtilTest.java lines 43–48

    private static void testCiphersIncluded(String protocol) throws SSLException  {
        SslContext context = SslContextBuilder.forClient().sslProvider(SslProvider.JDK).protocols(protocol)
                .ciphers(Http2SecurityUtil.CIPHERS, SupportedCipherSuiteFilter.INSTANCE).build();
        SSLEngine engine = context.newEngine(UnpooledByteBufAllocator.DEFAULT);
        Assertions.assertTrue(engine.getEnabledCipherSuites().length > 0, "No " + protocol + " ciphers found");
    }

Domain

Subdomains

Frequently Asked Questions

What does testCiphersIncluded() do?
testCiphersIncluded() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2SecurityUtilTest.java.
Where is testCiphersIncluded() defined?
testCiphersIncluded() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2SecurityUtilTest.java at line 43.
What calls testCiphersIncluded()?
testCiphersIncluded() is called by 2 function(s): testTLSv12CiphersIncluded, testTLSv13CiphersIncluded.

Analyze Your Own Codebase

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

Try Supermodel Free