- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addProvider (0.03 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
// May fail with ProviderException with root cause like // sun.security.pkcs11.wrapper.PKCS11Exception: CKR_SLOT_ID_INVALID val pkcs11 = Security.getProvider("SunPKCS11").configure(config) Security.addProvider(pkcs11) val callbackHandler = ConsoleCallbackHandler val builderList: List<KeyStore.Builder> = listOf(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 4.2K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt
val okHttp_3_11 = historicOkHttp("3.11") val okHttp_3_9 = historicOkHttp("3.9") val currentVm = currentVm(ianaSuitesNew) val conscrypt = if (includeConscrypt) { Security.addProvider(Conscrypt.newProvider()) conscrypt(ianaSuitesNew) } else { Client("Conscrypt", "Disabled", null, listOf()) } val clients = listOf( okhttp, chrome80,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.5K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
_2020-09-11_ **With this release, `okhttp-tls` no longer depends on Bouncy Castle and doesn't install the Bouncy Castle security provider.** If you still need it, you can do it yourself: ``` Security.addProvider(BouncyCastleProvider()) ``` You will also need to configure this dependency: ``` dependencies { implementation "org.bouncycastle:bcprov-jdk15on:1.65" } ```
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0)