Home / Function/ checkServerTrusted() — netty Function Reference

checkServerTrusted() — netty Function Reference

Architecture documentation for the checkServerTrusted() function in EnhancingX509ExtendedTrustManager.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7cb09430_ae31_2f23_9ea0_20866ef3f4bf["checkServerTrusted()"]
  c5d2be08_7d10_3353_b854_1b0eee00afa0["EnhancingX509ExtendedTrustManager"]
  7cb09430_ae31_2f23_9ea0_20866ef3f4bf -->|defined in| c5d2be08_7d10_3353_b854_1b0eee00afa0
  2eeb261a_bf22_8fb6_3cda_596b5ab85a9f["throwEnhancedCertificateException()"]
  7cb09430_ae31_2f23_9ea0_20866ef3f4bf -->|calls| 2eeb261a_bf22_8fb6_3cda_596b5ab85a9f
  style 7cb09430_ae31_2f23_9ea0_20866ef3f4bf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/EnhancingX509ExtendedTrustManager.java lines 60–69

    @Override
    public void checkServerTrusted(X509Certificate[] chain, String authType, Socket socket)
            throws CertificateException {
        try {
            wrapped.checkServerTrusted(chain, authType, socket);
        } catch (CertificateException e) {
            throwEnhancedCertificateException(e, chain,
                    socket instanceof SSLSocket ? ((SSLSocket) socket).getHandshakeSession() : null);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does checkServerTrusted() do?
checkServerTrusted() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/EnhancingX509ExtendedTrustManager.java.
Where is checkServerTrusted() defined?
checkServerTrusted() is defined in handler/src/main/java/io/netty/handler/ssl/EnhancingX509ExtendedTrustManager.java at line 60.
What does checkServerTrusted() call?
checkServerTrusted() calls 1 function(s): throwEnhancedCertificateException.

Analyze Your Own Codebase

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

Try Supermodel Free