Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 67 for trustManager (0.16 sec)

  1. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

      }
    
      private fun enableTls() {
        client =
          client.newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            )
            .hostnameVerifier(RecordingHostnameVerifier())
            .build()
        server1.useHttps(handshakeCertificates.sslSocketFactory())
        server2.useHttps(handshakeCertificates.sslSocketFactory())
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

            .body("ABC")
            .build(),
        )
        client =
          client.newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            )
            .hostnameVerifier(NULL_HOSTNAME_VERIFIER)
            .build()
        val request = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request).execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

      }
    
      @Test
      fun equalsFromTrustManager() {
        val handshakeCertificates = HandshakeCertificates.Builder().build()
        val x509TrustManager = handshakeCertificates.trustManager
        assertThat(get(x509TrustManager)).isEqualTo(get(x509TrustManager))
      }
    
      @Test
      fun normalizeSingleSelfSignedCertificate() {
        val root =
          HeldCertificate.Builder()
            .serialNumber(1L)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

        client =
          clientTestRule.newClientBuilder()
            .eventListenerFactory(loggingEventListenerFactory)
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            )
            .retryOnConnectionFailure(false)
            .build()
        url = server.url("/")
      }
    
      @Test
      fun get() {
        assumeNotWindows()
        server.enqueue(
          MockResponse.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

        server.enqueue(MockResponse())
    
        client =
          clientTestRule.newClientBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            )
            .hostnameVerifier(RecordingHostnameVerifier())
            .build()
        server.useHttps(handshakeCertificates.sslSocketFactory())
    
        defaultEnabledCipherSuites =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

          )
        }
      }
    
      private fun enableTls() {
        client =
          client.newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            )
            .build()
        server.useHttps(handshakeCertificates.sslSocketFactory())
      }
    
      @RetryingTest(5)
      @Flaky
      fun testHeadAfterPut() {
        class ErringRequestBody : RequestBody() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

                  return socket
                }
              },
            )
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            )
            .eventListener(listener)
            .apply {
              if (connectionType == HTTPS) {
                protocols(listOf(HTTP_1_1))
              }
            }
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

      }
    
      private fun enableTls() {
        client =
          client.newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            )
            .hostnameVerifier(RecordingHostnameVerifier())
            .build()
        server!!.useHttps(handshakeCertificates.sslSocketFactory())
      }
    }
    
    @Flaky // STDOUT logging enabled for test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        webServer.useHttps(handshakeCertificates.sslSocketFactory())
        client =
          client.newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            )
            .hostnameVerifier(RecordingHostnameVerifier())
            .build()
        websocketScheme("wss")
      }
    
      @Test
      fun httpsScheme() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/DuplexTest.kt

      }
    
      private fun enableTls() {
        client =
          client.newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            )
            .hostnameVerifier(RecordingHostnameVerifier())
            .build()
        server.useHttps(handshakeCertificates.sslSocketFactory())
      }
    
      private inner class DelayedRequestBody(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top