- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for ConscryptPlatform (0.34 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-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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 15.5K bytes - Click Count (1) -
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) -
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;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Dec 30 23:28:56 GMT 2024 - 127.9K bytes - Click Count (1)