Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for conscrypt (0.1 seconds)

  1. 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")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 21 12:33:41 GMT 2025
    - 3.9K bytes
    - Click Count (2)
  2. 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 -> {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

            socketMode.tlsExtensionMode == STANDARD,
          "failing for channel and h2",
        )
    
        if (socketMode is TlsInstance) {
          assumeTrue((socketMode.provider == CONSCRYPT) == platform.isConscrypt())
        }
    
        val client =
          clientTestRule
            .newClientBuilder()
            .dns { listOf(InetAddress.getByName("localhost")) }
            .callTimeout(4, SECONDS)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 7.9K bytes
    - Click Count (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)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 12.3K bytes
    - Click Count (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" }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 19 22:05:50 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. 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);
    ```
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

            is SSLHandshakeException -> {
              // JDK 11+
            }
            is SSLException -> {
              // javax.net.ssl.SSLException: readRecord
            }
            is SocketException -> {
              // Conscrypt, JDK 8 (>= 292), JDK 9
            }
            else -> {
              assertThat(expected.message).isEqualTo("exhausted all routes")
            }
          }
        }
      }
    
      @Test
      fun commonNameIsNotTrusted() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

      private val socketAdapters =
        listOfNotNull(
          StandardAndroidSocketAdapter.buildIfSupported(),
          DeferredSocketAdapter(AndroidSocketAdapter.playProviderFactory),
          // Delay and Defer any initialisation of Conscrypt and BouncyCastle
          DeferredSocketAdapter(ConscryptSocketAdapter.factory),
          DeferredSocketAdapter(BouncyCastleSocketAdapter.factory),
        ).filter { it.isSupported() }
    
      @Throws(IOException::class)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 10 05:19:46 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

            .toList()
            .map { it.toByteString().hex() }
    
        if (platform.isConscrypt()) {
          if (tlsVersion == TlsVersion.TLS_1_3) {
            assertThat(sessionIds[0]).isEmpty()
            assertThat(sessionIds[1]).isEmpty()
    
            // https://github.com/google/conscrypt/issues/985
            // assertThat(directSessionIds).containsExactlyInAnyOrder(sessionIds[0], sessionIds[1])
          } else {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 5.9K bytes
    - Click Count (1)
  10. okhttp-brotli/build.gradle.kts

    )
    
    project.applyJavaModules("okhttp3.brotli")
    
    dependencies {
      "friendsApi"(projects.okhttp)
      api(libs.brotli.dec)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.conscrypt.openjdk)
      testImplementation(libs.junit)
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlin.test.junit)
      testImplementation(libs.assertk)
    }
    
    mavenPublishing {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 793 bytes
    - Click Count (0)
Back to Top