- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ConscryptPlatform (0.25 sec)
-
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
} } catch (e: NoClassDefFoundError) { false } catch (e: ClassNotFoundException) { false } fun buildIfSupported(): ConscryptPlatform? = if (isSupported) ConscryptPlatform() else null fun atLeastVersion( major: Int, minor: Int = 0, patch: Int = 0, ): Boolean { val conscryptVersion = Conscrypt.version() ?: return false
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConscryptTest.kt
} @Test fun testBuildIfSupported() { val actual = ConscryptPlatform.buildIfSupported() assertThat(actual).isNotNull() } @Test fun testVersion() { val version = Conscrypt.version() assertTrue(ConscryptPlatform.atLeastVersion(1, 4, 9)) assertTrue(ConscryptPlatform.atLeastVersion(version.major())) assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor()))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/graal/GraalSvm.kt
import okhttp3.internal.platform.ConscryptPlatform import okhttp3.internal.platform.Jdk8WithJettyBootPlatform import okhttp3.internal.platform.Jdk9Platform import okhttp3.internal.platform.OpenJSSEPlatform import okhttp3.internal.platform.Platform @TargetClass(BouncyCastlePlatform::class) @Delete class TargetBouncyCastlePlatform @TargetClass(ConscryptPlatform::class) @Delete class TargetConscryptPlatform
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt
val preferredProvider = Security.getProviders()[0].name return "BC" == preferredProvider } actual fun findPlatform(): Platform { if (isConscryptPreferred) { val conscrypt = ConscryptPlatform.buildIfSupported() if (conscrypt != null) { return conscrypt } } if (isBouncyCastlePreferred) { val bc = BouncyCastlePlatform.buildIfSupported()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 22 14:39:30 UTC 2025 - 2.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
import com.amazon.corretto.crypto.provider.SelfTestStatus import java.lang.reflect.Method import java.security.Security import okhttp3.TestUtil import okhttp3.internal.platform.ConscryptPlatform import okhttp3.internal.platform.Jdk8WithJettyBootPlatform import okhttp3.internal.platform.Jdk9Platform import okhttp3.internal.platform.OpenJSSEPlatform import okhttp3.internal.platform.Platform
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 15.4K bytes - Viewed (1) -
okhttp/src/androidMain/baseline-prof.txt
Lokhttp3/internal/platform/AndroidPlatform; Lokhttp3/internal/platform/BouncyCastlePlatform$Companion; Lokhttp3/internal/platform/BouncyCastlePlatform; Lokhttp3/internal/platform/ConscryptPlatform$Companion; Lokhttp3/internal/platform/ConscryptPlatform; Lokhttp3/internal/platform/Jdk8WithJettyBootPlatform; Lokhttp3/internal/platform/Jdk9Platform$Companion; Lokhttp3/internal/platform/Jdk9Platform;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 127.9K bytes - Viewed (0)