Home / Function/ OpenSslPopulatedKeyMaterialProvider() — netty Function Reference

OpenSslPopulatedKeyMaterialProvider() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  c638e981_6d33_8d2c_8482_7a1d0bbe5e42["OpenSslPopulatedKeyMaterialProvider()"]
  ca6d2b1d_a32d_d8f0_5415_3c6a33f9511f["OpenSslPopulatedKeyMaterialProvider"]
  c638e981_6d33_8d2c_8482_7a1d0bbe5e42 -->|defined in| ca6d2b1d_a32d_d8f0_5415_3c6a33f9511f
  c7bb06f0_3c3f_46f8_a011_98bc16434682["OpenSslKeyMaterialProvider()"]
  c7bb06f0_3c3f_46f8_a011_98bc16434682 -->|calls| c638e981_6d33_8d2c_8482_7a1d0bbe5e42
  84ce87de_7874_61ff_a04d_91559ec5b39c["destroy()"]
  c638e981_6d33_8d2c_8482_7a1d0bbe5e42 -->|calls| 84ce87de_7874_61ff_a04d_91559ec5b39c
  style c638e981_6d33_8d2c_8482_7a1d0bbe5e42 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/OpenSslX509KeyManagerFactory.java lines 186–211

                OpenSslPopulatedKeyMaterialProvider(
                        X509KeyManager keyManager, String password, Iterable<String> aliases) {
                    super(keyManager, password);
                    materialMap = new HashMap<String, Object>();
                    boolean initComplete = false;
                    try {
                        for (String alias: aliases) {
                            if (alias != null && !materialMap.containsKey(alias)) {
                                try {
                                    materialMap.put(alias, super.chooseKeyMaterial(
                                            UnpooledByteBufAllocator.DEFAULT, alias));
                                } catch (Exception e) {
                                    // Just store the exception and rethrow it when we try to choose the keymaterial
                                    // for this alias later on.
                                    materialMap.put(alias, e);
                                }
                            }
                        }
                        initComplete = true;
                    } finally {
                        if (!initComplete) {
                            destroy();
                        }
                    }
                    checkNonEmpty(materialMap, "materialMap");
                }

Domain

Subdomains

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free