- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for ConscryptPlatform (0.06 seconds)
-
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 falseCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.6K bytes - Click Count (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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (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()))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.1K bytes - Click Count (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()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu May 22 14:39:30 GMT 2025 - 2.1K bytes - Click Count (0)