Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for insertProviderAt (0.1 sec)

  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) {
    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

          }
        }
      }
    
      @Test
      @Disabled("breaks conscrypt test")
      fun testBouncyCastleRequest() {
        assumeNetwork()
    
        try {
          Security.insertProviderAt(BouncyCastleProvider(), 1)
          Security.insertProviderAt(BouncyCastleJsseProvider(), 2)
    
          var socketClass: String? = null
    
          val trustManager =
    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