connectWithClassicalAlgorithms() — netty Function Reference
Architecture documentation for the connectWithClassicalAlgorithms() function in PkiTestingTlsTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c65da3b1_05e4_27d2_a895_d5ef7ed855e8["connectWithClassicalAlgorithms()"] 938821ed_7909_bb31_9c78_1d4536ee982b["PkiTestingTlsTest"] c65da3b1_05e4_27d2_a895_d5ef7ed855e8 -->|defined in| 938821ed_7909_bb31_9c78_1d4536ee982b a8eac5c5_344b_7e6d_6f39_e94e4efd9850["testTlsConnection()"] c65da3b1_05e4_27d2_a895_d5ef7ed855e8 -->|calls| a8eac5c5_344b_7e6d_6f39_e94e4efd9850 style c65da3b1_05e4_27d2_a895_d5ef7ed855e8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/PkiTestingTlsTest.java lines 87–109
@ParameterizedTest
@MethodSource("classicalAlgorithms")
public void connectWithClassicalAlgorithms(SslProvider provider, CertificateBuilder.Algorithm algorithm)
throws Exception {
X509Bundle cert = new CertificateBuilder()
.algorithm(algorithm)
.setIsCertificateAuthority(true)
.subject("CN=localhost")
.buildSelfSigned();
final SslContext serverContext = SslContextBuilder.forServer(cert.toKeyManagerFactory())
.sslProvider(provider)
.build();
final SslContext clientContext = SslContextBuilder.forClient()
.trustManager(cert.toTrustManagerFactory())
.sslProvider(provider)
.serverName(new SNIHostName("localhost"))
.protocols("TLSv1.3")
.build();
testTlsConnection(serverContext, clientContext, null);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does connectWithClassicalAlgorithms() do?
connectWithClassicalAlgorithms() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/PkiTestingTlsTest.java.
Where is connectWithClassicalAlgorithms() defined?
connectWithClassicalAlgorithms() is defined in handler/src/test/java/io/netty/handler/ssl/PkiTestingTlsTest.java at line 87.
What does connectWithClassicalAlgorithms() call?
connectWithClassicalAlgorithms() calls 1 function(s): testTlsConnection.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free