- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testBadHost (0.09 sec)
-
okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt
assertFailsWith<IllegalArgumentException> { CertificatePinner.Pin( "example.co.uk", "sha512/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", ) } } @Test fun testBadHost() { assertFailsWith<IllegalArgumentException> { CertificatePinner.Pin( "example.*", "sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", ) } } @Test
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.9K bytes - Viewed (0)