Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Seguin (0.3 sec)

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

          |
          """.trimMargin()
        val pkcs8Pem =
          """
          |-----BEGIN PRIVATE KEY-----
          |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J
          |lu/GJQZoU9lDrCPeUcQ28tzOWw==
          |-----END PRIVATE KEY-----
          |
          """.trimMargin()
        val bcPkcs8Pem =
          """
          |-----BEGIN PRIVATE KEY-----
          |ME0CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEMzAxAgEBBCA7ODT0xhGSNn4ESj6J
    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/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      val decoded = Punycode.decode(bufferA.readUtf8()) ?: return null
    
      // 4.1 Validate.
    
      // Must be NFC.
      if (decoded != normalizeNfc(decoded)) return null
    
      // TODO: Must not begin with a combining mark.
      // TODO: Each character must be 'valid' or 'deviation'. Not mapped.
      // TODO: CheckJoiners from IDNA 2008
      // TODO: CheckBidi from IDNA 2008, RFC 5893, Section 2.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

        string containing both a certificate and PKCS #8-encoded private key.
    
        ```kotlin
        val heldCertificate = HeldCertificate.decode("""
            |-----BEGIN CERTIFICATE-----
            |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl
            |cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx
    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)
  4. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

        val session = FakeSSLSession()
        assertThat(verifier.verify("localhost", session)).isFalse()
      }
    
      @Test fun verifyCn() {
        // CN=foo.com
        val session =
          session(
            """
            -----BEGIN CERTIFICATE-----
            MIIERjCCAy6gAwIBAgIJAIz+EYMBU6aQMA0GCSqGSIb3DQEBBQUAMIGiMQswCQYD
            VQQGEwJDQTELMAkGA1UECBMCQkMxEjAQBgNVBAcTCVZhbmNvdXZlcjEWMBQGA1UE
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

      // Typically developers will need to get a PEM file from their organization's TLS administrator.
      val comodoRsaCertificationAuthority =
        """
        -----BEGIN CERTIFICATE-----
        MIIF2DCCA8CgAwIBAgIQTKr5yttjb+Af907YWwOGnTANBgkqhkiG9w0BAQwFADCB
        hTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
        A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNV
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.8K bytes
    - Viewed (5)
  6. mockwebserver/src/main/kotlin/mockwebserver3/StreamHandler.kt

     * limitations under the License.
     */
    package mockwebserver3
    
    import okhttp3.ExperimentalOkHttpApi
    
    /**
     * Handles a call's stream directly. Use this instead of [MockResponseBody] to begin sending
     * response data before all request data has been received.
     *
     * See [okhttp3.RequestBody.isDuplex].
     */
    @ExperimentalOkHttpApi
    interface StreamHandler {
      fun handle(stream: Stream)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 945 bytes
    - Viewed (0)
  7. okhttp-tls/README.md

    PEM files
    ---------
    
    You can encode a `HeldCertificate` in PEM format:
    
    ```java
    HeldCertificate heldCertificate = ...
    System.out.println(heldCertificate.certificatePem())
    ```
    
    ```
    -----BEGIN CERTIFICATE-----
    MIIBSjCB8aADAgECAgEBMAoGCCqGSM49BAMCMC8xLTArBgNVBAMTJDJiYWY3NzVl
    LWE4MzUtNDM5ZS1hYWE2LTgzNmNiNDlmMGM3MTAeFw0xODA3MTMxMjA0MzJaFw0x
    ODA3MTQxMjA0MzJaMC8xLTArBgNVBAMTJDJiYWY3NzVlLWE4MzUtNDM5ZS1hYWE2
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 9.1K bytes
    - Viewed (1)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

          |jaA9VEhgdaVhxBsT2qzUNDsXlOzGsliznDfoqETb
          |
          """.trimMargin()
        val certificateByteString = certificateBase64.decodeBase64()!!
        val certificatePem =
          """
          |-----BEGIN CERTIFICATE-----
          |$certificateBase64
          |-----END CERTIFICATE-----
          |
          """.trimMargin()
    
        val javaCertificate = certificatePem.decodeCertificatePem()
        val okHttpCertificate =
    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)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

      companion object {
        private val PEM_REGEX = Regex("""-----BEGIN ([!-,.-~ ]*)-----([^-]*)-----END \1-----""")
    
        /**
         * Decodes a multiline string that contains both a [certificate][certificatePem] and a
         * [private key][privateKeyPkcs8Pem], both [PEM-encoded][rfc_7468]. A typical input string looks
         * like this:
         *
         * ```
         * -----BEGIN CERTIFICATE-----
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  10. docs/changelogs/changelog_3x.md

        builder then use it to sign another certificate or perform a TLS handshake. The
        `certificatePem()` method encodes the certificate in the familiar PEM format
        (`--- BEGIN CERTIFICATE ---`); the `privateKeyPkcs8Pem()` does likewise for the private key.
    
        `HandshakeCertificates` holds the TLS certificates required for a TLS handshake. On the server
    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)
Back to top