Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for malformedPin (0.05 sec)

  1. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

    import okio.ByteString.Companion.decodeBase64
    import org.junit.jupiter.api.Assertions
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    
    class CertificatePinnerTest {
      @Test
      fun malformedPin() {
        val builder = CertificatePinner.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.add("example.com", "md5/DmxUShsZuNiqPQsX2Oi9uv2sCnw=")
        }
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top