- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testGoodPin (0.17 sec)
-
okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt
assertFailsWith<IllegalArgumentException> { CertificatePinner.Pin( "example.*", "sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", ) } } @Test fun testGoodPin() { val pin = CertificatePinner.Pin( "**.example.co.uk", "sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", ) assertEquals(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt
assertThat(certificatePinner.findMatchingPins("example.example.com")) .containsExactly(expectedPin) } @Test fun testGoodPin() { val pin = Pin( "**.example.co.uk", "sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.1K bytes - Viewed (0)