Home / Function/ SecureRandom() — netty Function Reference

SecureRandom() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  f3c70ee6_d699_9cd6_d6d9_1a56d6984083["SecureRandom()"]
  26855d08_f229_22e6_e88d_3599e590a4a2["Builder"]
  f3c70ee6_d699_9cd6_d6d9_1a56d6984083 -->|defined in| 26855d08_f229_22e6_e88d_3599e590a4a2
  style f3c70ee6_d699_9cd6_d6d9_1a56d6984083 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java lines 476–480

        private SecureRandom randomOrDefault() {
            // Bypass entropy collection by using insecure random generator.
            // We just want to generate it without any delay because it's for testing purposes only.
            return random == null ? ThreadLocalInsecureRandom.current() : random;
        }

Domain

Subdomains

Frequently Asked Questions

What does SecureRandom() do?
SecureRandom() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java.
Where is SecureRandom() defined?
SecureRandom() is defined in handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java at line 476.

Analyze Your Own Codebase

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

Try Supermodel Free