Home / Function/ testKeyStoreType() — netty Function Reference

testKeyStoreType() — netty Function Reference

Architecture documentation for the testKeyStoreType() function in SslContextBuilderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4292006c_899b_4477_aa7c_cfe61a308406["testKeyStoreType()"]
  a1363dc7_e5a9_fb44_bb34_1e17132005fa["SslContextBuilderTest"]
  4292006c_899b_4477_aa7c_cfe61a308406 -->|defined in| a1363dc7_e5a9_fb44_bb34_1e17132005fa
  068659b0_11e4_a187_b88f_e8320e463351["testKeyStoreTypeJdk()"]
  068659b0_11e4_a187_b88f_e8320e463351 -->|calls| 4292006c_899b_4477_aa7c_cfe61a308406
  5911e5ad_2f40_c84e_d763_c3a35bb0aba8["testKeyStoreTypeOpenssl()"]
  5911e5ad_2f40_c84e_d763_c3a35bb0aba8 -->|calls| 4292006c_899b_4477_aa7c_cfe61a308406
  style 4292006c_899b_4477_aa7c_cfe61a308406 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/SslContextBuilderTest.java lines 262–273

    private static void testKeyStoreType(SslProvider provider) throws Exception {
        SelfSignedCertificate cert = CachedSelfSignedCertificate.getCachedCertificate();
        SslContextBuilder builder = SslContextBuilder.forServer(cert.certificate(), cert.privateKey())
                .sslProvider(provider)
                .keyStoreType("PKCS12");
        SslContext context = builder.build();
        SSLEngine engine = context.newEngine(UnpooledByteBufAllocator.DEFAULT);
        engine.closeInbound();
        engine.closeOutbound();
        ReferenceCountUtil.release(engine);
        ReferenceCountUtil.release(context);
    }

Domain

Subdomains

Frequently Asked Questions

What does testKeyStoreType() do?
testKeyStoreType() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SslContextBuilderTest.java.
Where is testKeyStoreType() defined?
testKeyStoreType() is defined in handler/src/test/java/io/netty/handler/ssl/SslContextBuilderTest.java at line 262.
What calls testKeyStoreType()?
testKeyStoreType() is called by 2 function(s): testKeyStoreTypeJdk, testKeyStoreTypeOpenssl.

Analyze Your Own Codebase

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

Try Supermodel Free