Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Nash (0.13 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

            .commonName("cash.app")
            .build()
        val certificate = heldCertificate.certificate
        assertThat(certificate.getSubjectX500Principal().name).isEqualTo("CN=cash.app")
      }
    
      @Test
      fun organizationalUnit() {
        val heldCertificate =
          HeldCertificate.Builder()
            .commonName("cash.app")
            .organizationalUnit("cash")
            .build()
    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)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        val extension =
          Extension(
            SUBJECT_ALTERNATIVE_NAME,
            false,
            listOf(
              generalNameDnsName to "cash.app",
              generalNameDnsName to "www.cash.app",
            ),
          )
        val bytes = "30210603551d11041a30188208636173682e617070820c7777772e636173682e617070".decodeHex()
    
        assertThat(CertificateAdapters.extension.toDer(extension))
    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)
  3. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

              this.hashAlgorithm = "sha1"
              this.hash = pin.substring("sha1/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin")
            }
            pin.startsWith("sha256/") -> {
              this.hashAlgorithm = "sha256"
              this.hash = pin.substring("sha256/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin")
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

        }.also { expected ->
          assertThat(expected).hasMessage("unexpected characters after boundary")
        }
      }
    
      /** The documentation advises that '-' is the simplest boundary possible. */
      @Test fun `dash boundary`() {
        val multipart =
          """
          |---
          |Content-ID: abc
          |
          |abcd
          |---
          |Content-ID: efg
          |
          |efgh
          |-----
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

            "**.example.co.uk",
            "sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
          )
        assertEquals(
          "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=".decodeBase64(),
          pin.hash,
        )
        assertEquals("sha256", pin.hashAlgorithm)
        assertEquals("**.example.co.uk", pin.pattern)
        Assertions.assertTrue(pin.matchesHostname("www.example.co.uk"))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. CHANGELOG.md

    the fixes or features below, please upgrade.
    
     *  New: Named and default parameters constructor for `Request`:
    
        ```
        val request = Request(
          url = "https://cash.app/".toHttpUrl(),
        )
        ```
    
     *  New: `Response.body` is now non-null. This was generally the case in OkHttp 4.x, but the Kotlin
    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)
  7. docs/changelogs/upgrading_to_okhttp_4.md

    ```
    
    But OkHttp 4.x needs a `Companion`:
    
    ```kotlin
    import okhttp3.CipherSuite.Companion.forJavaName
    ```
    
    In the unlikely event that you have a lot of these, run this:
    
    ```bash
    sed -i "" \
      's/^\(import okhttp3\.[^.]*\)\.\([a-z][a-zA-Z]*\)$/\1.Companion.\2/g' \
      `find . -name "*.kt"`
    ```
    
    
    Advanced Profiling
    ------------------
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

                      critical = false,
                      value =
                        listOf(
                          CertificateAdapters.generalNameDnsName to "cash.app",
                          CertificateAdapters.generalNameDnsName to "www.cash.app",
                        ),
                    ),
                    Extension(
                      id = certificateTransparencySignedCertificateTimestamps,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 43.9K bytes
    - Viewed (0)
Back to top