Home / Function/ boringSSLVerifyModeForServer() — netty Function Reference

boringSSLVerifyModeForServer() — netty Function Reference

Architecture documentation for the boringSSLVerifyModeForServer() function in QuicheQuicSslContext.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7aa1baed_7f72_e9ff_a127_01873d1e70f8["boringSSLVerifyModeForServer()"]
  ea71e2fc_ba66_6542_2be3_948d21522ebd["QuicheQuicSslContext"]
  7aa1baed_7f72_e9ff_a127_01873d1e70f8 -->|defined in| ea71e2fc_ba66_6542_2be3_948d21522ebd
  4c11817f_e3df_d049_1a15_4c91d56786ee["QuicheQuicSslContext()"]
  4c11817f_e3df_d049_1a15_4c91d56786ee -->|calls| 7aa1baed_7f72_e9ff_a127_01873d1e70f8
  style 7aa1baed_7f72_e9ff_a127_01873d1e70f8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicSslContext.java lines 317–328

    private static int boringSSLVerifyModeForServer(ClientAuth mode) {
        switch (mode) {
            case NONE:
                return BoringSSL.SSL_VERIFY_NONE;
            case REQUIRE:
                return BoringSSL.SSL_VERIFY_PEER | BoringSSL.SSL_VERIFY_FAIL_IF_NO_PEER_CERT;
            case OPTIONAL:
                return BoringSSL.SSL_VERIFY_PEER;
            default:
                throw new Error("Unexpected mode: " + mode);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does boringSSLVerifyModeForServer() do?
boringSSLVerifyModeForServer() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicSslContext.java.
Where is boringSSLVerifyModeForServer() defined?
boringSSLVerifyModeForServer() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicSslContext.java at line 317.
What calls boringSSLVerifyModeForServer()?
boringSSLVerifyModeForServer() is called by 1 function(s): QuicheQuicSslContext.

Analyze Your Own Codebase

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

Try Supermodel Free