SignatureAlgorithmConverterTest Class — netty Architecture
Architecture documentation for the SignatureAlgorithmConverterTest class in SignatureAlgorithmConverterTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 9049e517_895f_6d48_5d47_59bc10c4c8b4["SignatureAlgorithmConverterTest"] d22897b9_9a93_4876_4073_c5db03880921["SignatureAlgorithmConverterTest.java"] 9049e517_895f_6d48_5d47_59bc10c4c8b4 -->|defined in| d22897b9_9a93_4876_4073_c5db03880921 7055623c_2d94_f1df_f3bf_199f5dc08f53["testWithEncryption()"] 9049e517_895f_6d48_5d47_59bc10c4c8b4 -->|method| 7055623c_2d94_f1df_f3bf_199f5dc08f53 58cb1901_9e7e_4776_7ac7_1b2d281bdb75["testWithDash()"] 9049e517_895f_6d48_5d47_59bc10c4c8b4 -->|method| 58cb1901_9e7e_4776_7ac7_1b2d281bdb75 a29650a1_d0ec_fe41_7975_7f7cbb3f5b47["testWithUnderscore()"] 9049e517_895f_6d48_5d47_59bc10c4c8b4 -->|method| a29650a1_d0ec_fe41_7975_7f7cbb3f5b47 68dd4181_62cd_c597_deda_387e2f97506d["testBoringSSLOneUnderscore()"] 9049e517_895f_6d48_5d47_59bc10c4c8b4 -->|method| 68dd4181_62cd_c597_deda_387e2f97506d 4525e706_735b_3197_663c_aced5b1d39d2["testBoringSSLPkcs1()"] 9049e517_895f_6d48_5d47_59bc10c4c8b4 -->|method| 4525e706_735b_3197_663c_aced5b1d39d2 157d9fa8_325a_01be_4bde_e50d4f7f7ae9["testBoringSSLPSS()"] 9049e517_895f_6d48_5d47_59bc10c4c8b4 -->|method| 157d9fa8_325a_01be_4bde_e50d4f7f7ae9 3a8b775b_6d80_42aa_8dc3_7488034abe16["testInvalid()"] 9049e517_895f_6d48_5d47_59bc10c4c8b4 -->|method| 3a8b775b_6d80_42aa_8dc3_7488034abe16
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/SignatureAlgorithmConverterTest.java lines 23–59
public class SignatureAlgorithmConverterTest {
@Test
public void testWithEncryption() {
assertEquals("SHA512withRSA", SignatureAlgorithmConverter.toJavaName("sha512WithRSAEncryption"));
}
@Test
public void testWithDash() {
assertEquals("SHA256withECDSA", SignatureAlgorithmConverter.toJavaName("ecdsa-with-SHA256"));
}
@Test
public void testWithUnderscore() {
assertEquals("SHA256withDSA", SignatureAlgorithmConverter.toJavaName("dsa_with_SHA256"));
}
@Test
public void testBoringSSLOneUnderscore() {
assertEquals("SHA256withECDSA", SignatureAlgorithmConverter.toJavaName("ecdsa_sha256"));
}
@Test
public void testBoringSSLPkcs1() {
assertEquals("SHA256withRSA", SignatureAlgorithmConverter.toJavaName("rsa_pkcs1_sha256"));
}
@Test
public void testBoringSSLPSS() {
assertEquals("SHA256withRSA", SignatureAlgorithmConverter.toJavaName("rsa_pss_rsae_sha256"));
}
@Test
public void testInvalid() {
assertNull(SignatureAlgorithmConverter.toJavaName("ThisIsSomethingInvalid"));
}
}
Source
Frequently Asked Questions
What is the SignatureAlgorithmConverterTest class?
SignatureAlgorithmConverterTest is a class in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SignatureAlgorithmConverterTest.java.
Where is SignatureAlgorithmConverterTest defined?
SignatureAlgorithmConverterTest is defined in handler/src/test/java/io/netty/handler/ssl/SignatureAlgorithmConverterTest.java at line 23.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free