Home / Function/ createKeyPairOfEveryKeyType() — netty Function Reference

createKeyPairOfEveryKeyType() — netty Function Reference

Architecture documentation for the createKeyPairOfEveryKeyType() function in CertificateBuilderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1ecb4c5b_f73a_eca7_2076_ff4d7fa85a12["createKeyPairOfEveryKeyType()"]
  8c85a9d3_f3ae_f481_1984_99bd24f9c654["CertificateBuilderTest"]
  1ecb4c5b_f73a_eca7_2076_ff4d7fa85a12 -->|defined in| 8c85a9d3_f3ae_f481_1984_99bd24f9c654
  style 1ecb4c5b_f73a_eca7_2076_ff4d7fa85a12 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

pkitesting/src/test/java/io/netty/pkitesting/CertificateBuilderTest.java lines 93–105

    @ParameterizedTest
    @EnumSource
    void createKeyPairOfEveryKeyType(Algorithm algorithm) throws Exception {
        // Assume that RSA 4096 and RSA 8192 work if the other RSA bit-widths work.
        // These big keys just take too long to test with.
        assumeTrue(algorithm != Algorithm.rsa4096 && algorithm != Algorithm.rsa8192);
        assumeTrue(algorithm.isSupported());

        KeyPair keyPair = algorithm.generateKeyPair(RNG, null);
        assertNotNull(keyPair);
        assertNotNull(keyPair.getPrivate());
        assertNotNull(keyPair.getPublic());
    }

Domain

Subdomains

Frequently Asked Questions

What does createKeyPairOfEveryKeyType() do?
createKeyPairOfEveryKeyType() is a function in the netty codebase, defined in pkitesting/src/test/java/io/netty/pkitesting/CertificateBuilderTest.java.
Where is createKeyPairOfEveryKeyType() defined?
createKeyPairOfEveryKeyType() is defined in pkitesting/src/test/java/io/netty/pkitesting/CertificateBuilderTest.java at line 93.

Analyze Your Own Codebase

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

Try Supermodel Free