Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for pinRootNotPresentInChain (0.15 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

      @BeforeEach
      fun setup() {
        platform.assumeNotBouncyCastle()
      }
    
      /**
       * The pinner should pull the root certificate from the trust manager.
       */
      @Test
      fun pinRootNotPresentInChain() {
        // Fails on 11.0.1 https://github.com/square/okhttp/issues/4703
        val rootCa =
          HeldCertificate
            .Builder()
            .serialNumber(1L)
            .certificateAuthority(1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
Back to top