SSLEngine() — netty Function Reference
Architecture documentation for the SSLEngine() function in SslHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 704ea18e_668d_9dce_0f06_6a89d0ab4d62["SSLEngine()"] adaf7dc7_94e2_152f_ffdb_453fdaa4f25e["SslHandlerTest"] 704ea18e_668d_9dce_0f06_6a89d0ab4d62 -->|defined in| adaf7dc7_94e2_152f_ffdb_453fdaa4f25e style 704ea18e_668d_9dce_0f06_6a89d0ab4d62 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/SslHandlerTest.java lines 232–240
private static SSLEngine newServerModeSSLEngine() throws NoSuchAlgorithmException {
SSLEngine engine = SSLContext.getDefault().createSSLEngine();
// Set the mode before we try to do the handshake as otherwise it may throw an IllegalStateException.
// See:
// - https://docs.oracle.com/javase/10/docs/api/javax/net/ssl/SSLEngine.html#beginHandshake()
// - https://mail.openjdk.java.net/pipermail/security-dev/2018-July/017715.html
engine.setUseClientMode(false);
return engine;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does SSLEngine() do?
SSLEngine() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SslHandlerTest.java.
Where is SSLEngine() defined?
SSLEngine() is defined in handler/src/test/java/io/netty/handler/ssl/SslHandlerTest.java at line 232.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free