Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for pinIntermediatePresentInChain (0.11 seconds)

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

        val response1 = call1.execute()
        assertThat(response1.body.string()).isEqualTo("abc")
      }
    
      /**
       * The pinner should accept an intermediate from the server's chain.
       */
      @Test
      fun pinIntermediatePresentInChain() {
        // Fails on 11.0.1 https://github.com/square/okhttp/issues/4703
        val rootCa =
          HeldCertificate
            .Builder()
            .serialNumber(1L)
            .certificateAuthority(1)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 24.4K bytes
    - Click Count (2)
Back to Top