Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for trustManager (0.29 sec)

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

         * TrustManager[] trustManagers = trustManagerFactory.getTrustManagers();
         * if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) {
         *     throw new IllegalStateException("Unexpected default trust managers:"
         *         + Arrays.toString(trustManagers));
         * }
         * X509TrustManager trustManager = (X509TrustManager) trustManagers[0];
         *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. 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.
    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)
  4. 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 =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
Back to top