Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newProviderBuilder (0.14 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

                if (!Conscrypt.isAvailable()) {
                  System.err.println("Warning: Conscrypt not available")
                }
    
                val provider =
                  Conscrypt.newProviderBuilder()
                    .provideTrustManager(true)
                    .build()
                Security.insertProviderAt(provider, 1)
              }
            } else if (platformSystemProperty == JDK8_ALPN_PROPERTY) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  2. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        response.use {
          assertEquals(200, response.code)
        }
      }
    
      @Test
      fun testConscryptRequest() {
        assumeNetwork()
    
        try {
          Security.insertProviderAt(Conscrypt.newProviderBuilder().build(), 1)
    
          val request = Request.Builder().url("https://facebook.com/robots.txt").build()
    
          var socketClass: String? = null
    
          val clientCertificates =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top