Home / Function/ classicalAlgorithms() — netty Function Reference

classicalAlgorithms() — netty Function Reference

Architecture documentation for the classicalAlgorithms() function in PkiTestingTlsTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cf3191ef_0b54_c9b0_c341_916817f529a8["classicalAlgorithms()"]
  938821ed_7909_bb31_9c78_1d4536ee982b["PkiTestingTlsTest"]
  cf3191ef_0b54_c9b0_c341_916817f529a8 -->|defined in| 938821ed_7909_bb31_9c78_1d4536ee982b
  style cf3191ef_0b54_c9b0_c341_916817f529a8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/PkiTestingTlsTest.java lines 52–72

    static List<Arguments> classicalAlgorithms() {
        List<SslProvider> providers = new ArrayList<>();
        if (SslProvider.isTlsv13Supported(SslProvider.JDK)) {
            providers.add(SslProvider.JDK);
        }
        if (OpenSsl.isAvailable() && OpenSsl.supportsKeyManagerFactory() && OpenSsl.isTlsv13Supported()) {
            providers.add(SslProvider.OPENSSL);
        }

        List<Arguments> args = new ArrayList<>();
        for (SslProvider provider : providers) {
            List<CertificateBuilder.Algorithm> algs =  new ArrayList<>();
            algs.add(CertificateBuilder.Algorithm.rsa2048);
            algs.add(CertificateBuilder.Algorithm.ecp256);

            for (CertificateBuilder.Algorithm alg : algs) {
                args.add(Arguments.of(provider, alg));
            }
        }
        return args;
    }

Domain

Subdomains

Frequently Asked Questions

What does classicalAlgorithms() do?
classicalAlgorithms() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/PkiTestingTlsTest.java.
Where is classicalAlgorithms() defined?
classicalAlgorithms() is defined in handler/src/test/java/io/netty/handler/ssl/PkiTestingTlsTest.java at line 52.

Analyze Your Own Codebase

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

Try Supermodel Free