Home / Function/ engineInit() — netty Function Reference

engineInit() — netty Function Reference

Architecture documentation for the engineInit() function in OpenSslX509KeyManagerFactory.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  8e9b61e5_45fc_fc0b_4d4a_43bfd74e9a1d["engineInit()"]
  6c352714_1eae_d4b9_4b45_6923c72330e3["OpenSslKeyManagerFactorySpi"]
  8e9b61e5_45fc_fc0b_4d4a_43bfd74e9a1d -->|defined in| 6c352714_1eae_d4b9_4b45_6923c72330e3
  bcbed51c_0c05_be23_a1b6_66872ac7a059["engineGetKeyManagers()"]
  bcbed51c_0c05_be23_a1b6_66872ac7a059 -->|calls| 8e9b61e5_45fc_fc0b_4d4a_43bfd74e9a1d
  a4f377da_16ed_3954_609c_d4358b1fb3b9["OpenSslKeyMaterialProvider()"]
  a4f377da_16ed_3954_609c_d4358b1fb3b9 -->|calls| 8e9b61e5_45fc_fc0b_4d4a_43bfd74e9a1d
  09b2e1d5_03c8_5d6b_61f1_b8b039fb9a93["ProviderFactory()"]
  8e9b61e5_45fc_fc0b_4d4a_43bfd74e9a1d -->|calls| 09b2e1d5_03c8_5d6b_61f1_b8b039fb9a93
  style 8e9b61e5_45fc_fc0b_4d4a_43bfd74e9a1d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/OpenSslX509KeyManagerFactory.java lines 118–131

        @Override
        protected synchronized void engineInit(KeyStore keyStore, char[] chars)
                throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException {
            if (providerFactory != null) {
                throw new KeyStoreException("Already initialized");
            }
            if (!keyStore.aliases().hasMoreElements()) {
                throw new KeyStoreException("No aliases found");
            }

            kmf.init(keyStore, chars);
            providerFactory = new ProviderFactory(ReferenceCountedOpenSslContext.chooseX509KeyManager(
                    kmf.getKeyManagers()), password(chars), Collections.list(keyStore.aliases()));
        }

Domain

Subdomains

Frequently Asked Questions

What does engineInit() do?
engineInit() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OpenSslX509KeyManagerFactory.java.
Where is engineInit() defined?
engineInit() is defined in handler/src/main/java/io/netty/handler/ssl/OpenSslX509KeyManagerFactory.java at line 118.
What does engineInit() call?
engineInit() calls 1 function(s): ProviderFactory.
What calls engineInit()?
engineInit() is called by 2 function(s): OpenSslKeyMaterialProvider, engineGetKeyManagers.

Analyze Your Own Codebase

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

Try Supermodel Free