Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for VALUES (0.16 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       *
       * @param forceConstructed non-null to set the constructed bit to the specified value, even if the
       *     writing process sets something else. This is used to encode SEQUENCES in values that are
       *     declared to have non-constructed values, like OCTET STRING values.
       */
      @Suppress("UNCHECKED_CAST") // read() produces a single element of the expected type.
      fun withExplicitBox(
        tagClass: Int = DerHeader.TAG_CLASS_CONTEXT_SPECIFIC,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

      val subjectUniqueID: BitString?,
      val extensions: List<Extension>,
    ) {
      /**
       * Returns the standard name of this certificate's signature algorithm as specified by
       * [Signature.getInstance]. Typical values are like "SHA256WithRSA".
       */
      val signatureAlgorithmName: String
        get() {
          return when (signature.algorithm) {
            ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION -> "SHA256WithRSA"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

            if (requestBody != null) {
              // Request body headers are only present when installed as a network interceptor. When not
              // already present, force them to be included (if available) so their values are known.
              requestBody.contentType()?.let {
                if (headers["Content-Type"] == null) {
                  logger.log("Content-Type: $it")
                }
              }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  4. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

            .build()
        val certificate = heldCertificate.certificate
        assertThat(certificate.getSubjectX500Principal().name).isEqualTo(
          "CN=cash.app,OU=cash",
        )
      }
    
      /** Confirm golden values of encoded PEMs.  */
      @Test
      fun pems() {
        val keyFactory = KeyFactory.getInstance("RSA")
        val publicKeyBytes =
          (
            "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCApFHhtrLan28q+oMolZuaTfWBA0V5aM" +
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val requestHeaders = request.headers
        assertThat(LinkedHashSet(requestHeaders.values("D"))).isEqualTo(newSet("e", "f"))
        assertThat(LinkedHashSet(requestHeaders.values("d"))).isEqualTo(newSet("e", "f"))
        val response = getResponse(request)
        response.close()
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.headers.values("D")).isEqualTo(listOf("e", "f"))
        assertThat(recordedRequest.headers["G"]).isNull()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_4x.md

    ## Version 4.9.3
    
    _2021-11-21_
    
     *  Fix: Don't fail HTTP/2 responses if they complete before a `RST_STREAM` is sent.
    
    
    ## Version 4.9.2
    
    _2021-09-30_
    
     *  Fix: Don't include potentially-sensitive header values in `Headers.toString()` or exceptions.
        This applies to `Authorization`, `Cookie`, `Proxy-Authorization`, and `Set-Cookie` headers.
     *  Fix: Don't crash with an `InaccessibleObjectException` when running on JDK17+ with strong
    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)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     *    default to their previous value.
     *
     * Every [edit] call must be matched by a call to [Editor.commit] or [Editor.abort]. Committing is
     * atomic: a read observes the full set of values as they were before or after the commit, but never
     * a mix of values.
     *
     * Clients call [get] to read a snapshot of an entry. The read will observe the value at the time
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RecordedResponse.kt

      fun assertRequestMethod(method: String) =
        apply {
          assertThat(request.method).isEqualTo(method)
        }
    
      fun assertRequestHeader(
        name: String,
        vararg values: String,
      ) = apply {
        assertThat(request.headers(name)).containsExactly(*values)
      }
    
      fun assertCode(expectedCode: Int) =
        apply {
          assertThat(response!!.code).isEqualTo(expectedCode)
        }
    
      fun assertSuccessful() =
        apply {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     * The range goes until the beginning of the next range.
     *
     * When b2 and b3 are unused, their values are set to 0x2d ('-').
     *
     * Section Index (1,240 bytes)
     * ===========================
     *
     * Each entry is 4 bytes, and represents all the code points that share a 14-bit prefix. Entries are
     * sorted by this 14-bit prefix.
     *
     * We define these values:
     *
     *  * **b0b1s7**: (b0 << 14) + (b1 << 7)
     *  * **b2b3s2**: (b2 << 9) + (b3 << 2)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/ErrorCode.kt

      COMPRESSION_ERROR(9),
    
      CONNECT_ERROR(0xa),
    
      ENHANCE_YOUR_CALM(0xb),
    
      INADEQUATE_SECURITY(0xc),
    
      HTTP_1_1_REQUIRED(0xd),
      ;
    
      companion object {
        fun fromHttp2(code: Int): ErrorCode? = values().find { it.httpCode == code }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.2K bytes
    - Viewed (0)
Back to top