Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for conscrypt (0.05 sec)

  1. okhttp/build.gradle.kts

        "android.*;resolution:=optional," +
        "com.oracle.svm.core.annotate;resolution:=optional," +
        "com.oracle.svm.core.configure;resolution:=optional," +
        "dalvik.system;resolution:=optional," +
        "org.conscrypt;resolution:=optional," +
        "org.bouncycastle.*;resolution:=optional," +
        "org.openjsse.*;resolution:=optional," +
        "org.graalvm.nativeimage;resolution:=optional," +
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 23 17:02:02 UTC 2024
    - 545 bytes
    - Viewed (0)
  3. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. okhttp/src/main/resources/META-INF/proguard/okhttp3.pro

    -dontwarn org.codehaus.mojo.animal_sniffer.*
    
    # OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
    -dontwarn okhttp3.internal.platform.**
    -dontwarn org.conscrypt.**
    -dontwarn org.bouncycastle.**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 14:46:51 UTC 2023
    - 682 bytes
    - Viewed (0)
  5. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

      val currentVm = currentVm(ianaSuitesNew)
    
      val conscrypt =
        if (includeConscrypt) {
          Security.addProvider(Conscrypt.newProvider())
          conscrypt(ianaSuitesNew)
        } else {
          Client("Conscrypt", "Disabled", null, listOf())
        }
    
      val clients =
        listOf(
          okhttp,
          chrome80,
          firefox73,
          android9,
          safari12iOS,
          conscrypt,
          currentVm,
          okHttp_3_9,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

        val playProviderFactory: DeferredSocketAdapter.Factory =
          factory("com.google.android.gms.org.conscrypt")
    
        /**
         * Builds a SocketAdapter from an observed implementation class, by grabbing the Class
         * reference to perform reflection on at runtime.
         *
         * @param actualSSLSocketClass the runtime class of Conscrypt class socket.
         */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              }
            } else if (platformSystemProperty == CONSCRYPT_PROPERTY) {
              if (Security.getProviders()[0].name != "Conscrypt") {
                if (!Conscrypt.isAvailable()) {
                  System.err.println("Warning: Conscrypt not available")
                }
    
                val provider =
                  Conscrypt.newProviderBuilder()
                    .provideTrustManager(true)
                    .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  8. docs/security/security_providers.md

    | [Bouncy Castle]  | ✅      |              | [Bouncy Castle] | [Tracking bug.][bug5698]                                     |
    | [Conscrypt]      | ✅      | ✅           | [BoringSSL]     | Activated if Conscrypt is first registered provider.         |
    | [OpenJSSE]       |         | ✅           | [OpenJDK]       | OpenJDK backport.                                            |
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt

    import javax.net.ssl.SSLSocket
    import okhttp3.DelegatingSSLSocket
    import okhttp3.DelegatingSSLSocketFactory
    import okhttp3.Protocol.HTTP_1_1
    import okhttp3.Protocol.HTTP_2
    import okhttp3.testing.PlatformRule
    import org.conscrypt.Conscrypt
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertNotNull
    import org.junit.Assert.assertNull
    import org.junit.Assert.assertTrue
    import org.junit.Assume.assumeFalse
    import org.junit.Assume.assumeTrue
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt

          context,
          X509TrustManager::class.java,
          "trustManager",
        )
      }
    
      companion object {
        @Suppress("UNCHECKED_CAST")
        fun buildIfSupported(packageName: String = "com.android.org.conscrypt"): SocketAdapter? {
          return try {
            val sslSocketClass = Class.forName("$packageName.OpenSSLSocketImpl") as Class<in SSLSocket>
            val sslSocketFactoryClass =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top