Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for pinIntermediatePresentInChain (0.26 sec)

  1. okhttp/src/test/java/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)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top