Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for successfulCheckSha1Pin (0.36 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt

    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Test
    
    class CertificatePinnerKotlinTest {
      @Test
      fun successfulCheckSha1Pin() {
        val certificatePinner =
          CertificatePinner
            .Builder()
            .add("example.com", "sha1/" + certA1.certificate.sha1Hash().base64())
            .build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top