Home / Function/ generateKeytool() — netty Function Reference

generateKeytool() — netty Function Reference

Architecture documentation for the generateKeytool() function in SelfSignedCertificate.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  900c4fb0_eecf_1e0f_575d_cd13e3326164["generateKeytool()"]
  26855d08_f229_22e6_e88d_3599e590a4a2["Builder"]
  900c4fb0_eecf_1e0f_575d_cd13e3326164 -->|defined in| 26855d08_f229_22e6_e88d_3599e590a4a2
  270a4e53_116c_c0dd_b358_bbdc1b1eff19["SelfSignedCertificate()"]
  270a4e53_116c_c0dd_b358_bbdc1b1eff19 -->|calls| 900c4fb0_eecf_1e0f_575d_cd13e3326164
  55257261_dd54_ee20_8f66_3fc4c9b91183["addFailure()"]
  900c4fb0_eecf_1e0f_575d_cd13e3326164 -->|calls| 55257261_dd54_ee20_8f66_3fc4c9b91183
  style 900c4fb0_eecf_1e0f_575d_cd13e3326164 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java lines 525–543

        boolean generateKeytool() {
            if (!KeytoolSelfSignedCertGenerator.isAvailable()) {
                logger.debug("Not attempting to generate certificate with keytool because keytool is missing");
                return false;
            }
            if (random != null) {
                logger.debug("Not attempting to generate certificate with keytool because of explicitly set " +
                        "SecureRandom");
                return false;
            }
            try {
                KeytoolSelfSignedCertGenerator.generate(this);
                return true;
            } catch (Throwable t) {
                logger.debug("Failed to generate a self-signed X.509 certificate using keytool:", t);
                addFailure(t);
                return false;
            }
        }

Domain

Subdomains

Calls

Frequently Asked Questions

What does generateKeytool() do?
generateKeytool() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java.
Where is generateKeytool() defined?
generateKeytool() is defined in handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java at line 525.
What does generateKeytool() call?
generateKeytool() calls 1 function(s): addFailure.
What calls generateKeytool()?
generateKeytool() is called by 1 function(s): SelfSignedCertificate.

Analyze Your Own Codebase

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

Try Supermodel Free