Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for unsuccessfulCheck (0.23 sec)

  1. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

            .add("example.com", certB1Sha256Pin)
            .build()
        certificatePinner.check(
          "example.com",
          Arrays.asList(certA1.certificate, certB1.certificate),
        )
      }
    
      @Test
      fun unsuccessfulCheck() {
        val certificatePinner =
          CertificatePinner.Builder()
            .add("example.com", certA1Sha256Pin)
            .build()
        assertFailsWith<SSLPeerUnverifiedException> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top