Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for insertProviderAt (0.07 seconds)

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

                System.setProperty("javax.net.debug", "")
              }
    
              Security.insertProviderAt(OpenJSSE(), 1)
            } else if (platformSystemProperty == BOUNCYCASTLE_PROPERTY && Security.getProviders()[0].name != "BC") {
              Security.insertProviderAt(BouncyCastleProvider(), 1)
              Security.insertProviderAt(BouncyCastleJsseProvider(), 2)
            } else if (platformSystemProperty == CORRETTO_PROPERTY) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 15.5K bytes
    - Click Count (1)
  2. android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt

            }
          }
        }
      }
    
      @Test
      @Disabled("breaks conscrypt test")
      fun testBouncyCastleRequest() {
        assumeNetwork()
    
        try {
          Security.insertProviderAt(BouncyCastleProvider(), 1)
          Security.insertProviderAt(BouncyCastleJsseProvider(), 2)
    
          var socketClass: String? = null
    
          val trustManager =
            TrustManagerFactory
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  3. README.md

    [Conscrypt][conscrypt], which integrates [BoringSSL](https://github.com/google/boringssl) with Java. OkHttp will use Conscrypt if it is
    the first security provider:
    
    ```java
    Security.insertProviderAt(Conscrypt.newProvider(), 1);
    ```
    
    The OkHttp `3.12.x` branch supports Android 2.3+ (API level 9+) and Java 7+. These platforms lack
    support for TLS 1.2 and should not be used.
    
    
    Releases
    --------
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top