Home / Function/ isBouncyCastleAvailable() — netty Function Reference

isBouncyCastleAvailable() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  f05a46fc_04e8_9057_f98f_584536bb9462["isBouncyCastleAvailable()"]
  3f71414d_6bbb_ccc1_3eec_bdf61bb53618["SelfSignedCertificate"]
  f05a46fc_04e8_9057_f98f_584536bb9462 -->|defined in| 3f71414d_6bbb_ccc1_3eec_bdf61bb53618
  971b253f_b7f7_89da_da43_0b3d8bc633aa["generateBc()"]
  971b253f_b7f7_89da_da43_0b3d8bc633aa -->|calls| f05a46fc_04e8_9057_f98f_584536bb9462
  style f05a46fc_04e8_9057_f98f_584536bb9462 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java lines 376–384

    private static boolean isBouncyCastleAvailable() {
        try {
            // this class is in bcpkix, both fips and non-fips
            Class.forName("org.bouncycastle.cert.X509v3CertificateBuilder");
            return true;
        } catch (ClassNotFoundException e) {
            return false;
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free