- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testMatchesSha1 (0.08 sec)
-
okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt
Assertions.assertTrue(pin.matchesCertificate(certA1.certificate)) Assertions.assertFalse(pin.matchesCertificate(certB1.certificate)) } @Test fun testMatchesSha1() { val pin = CertificatePinner.Pin("example.com", certC1Sha1Pin) Assertions.assertTrue(pin.matchesCertificate(certC1.certificate)) Assertions.assertFalse(pin.matchesCertificate(certB1.certificate)) }
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
val pin = Pin("example.com", certA1Sha256Pin) assertTrue(pin.matchesCertificate(certA1.certificate)) assertFalse(pin.matchesCertificate(certB1.certificate)) } @Test fun testMatchesSha1() { val pin = Pin("example.com", certC1Sha1Pin) assertTrue(pin.matchesCertificate(certC1.certificate)) assertFalse(pin.matchesCertificate(certB1.certificate)) } @Test fun pinList() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.1K bytes - Viewed (0)