Home / Function/ SslContext() — netty Function Reference

SslContext() — netty Function Reference

Architecture documentation for the SslContext() function in SslContextBuilder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7689562c_3d47_1921_98c2_527d28519dbe["SslContext()"]
  10636013_ce26_62a5_2b7d_4d154c756277["SslContextBuilder"]
  7689562c_3d47_1921_98c2_527d28519dbe -->|defined in| 10636013_ce26_62a5_2b7d_4d154c756277
  42d9286b_7e40_e2b5_6fdb_40690aaf5ec5["toArray()"]
  7689562c_3d47_1921_98c2_527d28519dbe -->|calls| 42d9286b_7e40_e2b5_6fdb_40690aaf5ec5
  style 7689562c_3d47_1921_98c2_527d28519dbe fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/SslContextBuilder.java lines 672–685

    public SslContext build() throws SSLException {
        if (forServer) {
            return SslContext.newServerContextInternal(provider, sslContextProvider, trustCertCollection,
                trustManagerFactory, keyCertChain, key, keyPassword, keyManagerFactory,
                ciphers, cipherFilter, apn, sessionCacheSize, sessionTimeout, clientAuth, protocols, startTls,
                enableOcsp, secureRandom, keyStoreType, toArray(options.entrySet(), EMPTY_ENTRIES));
        } else {
            return SslContext.newClientContextInternal(provider, sslContextProvider, trustCertCollection,
                trustManagerFactory, keyCertChain, key, keyPassword, keyManagerFactory,
                ciphers, cipherFilter, apn, protocols, sessionCacheSize,
                    sessionTimeout, enableOcsp, secureRandom, keyStoreType, endpointIdentificationAlgorithm,
                    serverNames, toArray(options.entrySet(), EMPTY_ENTRIES));
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does SslContext() do?
SslContext() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/SslContextBuilder.java.
Where is SslContext() defined?
SslContext() is defined in handler/src/main/java/io/netty/handler/ssl/SslContextBuilder.java at line 672.
What does SslContext() call?
SslContext() calls 1 function(s): toArray.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free