Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Conscrypt (0.75 sec)

  1. samples/tlssurvey/build.gradle.kts

    }
    
    application {
      mainClass.set("okhttp3.survey.RunSurveyKt")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.okhttpCoroutines)
      implementation(libs.conscrypt.openjdk)
    
      implementation(libs.retrofit)
      implementation(libs.converter.moshi)
      implementation(libs.squareup.moshi)
      implementation(libs.squareup.moshi.kotlin)
    
      ksp(libs.squareup.moshi.compiler)
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 17 05:15:32 UTC 2025
    - 518 bytes
    - Viewed (0)
  2. android-test/build.gradle.kts

      testImplementation(projects.okhttpTestingSupport)
      testImplementation(rootProject.libs.conscrypt.openjdk)
      testImplementation(rootProject.libs.junit.jupiter.engine)
      testImplementation(rootProject.libs.junit.vintage.engine)
    
      androidTestImplementation(projects.okhttpTestingSupport) {
        exclude("org.openjsse", "openjsse")
        exclude("org.conscrypt", "conscrypt-openjdk-uber")
        exclude("software.amazon.cryptools", "AmazonCorrettoCryptoProvider")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 20:01:04 UTC 2025
    - 3.8K bytes
    - Viewed (2)
  3. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

          return "BC" == preferredProvider
        }
    
      actual fun findPlatform(): Platform {
        if (isConscryptPreferred) {
          val conscrypt = ConscryptPlatform.buildIfSupported()
    
          if (conscrypt != null) {
            return conscrypt
          }
        }
    
        if (isBouncyCastlePreferred) {
          val bc = BouncyCastlePlatform.buildIfSupported()
    
          if (bc != null) {
            return bc
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. okhttp/build.gradle.kts

            compileOnly(libs.conscrypt.openjdk)
            implementation(libs.androidx.annotation)
            implementation(libs.androidx.startup.runtime)
          }
        }
    
        jvmMain {
          dependsOn(commonJvmAndroid)
    
          dependencies {
            // These compileOnly dependencies must also be listed in applyOsgiMultiplatform() below.
            compileOnly(libs.conscrypt.openjdk)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. gradle/libs.versions.toml

    #noinspection UnusedVersionCatalogEntry
    codehaus-signature-java18 = "org.codehaus.mojo.signature:java18:1.0"
    conscrypt-android = { module = "org.conscrypt:conscrypt-android", version.ref = "org-conscrypt" }
    conscrypt-openjdk = { module = "org.conscrypt:conscrypt-openjdk-uber", version.ref = "org-conscrypt" }
    converter-moshi = { module = "com.squareup.retrofit2:converter-moshi", version.ref = "retrofit" }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 31 17:41:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

            assertEquals(200, response.code)
            // see https://github.com/google/conscrypt/blob/b9463b2f74df42d85c73715a5f19e005dfb7b802/android/src/main/java/org/conscrypt/Platform.java#L613
            when {
              Build.VERSION.SDK_INT >= 24 -> {
                // Conscrypt 2.5+ defaults to SSLEngine-based SSLSocket
                assertEquals("org.conscrypt.Java8EngineSocket", socketClass)
              }
              Build.VERSION.SDK_INT < 22 -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.security.Security
    import okhttp3.internal.platform.Platform
    import org.conscrypt.Conscrypt
    
    // TLS 1.3
    private val TLS13_CIPHER_SUITES =
      listOf(
        CipherSuite.TLS_AES_128_GCM_SHA256,
        CipherSuite.TLS_AES_256_GCM_SHA384,
        CipherSuite.TLS_CHACHA20_POLY1305_SHA256,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Protocol.HTTP_1_1
    import okhttp3.Protocol.HTTP_2
    import okhttp3.Provider.CONSCRYPT
    import okhttp3.Provider.JSSE
    import okhttp3.TlsExtensionMode.DISABLED
    import okhttp3.TlsExtensionMode.STANDARD
    import okhttp3.TlsVersion.TLS_1_2
    import okhttp3.TlsVersion.TLS_1_3
    import okhttp3.testing.PlatformRule
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. README.md

    security.
    
    OkHttp uses your platform's built-in TLS implementation. On Java platforms OkHttp also supports
    [Conscrypt][conscrypt], which integrates [BoringSSL](https://github.com/google/boringssl) with Java. OkHttp will use Conscrypt if it is
    the first security provider:
    
    ```java
    Security.insertProviderAt(Conscrypt.newProvider(), 1);
    ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. okhttp/okhttp3.pro

    -dontwarn org.codehaus.mojo.animal_sniffer.*
    
    # OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
    # May be used with robolectric or deliberate use of Bouncy Castle on Android
    -dontwarn okhttp3.internal.platform.**
    -dontwarn org.conscrypt.**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:25:00 UTC 2025
    - 512 bytes
    - Viewed (0)
Back to top