Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for 02 (0.13 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        }
      }
    
      @Test fun `utc time`() {
        val bytes = "170d3139313231363033303231305a".decodeHex()
        val utcTime = date("2019-12-16T03:02:10.000+0000").time
        assertThat(Adapters.UTC_TIME.toDer(utcTime)).isEqualTo(bytes)
        assertThat(Adapters.UTC_TIME.fromDer(bytes)).isEqualTo(utcTime)
      }
    
      @Test fun `cannot decode malformed utc time`() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_4x.md

        Typically this would cause certain redirects to fail in debug and development configurations.
    
    
    ## Version 4.4.0
    
    _2020-02-17_
    
     *  New: Support `canceled()` as an event that can be observed by `EventListener`. This should be
        useful for splitting out canceled calls in metrics.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

    
    ## Version 3.13.1
    
    _2019-02-05_
    
     *  Fix: Don't crash when using a custom `X509TrustManager` or `SSLSocket` on Android. When we
        removed obsolete code for Android 4.4 we inadvertently also removed support for custom
        subclasses. We've restored that support!
    
    
    ## Version 3.13.0
    
    _2019-02-04_
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

                writer: DerWriter,
                value: String,
              ) = writer.writeUtf8(value)
            },
        )
    
      /**
       * A timestamp like "191216030210Z" or "191215190210-0800" for 2019-12-15T19:02:10-08:00. The
       * cutoff of the 2-digit year is 1950-01-01T00:00:00Z.
       */
      val UTC_TIME =
        BasicDerAdapter(
          name = "UTC TIME",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 23L,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/FormBodyTest.kt

      @Test
      fun characterEncoding() {
        // Browsers convert '\u0000' to '%EF%BF%BD'.
        assertThat(formEncode(0)).isEqualTo("%00")
        assertThat(formEncode(1)).isEqualTo("%01")
        assertThat(formEncode(2)).isEqualTo("%02")
        assertThat(formEncode(3)).isEqualTo("%03")
        assertThat(formEncode(4)).isEqualTo("%04")
        assertThat(formEncode(5)).isEqualTo("%05")
        assertThat(formEncode(6)).isEqualTo("%06")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CookieTest.kt

        // Max-Age = 1, Expires = 2. In either order.
        assertThat(parseCookie(0L, url, "a=b; Max-Age=1; Expires=Thu, 01 Jan 1970 00:00:02 GMT")!!.expiresAt)
          .isEqualTo(1000L)
        assertThat(parseCookie(0L, url, "a=b; Expires=Thu, 01 Jan 1970 00:00:02 GMT; Max-Age=1")!!.expiresAt)
          .isEqualTo(1000L)
        // Max-Age = 2, Expires = 1. In either order.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

    OkHttp 2.x Change Log
    =====================
    
    ## Version 2.7.5
    
    _2016-02-25_
    
     *  Fix: Change the certificate pinner to always build full chains. This
        prevents a potential crash when using certificate pinning with the Google
        Play Services security provider.
    
    
    ## Version 2.7.4
    
    _2016-02-07_
    
     *  Fix: Don't crash when finding the trust manager if the Play Services (GMS)
        security provider is installed.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  8. docs/security/tls_configuration_history.md

     * **REMOVED:** ~~TLS_AES_128_CCM_SHA256[¹][tlsv13_only]~~
     * **REMOVED:** ~~TLS_AES_128_CCM_8_SHA256[¹][tlsv13_only]~~
    
    [OkHttp 3.13][OkHttp313]
    ------------------------
    
    _2019-02-04_
    
    Remove TLSv1.1 and TLSv1 from MODERN_TLS. Change COMPATIBLE_TLS to support all TLS versions.
    
    ##### RESTRICTED_TLS versions
    
    * TLSv1.3
    * TLSv1.2
    
    ##### MODERN_TLS versions
    
    * TLSv1.3
    * TLSv1.2
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 9K bytes
    - Viewed (0)
  9. CHANGELOG.md

    _2022-03-14_
    
     *  Fix: Don't attempt to close pooled connections. We saw occasional fast fallback calls crash in
        the previous alpha due to an unexpected race.
    
    
    ## Version 5.0.0-alpha.5
    
    _2022-02-21_
    
     *  Fix: Don't include [Assertk][assertk] in OkHttp's production dependencies. This regression was
        introduced in the 5.0.0-alpha.4 release.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

          MockResponse(
            headers =
              headersOf(
                "Set-Cookie",
                "a=b; Expires=Thu, 01 Jan 1970 00:00:00 GMT",
                "Set-Cookie",
                "c=d; Expires=Fri, 02 Jan 1970 23:59:59 GMT; path=/bar; secure",
              ),
          ),
        )
        val cookieJar = RecordingCookieJar()
        client =
          client.newBuilder()
            .cookieJar(cookieJar)
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
Back to top