- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newProviderBuilder (0.31 sec)
-
okhttp/src/test/java/okhttp3/TestTls13Request.kt
} } catch (ioe: IOException) { println(ioe) } } fun main(vararg args: String) { // System.setProperty("javax.net.debug", "ssl:handshake:verbose"); Security.insertProviderAt(Conscrypt.newProviderBuilder().provideTrustManager().build(), 1) println("Running tests using ${Platform.get()} ${System.getProperty("java.vm.version")}") // https://github.com/tlswg/tls13-spec/wiki/Implementations val urls = listOf(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt
@RegisterExtension @JvmField val platform = PlatformRule() @BeforeEach fun setUp() { platform.assumeConscrypt() } val context: SSLContext by lazy { val provider: Provider = Conscrypt.newProviderBuilder().provideTrustManager(true).build() SSLContext.getInstance("TLS", provider).apply { init(null, null, null) } } @ParameterizedTest @MethodSource("data")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0)