Home / Function/ OpenSslKeyMaterialProvider() — netty Function Reference

OpenSslKeyMaterialProvider() — netty Function Reference

Architecture documentation for the OpenSslKeyMaterialProvider() function in OpenSslCachingX509KeyManagerFactory.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e6004222_6f94_4ba9_d3c3_ae8743c3860f["OpenSslKeyMaterialProvider()"]
  039deddc_7ae5_913f_4f5b_c27030ff8c4c["OpenSslCachingX509KeyManagerFactory"]
  e6004222_6f94_4ba9_d3c3_ae8743c3860f -->|defined in| 039deddc_7ae5_913f_4f5b_c27030ff8c4c
  style e6004222_6f94_4ba9_d3c3_ae8743c3860f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/OpenSslCachingX509KeyManagerFactory.java lines 70–79

    OpenSslKeyMaterialProvider newProvider(String password) {
        X509KeyManager keyManager = ReferenceCountedOpenSslContext.chooseX509KeyManager(getKeyManagers());
        if ("sun.security.ssl.X509KeyManagerImpl".equals(keyManager.getClass().getName())) {
            // Don't do caching if X509KeyManagerImpl is used as the returned aliases are not stable and will change
            // between invocations.
            return new OpenSslKeyMaterialProvider(keyManager, password);
        }
        return new OpenSslCachingKeyMaterialProvider(
                ReferenceCountedOpenSslContext.chooseX509KeyManager(getKeyManagers()), password, maxCachedEntries);
    }

Domain

Subdomains

Frequently Asked Questions

What does OpenSslKeyMaterialProvider() do?
OpenSslKeyMaterialProvider() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSslCachingX509KeyManagerFactory.java.
Where is OpenSslKeyMaterialProvider() defined?
OpenSslKeyMaterialProvider() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSslCachingX509KeyManagerFactory.java at line 70.

Analyze Your Own Codebase

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

Try Supermodel Free