testMutualAuthInvalidClientCertSucceed() — netty Function Reference
Architecture documentation for the testMutualAuthInvalidClientCertSucceed() function in SSLEngineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 61b8739b_21fd_a0d7_61bc_bb85fcb00bf5["testMutualAuthInvalidClientCertSucceed()"] 9150c92a_2afc_b83a_c3bf_86dfac6e9d9b["SSLEngineTest"] 61b8739b_21fd_a0d7_61bc_bb85fcb00bf5 -->|defined in| 9150c92a_2afc_b83a_c3bf_86dfac6e9d9b e098500b_00f6_ce1e_5313_5ad08992833a["testMutualAuthInvalidIntermediateCASucceedWithOptionalClientAuth()"] e098500b_00f6_ce1e_5313_5ad08992833a -->|calls| 61b8739b_21fd_a0d7_61bc_bb85fcb00bf5 6ad1452e_858e_792d_4856_9ba9f6277be2["mySetupMutualAuth()"] 61b8739b_21fd_a0d7_61bc_bb85fcb00bf5 -->|calls| 6ad1452e_858e_792d_4856_9ba9f6277be2 94632e78_c759_ade9_6963_8b37153a2ef6["rethrowIfNotNull()"] 61b8739b_21fd_a0d7_61bc_bb85fcb00bf5 -->|calls| 94632e78_c759_ade9_6963_8b37153a2ef6 style 61b8739b_21fd_a0d7_61bc_bb85fcb00bf5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java lines 738–762
private void testMutualAuthInvalidClientCertSucceed(SSLEngineTestParam param, ClientAuth auth) throws Exception {
char[] password = "example".toCharArray();
final KeyStore serverKeyStore = KeyStore.getInstance("PKCS12");
try (InputStream resourceAsStream = getClass().getResourceAsStream("mutual_auth_server.p12")) {
serverKeyStore.load(resourceAsStream, password);
}
final KeyStore clientKeyStore = KeyStore.getInstance("PKCS12");
try (InputStream resourceAsStream = getClass().getResourceAsStream("mutual_auth_invalid_client.p12")) {
clientKeyStore.load(resourceAsStream, password);
}
final KeyManagerFactory serverKeyManagerFactory =
KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
serverKeyManagerFactory.init(serverKeyStore, password);
final KeyManagerFactory clientKeyManagerFactory =
KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
clientKeyManagerFactory.init(clientKeyStore, password);
File commonCertChain = ResourcesUtil.getFile(getClass(), "mutual_auth_ca.pem");
mySetupMutualAuth(param, serverKeyManagerFactory, commonCertChain, clientKeyManagerFactory, commonCertChain,
auth, false, false);
assertTrue(clientLatch.await(10, TimeUnit.SECONDS));
rethrowIfNotNull(clientException);
assertTrue(serverLatch.await(5, TimeUnit.SECONDS));
rethrowIfNotNull(serverException);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testMutualAuthInvalidClientCertSucceed() do?
testMutualAuthInvalidClientCertSucceed() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java.
Where is testMutualAuthInvalidClientCertSucceed() defined?
testMutualAuthInvalidClientCertSucceed() is defined in handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java at line 738.
What does testMutualAuthInvalidClientCertSucceed() call?
testMutualAuthInvalidClientCertSucceed() calls 2 function(s): mySetupMutualAuth, rethrowIfNotNull.
What calls testMutualAuthInvalidClientCertSucceed()?
testMutualAuthInvalidClientCertSucceed() is called by 1 function(s): testMutualAuthInvalidIntermediateCASucceedWithOptionalClientAuth.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free