JdkOpenSslEngineInteroptTest Class — netty Architecture
Architecture documentation for the JdkOpenSslEngineInteroptTest class in JdkOpenSslEngineInteroptTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD af2ee431_c77a_7bcf_0590_f175d9ec9ade["JdkOpenSslEngineInteroptTest"] 37f9bfb8_ad6c_509a_08d6_9c18e1a38e2b["JdkOpenSslEngineInteroptTest.java"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|defined in| 37f9bfb8_ad6c_509a_08d6_9c18e1a38e2b b4c54392_a66c_dc4b_e7a1_c7eb280b427b["JdkOpenSslEngineInteroptTest()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| b4c54392_a66c_dc4b_e7a1_c7eb280b427b e4f43a63_b0da_7ef2_57c0_5ab314184378["newTestParams()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| e4f43a63_b0da_7ef2_57c0_5ab314184378 b2362a0b_1473_be6b_de22_d165e13ab413["checkOpenSsl()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| b2362a0b_1473_be6b_de22_d165e13ab413 320d8595_1393_c04a_df8e_33b4f419bced["SslProvider()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| 320d8595_1393_c04a_df8e_33b4f419bced 6d2d220d_ea7b_5921_80fb_c4077ee5c146["testMutualAuthSameCerts()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| 6d2d220d_ea7b_5921_80fb_c4077ee5c146 2c43e40a_52b4_db4e_062a_5f876cb5a766["testMutualAuthDiffCerts()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| 2c43e40a_52b4_db4e_062a_5f876cb5a766 6d061335_5797_2f0d_d696_b5a3e9910385["testMutualAuthDiffCertsServerFailure()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| 6d061335_5797_2f0d_d696_b5a3e9910385 1faa7d47_69d1_a2f3_bf3f_d3880b6ff888["testMutualAuthDiffCertsClientFailure()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| 1faa7d47_69d1_a2f3_bf3f_d3880b6ff888 7f9ea61d_f8f4_2107_3ceb_0e9ee0611d11["testMutualAuthInvalidIntermediateCASucceedWithOptionalClientAuth()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| 7f9ea61d_f8f4_2107_3ceb_0e9ee0611d11 434700d9_f18b_d833_045f_e72105097c4b["testMutualAuthInvalidIntermediateCAFailWithOptionalClientAuth()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| 434700d9_f18b_d833_045f_e72105097c4b 5a10a731_a08e_a7e7_2355_3628552a9667["testMutualAuthInvalidIntermediateCAFailWithRequiredClientAuth()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| 5a10a731_a08e_a7e7_2355_3628552a9667 1e85b0b9_81f0_747f_d4dd_b66407baa2ea["testMutualAuthValidClientCertChainTooLongFailOptionalClientAuth()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| 1e85b0b9_81f0_747f_d4dd_b66407baa2ea 542bacf0_b77f_e544_bb52_e89f0872bb07["testMutualAuthValidClientCertChainTooLongFailRequireClientAuth()"] af2ee431_c77a_7bcf_0590_f175d9ec9ade -->|method| 542bacf0_b77f_e544_bb52_e89f0872bb07
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/JdkOpenSslEngineInteroptTest.java lines 34–272
public class JdkOpenSslEngineInteroptTest extends SSLEngineTest {
public JdkOpenSslEngineInteroptTest() {
super(SslProvider.isTlsv13Supported(SslProvider.JDK) &&
SslProvider.isTlsv13Supported(SslProvider.OPENSSL));
}
@Override
protected List<SSLEngineTestParam> newTestParams() {
List<SSLEngineTestParam> params = super.newTestParams();
List<SSLEngineTestParam> testParams = new ArrayList<SSLEngineTestParam>();
for (SSLEngineTestParam param: params) {
OpenSslEngineTestParam.expandCombinations(param, testParams);
}
return testParams;
}
@BeforeAll
public static void checkOpenSsl() {
OpenSsl.ensureAvailability();
}
@Override
protected SslProvider sslClientProvider() {
return SslProvider.JDK;
}
@Override
protected SslProvider sslServerProvider() {
return SslProvider.OPENSSL;
}
@MethodSource("newTestParams")
@ParameterizedTest
@Disabled("Disable until figured out why this sometimes fail on the CI")
@Override
public void testMutualAuthSameCerts(SSLEngineTestParam param) throws Throwable {
super.testMutualAuthSameCerts(param);
}
@MethodSource("newTestParams")
@ParameterizedTest
@Disabled("Disable until figured out why this sometimes fail on the CI")
@Override
public void testMutualAuthDiffCerts(SSLEngineTestParam param) throws Exception {
super.testMutualAuthDiffCerts(param);
}
@MethodSource("newTestParams")
@ParameterizedTest
@Disabled("Disable until figured out why this sometimes fail on the CI")
@Override
public void testMutualAuthDiffCertsServerFailure(SSLEngineTestParam param) throws Exception {
super.testMutualAuthDiffCertsServerFailure(param);
}
@MethodSource("newTestParams")
@ParameterizedTest
@Disabled("Disable until figured out why this sometimes fail on the CI")
@Override
public void testMutualAuthDiffCertsClientFailure(SSLEngineTestParam param) throws Exception {
super.testMutualAuthDiffCertsClientFailure(param);
}
@MethodSource("newTestParams")
@ParameterizedTest
@Disabled("Disable until figured out why this sometimes fail on the CI")
@Override
public void testMutualAuthInvalidIntermediateCASucceedWithOptionalClientAuth(SSLEngineTestParam param)
throws Exception {
checkShouldUseKeyManagerFactory();
super.testMutualAuthInvalidIntermediateCASucceedWithOptionalClientAuth(param);
}
@MethodSource("newTestParams")
@ParameterizedTest
@Disabled("Disable until figured out why this sometimes fail on the CI")
@Override
public void testMutualAuthInvalidIntermediateCAFailWithOptionalClientAuth(SSLEngineTestParam param)
throws Exception {
checkShouldUseKeyManagerFactory();
Source
Frequently Asked Questions
What is the JdkOpenSslEngineInteroptTest class?
JdkOpenSslEngineInteroptTest is a class in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/JdkOpenSslEngineInteroptTest.java.
Where is JdkOpenSslEngineInteroptTest defined?
JdkOpenSslEngineInteroptTest is defined in handler/src/test/java/io/netty/handler/ssl/JdkOpenSslEngineInteroptTest.java at line 34.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free