Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TrustManager (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * sslContext.init(null, new TrustManager[] { trustManager }, null);
         * SSLSocketFactory sslSocketFactory = sslContext.getSocketFactory();
         *
         * OkHttpClient client = new OkHttpClient.Builder()
         *     .sslSocketFactory(sslSocketFactory, trustManager)
         *     .build();
         * ```
         *
         * ## TrustManagers on Android are Weird!
         *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      }
    
      private fun enableTlsWithTunnel() {
        client =
          client.newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            )
            .hostnameVerifier(RecordingHostnameVerifier())
            .build()
        server.useHttps(handshakeCertificates.sslSocketFactory())
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            clientTestRule.newClientBuilder()
              .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
              .sslSocketFactory(
                handshakeCertificates.sslSocketFactory(),
                handshakeCertificates.trustManager,
              )
              .hostnameVerifier(RecordingHostnameVerifier())
              .build()
          scheme = "https"
        } else {
          server.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
          client =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

     *  New: Accept user-provided trust managers in `OkHttpClient.Builder`. This
        allows OkHttp to satisfy its TLS requirements directly. Otherwise OkHttp
        will use reflection to extract the `TrustManager` from the
        `SSLSocketFactory`.
     *  New: Support prerelease Java 9. This gets ALPN from the platform rather than
        relying on the alpn-boot bootclasspath override.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top