Home / Function/ testValidSHA1Fingerprint() — netty Function Reference

testValidSHA1Fingerprint() — netty Function Reference

Architecture documentation for the testValidSHA1Fingerprint() function in FingerprintTrustManagerFactoryTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  efc386ab_4127_bede_ca2e_89ded60e8643["testValidSHA1Fingerprint()"]
  9becb15b_a654_ff83_4d42_ffdcccac581c["FingerprintTrustManagerFactoryTest"]
  efc386ab_4127_bede_ca2e_89ded60e8643 -->|defined in| 9becb15b_a654_ff83_4d42_ffdcccac581c
  style efc386ab_4127_bede_ca2e_89ded60e8643 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/util/FingerprintTrustManagerFactoryTest.java lines 97–105

    @Test
    public void testValidSHA1Fingerprint() throws Exception {
        FingerprintTrustManagerFactory factory = new FingerprintTrustManagerFactory(FIRST_CERT_SHA1_FINGERPRINT);

        assertTrue(factory.engineGetTrustManagers().length > 0);
        assertTrue(factory.engineGetTrustManagers()[0] instanceof X509TrustManager);
        X509TrustManager tm = (X509TrustManager) factory.engineGetTrustManagers()[0];
        tm.checkClientTrusted(FIRST_CHAIN, "test");
    }

Domain

Subdomains

Frequently Asked Questions

What does testValidSHA1Fingerprint() do?
testValidSHA1Fingerprint() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/util/FingerprintTrustManagerFactoryTest.java.
Where is testValidSHA1Fingerprint() defined?
testValidSHA1Fingerprint() is defined in handler/src/test/java/io/netty/handler/ssl/util/FingerprintTrustManagerFactoryTest.java at line 97.

Analyze Your Own Codebase

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

Try Supermodel Free