SslContext() — netty Function Reference
Architecture documentation for the SslContext() function in ServerUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 659f64fd_39a9_0a9c_dfe4_0f18be0df31e["SslContext()"] cfd9dc18_ba68_02c9_fd49_9400383b8b9e["ServerUtil"] 659f64fd_39a9_0a9c_dfe4_0f18be0df31e -->|defined in| cfd9dc18_ba68_02c9_fd49_9400383b8b9e style 659f64fd_39a9_0a9c_dfe4_0f18be0df31e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
example/src/main/java/io/netty/example/util/ServerUtil.java lines 33–44
public static SslContext buildSslContext() throws Exception {
if (!SSL) {
return null;
}
X509Bundle ssc = new CertificateBuilder()
.subject("cn=localhost")
.setIsCertificateAuthority(true)
.buildSelfSigned();
return SslContextBuilder
.forServer(ssc.toKeyManagerFactory())
.build();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does SslContext() do?
SslContext() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/util/ServerUtil.java.
Where is SslContext() defined?
SslContext() is defined in example/src/main/java/io/netty/example/util/ServerUtil.java at line 33.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free