Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testBadPin (0.16 sec)

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

        certificatePinner.check("anotherexample.co.uk", listOf(certB1.certificate))
        certificatePinner.check("foo.anotherexample.co.uk", listOf(certB1.certificate))
      }
    
      @Test
      fun testBadPin() {
        assertFailsWith<IllegalArgumentException> {
          CertificatePinner.Pin(
            "example.co.uk",
            "sha256/a",
          )
        }
      }
    
      @Test
      fun testBadAlgorithm() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top