- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testBadAlgorithm (0.26 sec)
-
okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt
@Test fun testBadPin() { assertFailsWith<IllegalArgumentException> { CertificatePinner.Pin( "example.co.uk", "sha256/a", ) } } @Test fun testBadAlgorithm() { assertFailsWith<IllegalArgumentException> { CertificatePinner.Pin( "example.co.uk", "sha512/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)