supportedAlgorithms() — netty Function Reference
Architecture documentation for the supportedAlgorithms() function in JdkDelegatingPrivateKeyMethodTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d26da6c8_7bb6_e7bc_c739_caab95a29cc9["supportedAlgorithms()"] 2ac7122d_91ea_6ce8_76a0_fb9ed7fcbdbc["JdkDelegatingPrivateKeyMethodTest"] d26da6c8_7bb6_e7bc_c739_caab95a29cc9 -->|defined in| 2ac7122d_91ea_6ce8_76a0_fb9ed7fcbdbc style d26da6c8_7bb6_e7bc_c739_caab95a29cc9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/JdkDelegatingPrivateKeyMethodTest.java lines 137–171
static Stream<Arguments> supportedAlgorithms() {
return Stream.of(true, false).flatMap(clientUsesProvider ->
Stream.of(
// RSA PKCS#1 algorithms
Arguments.of("RSA PKCS#1 SHA1", OpenSslAsyncPrivateKeyMethod.SSL_SIGN_RSA_PKCS1_SHA1,
CertificateBuilder.Algorithm.rsa2048, clientUsesProvider),
Arguments.of("RSA PKCS#1 SHA256", OpenSslAsyncPrivateKeyMethod.SSL_SIGN_RSA_PKCS1_SHA256,
CertificateBuilder.Algorithm.rsa2048, clientUsesProvider),
Arguments.of("RSA PKCS#1 SHA384", OpenSslAsyncPrivateKeyMethod.SSL_SIGN_RSA_PKCS1_SHA384,
CertificateBuilder.Algorithm.rsa2048, clientUsesProvider),
Arguments.of("RSA PKCS#1 SHA512", OpenSslAsyncPrivateKeyMethod.SSL_SIGN_RSA_PKCS1_SHA512,
CertificateBuilder.Algorithm.rsa2048, clientUsesProvider),
Arguments.of("RSA PKCS#1 MD5+SHA1", OpenSslAsyncPrivateKeyMethod.SSL_SIGN_RSA_PKCS1_MD5_SHA1,
CertificateBuilder.Algorithm.rsa2048, clientUsesProvider),
// RSA-PSS algorithms
Arguments.of("RSA-PSS SHA256", OpenSslAsyncPrivateKeyMethod.SSL_SIGN_RSA_PSS_RSAE_SHA256,
CertificateBuilder.Algorithm.rsa2048, clientUsesProvider),
Arguments.of("RSA-PSS SHA384", OpenSslAsyncPrivateKeyMethod.SSL_SIGN_RSA_PSS_RSAE_SHA384,
CertificateBuilder.Algorithm.rsa2048, clientUsesProvider),
Arguments.of("RSA-PSS SHA512", OpenSslAsyncPrivateKeyMethod.SSL_SIGN_RSA_PSS_RSAE_SHA512,
CertificateBuilder.Algorithm.rsa2048, clientUsesProvider),
// ECDSA algorithms with different curves
Arguments.of("ECDSA SHA1 P-256", OpenSslAsyncPrivateKeyMethod.SSL_SIGN_ECDSA_SHA1,
CertificateBuilder.Algorithm.ecp256, clientUsesProvider),
Arguments.of("ECDSA SHA256 P-256", OpenSslAsyncPrivateKeyMethod.SSL_SIGN_ECDSA_SECP256R1_SHA256,
CertificateBuilder.Algorithm.ecp256, clientUsesProvider),
Arguments.of("ECDSA SHA384 P-384", OpenSslAsyncPrivateKeyMethod.SSL_SIGN_ECDSA_SECP384R1_SHA384,
CertificateBuilder.Algorithm.ecp384, clientUsesProvider)
// TODO: piktesting.CertificateBuilder doesn't yet support this algorithm.
// Arguments.of("ECDSA SHA512 P-521",
// OpenSslAsyncPrivateKeyMethod.SSL_SIGN_ECDSA_SECP521R1_SHA512, "EC", "secp521r1")
));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does supportedAlgorithms() do?
supportedAlgorithms() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/JdkDelegatingPrivateKeyMethodTest.java.
Where is supportedAlgorithms() defined?
supportedAlgorithms() is defined in handler/src/test/java/io/netty/handler/ssl/JdkDelegatingPrivateKeyMethodTest.java at line 137.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free