Home / Class/ SslContextBuilderTest Class — netty Architecture

SslContextBuilderTest Class — netty Architecture

Architecture documentation for the SslContextBuilderTest class in SslContextBuilderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a1363dc7_e5a9_fb44_bb34_1e17132005fa["SslContextBuilderTest"]
  e47d9413_04d7_7d07_2134_fcd6c5f0795b["SslContextBuilderTest.java"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|defined in| e47d9413_04d7_7d07_2134_fcd6c5f0795b
  98bd0606_6db9_04f0_3335_6956d498f7e9["testClientContextFromFileJdk()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| 98bd0606_6db9_04f0_3335_6956d498f7e9
  d743dc48_ae66_8877_b061_a3e703f7efea["testClientContextFromFileOpenssl()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| d743dc48_ae66_8877_b061_a3e703f7efea
  30492fba_88ec_70eb_98a2_f8bb44808143["testClientContextJdk()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| 30492fba_88ec_70eb_98a2_f8bb44808143
  149c9764_5572_85e3_0932_2f950d740450["testClientContextOpenssl()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| 149c9764_5572_85e3_0932_2f950d740450
  d0ed29b7_73bf_882c_30c4_6622260ba467["testCombinedPemFileClientContextJdk()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| d0ed29b7_73bf_882c_30c4_6622260ba467
  d1c1b43f_6702_ade0_6433_89ff3e3e04ff["testCombinedPemFileClientContextOpenssl()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| d1c1b43f_6702_ade0_6433_89ff3e3e04ff
  068659b0_11e4_a187_b88f_e8320e463351["testKeyStoreTypeJdk()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| 068659b0_11e4_a187_b88f_e8320e463351
  5911e5ad_2f40_c84e_d763_c3a35bb0aba8["testKeyStoreTypeOpenssl()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| 5911e5ad_2f40_c84e_d763_c3a35bb0aba8
  18fcffdf_d820_4977_9ae1_5cee8af9f7a0["testServerContextFromFileJdk()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| 18fcffdf_d820_4977_9ae1_5cee8af9f7a0
  4fb13917_c756_f956_0ba3_0ec33600b355["testServerContextFromFileOpenssl()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| 4fb13917_c756_f956_0ba3_0ec33600b355
  843fcdf2_4b44_932c_f093_ab231970c1b5["testServerContextJdk()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| 843fcdf2_4b44_932c_f093_ab231970c1b5
  f63a791c_ed91_c5c9_27d0_1f50eff920d4["testServerContextOpenssl()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| f63a791c_ed91_c5c9_27d0_1f50eff920d4
  53c74af6_0d87_e706_893c_25adc60fc6e8["testContextFromManagersJdk()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa -->|method| 53c74af6_0d87_e706_893c_25adc60fc6e8

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/SslContextBuilderTest.java lines 48–548

public class SslContextBuilderTest {

    @Test
    public void testClientContextFromFileJdk() throws Exception {
        testClientContextFromFile(SslProvider.JDK);
    }

    @Test
    public void testClientContextFromFileOpenssl() throws Exception {
        OpenSsl.ensureAvailability();
        testClientContextFromFile(SslProvider.OPENSSL);
    }

    @Test
    public void testClientContextJdk() throws Exception {
        testClientContext(SslProvider.JDK);
    }

    @Test
    public void testClientContextOpenssl() throws Exception {
        OpenSsl.ensureAvailability();
        testClientContext(SslProvider.OPENSSL);
    }

    @Test
    public void testCombinedPemFileClientContextJdk() throws Exception {
        testServerContextWithCombinedCertAndKeyInPem(SslProvider.JDK);
    }

    @Test
    public void testCombinedPemFileClientContextOpenssl() throws Exception {
        OpenSsl.ensureAvailability();
        testServerContextWithCombinedCertAndKeyInPem(SslProvider.OPENSSL);
    }

    @Test
    public void testKeyStoreTypeJdk() throws Exception {
        testKeyStoreType(SslProvider.JDK);
    }

    @Test
    public void testKeyStoreTypeOpenssl() throws Exception {
        OpenSsl.ensureAvailability();
        testKeyStoreType(SslProvider.OPENSSL);
    }

    @Test
    public void testServerContextFromFileJdk() throws Exception {
        testServerContextFromFile(SslProvider.JDK);
    }

    @Test
    public void testServerContextFromFileOpenssl() throws Exception {
        OpenSsl.ensureAvailability();
        testServerContextFromFile(SslProvider.OPENSSL);
    }

    @Test
    public void testServerContextJdk() throws Exception {
        testServerContext(SslProvider.JDK);
    }

    @Test
    public void testServerContextOpenssl() throws Exception {
        OpenSsl.ensureAvailability();
        testServerContext(SslProvider.OPENSSL);
    }

    @Test
    public void testContextFromManagersJdk() throws Exception {
        testContextFromManagers(SslProvider.JDK);
    }

    @Test
    public void testContextFromManagersOpenssl() throws Exception {
        OpenSsl.ensureAvailability();
        assumeTrue(OpenSsl.useKeyManagerFactory());
        testContextFromManagers(SslProvider.OPENSSL);
    }

    @Test

Frequently Asked Questions

What is the SslContextBuilderTest class?
SslContextBuilderTest is a class in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SslContextBuilderTest.java.
Where is SslContextBuilderTest defined?
SslContextBuilderTest is defined in handler/src/test/java/io/netty/handler/ssl/SslContextBuilderTest.java at line 48.

Analyze Your Own Codebase

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

Try Supermodel Free