Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for peerPrincipal (0.1 sec)

  1. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

            .body("abc")
            .build(),
        )
        val call = client.newCall(Request.Builder().url(server.url("/")).build())
        val response = call.execute()
        assertThat(response.handshake!!.peerPrincipal)
          .isEqualTo(X500Principal("CN=Local Host"))
        assertThat(response.handshake!!.localPrincipal)
          .isEqualTo(X500Principal("CN=Jethro Willis"))
        assertThat(response.body.string()).isEqualTo("abc")
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. docs/changelogs/upgrading_to_okhttp_4.md

     * **Cookie**: domain, expiresAt, hostOnly, httpOnly, name, path, persistent, value
     * **Dispatcher**: executorService
     * **FormBody**: size
     * **Handshake**: cipherSuite, localCertificates, localPrincipal, peerCertificates, peerPrincipal,
       tlsVersion
     * **HandshakeCertificates**: keyManager, trustManager
     * **Headers**: size
     * **HeldCertificate**: certificate, keyPair
     * **HttpLoggingInterceptor**: level
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val tlsVersion: TlsVersion = handshake.tlsVersion()
        val cipherSuite: CipherSuite = handshake.cipherSuite()
        val peerCertificates: List<Certificate> = handshake.peerCertificates()
        val peerPrincipal: Principal? = handshake.peerPrincipal()
        val localCertificates: List<Certificate> = handshake.localCertificates()
        val localPrincipal: Principal? = handshake.localPrincipal()
      }
    
      @Test @Disabled
      fun headers() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(handshake.cipherSuite).isNotNull()
        assertThat(handshake.localPrincipal).isNotNull()
        assertThat(handshake.localCertificates.size).isEqualTo(1)
        assertThat(handshake.peerPrincipal).isNull()
        assertThat(handshake.peerCertificates.size).isEqualTo(0)
      }
    
      @Test
      fun httpsWithClientAuth() {
        platform.assumeNotBouncyCastle()
        platform.assumeNotConscrypt()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        assertThat(handshake.cipherSuite).isNotNull()
        assertThat(handshake.localPrincipal).isNotNull()
        assertThat(handshake.localCertificates.size).isEqualTo(1)
        assertThat(handshake.peerPrincipal).isNull()
        assertThat(handshake.peerCertificates.size).isEqualTo(0)
      }
    
      @Test
      fun httpsWithClientAuth() {
        platform.assumeNotBouncyCastle()
        platform.assumeNotConscrypt()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

          )
        val tlsVersion: TlsVersion = handshake.tlsVersion
        val cipherSuite: CipherSuite = handshake.cipherSuite
        val peerCertificates: List<Certificate> = handshake.peerCertificates
        val peerPrincipal: Principal? = handshake.peerPrincipal
        val localCertificates: List<Certificate> = handshake.localCertificates
        val localPrincipal: Principal? = handshake.localPrincipal
      }
    
      @Test
      fun headers() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top