Home / Function/ KeyManagerFactory() — netty Function Reference

KeyManagerFactory() — netty Function Reference

Architecture documentation for the KeyManagerFactory() function in SslContext.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  319ff73e_b5b1_0e40_fd0c_a4770a755f42["KeyManagerFactory()"]
  ec56e535_0508_8846_8172_a704185d370e["SslContext"]
  319ff73e_b5b1_0e40_fd0c_a4770a755f42 -->|defined in| ec56e535_0508_8846_8172_a704185d370e
  4cf638a1_858a_2652_8b50_e4fabc7ae3aa["keyStorePassword()"]
  319ff73e_b5b1_0e40_fd0c_a4770a755f42 -->|calls| 4cf638a1_858a_2652_8b50_e4fabc7ae3aa
  style 319ff73e_b5b1_0e40_fd0c_a4770a755f42 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/SslContext.java lines 1348–1360

    protected static KeyManagerFactory buildKeyManagerFactory(X509Certificate[] certChainFile,
                                                    String keyAlgorithm, PrivateKey key,
                                                    String keyPassword, KeyManagerFactory kmf,
                                                    String keyStore)
            throws KeyStoreException, NoSuchAlgorithmException, IOException,
            CertificateException, UnrecoverableKeyException {
        if (keyAlgorithm == null) {
            keyAlgorithm = KeyManagerFactory.getDefaultAlgorithm();
        }
        char[] keyPasswordChars = keyStorePassword(keyPassword);
        KeyStore ks = buildKeyStore(certChainFile, key, keyPasswordChars, keyStore);
        return buildKeyManagerFactory(ks, keyAlgorithm, keyPasswordChars, kmf);
    }

Domain

Subdomains

Frequently Asked Questions

What does KeyManagerFactory() do?
KeyManagerFactory() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/SslContext.java.
Where is KeyManagerFactory() defined?
KeyManagerFactory() is defined in handler/src/main/java/io/netty/handler/ssl/SslContext.java at line 1348.
What does KeyManagerFactory() call?
KeyManagerFactory() calls 1 function(s): keyStorePassword.

Analyze Your Own Codebase

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

Try Supermodel Free