Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for OpenJSSE (0.81 sec)

  1. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

    import okhttp3.Protocol
    
    /**
     * Platform using OpenJSSE (https://github.com/openjsse/openjsse) if installed as the first
     * Security Provider.
     *
     * Requires org.openjsse:openjsse >= 1.1.0 on the classpath.
     */
    class OpenJSSEPlatform private constructor() : Platform() {
      private val provider: Provider =
        org.openjsse.net.ssl
          .OpenJSSE()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.openjsse.sun.security.ssl.SSLSocketFactoryImpl
    import org.openjsse.sun.security.ssl.SSLSocketImpl
    
    class OpenJSSETest {
      @JvmField @RegisterExtension
      var platform = PlatformRule()
    
      @JvmField @RegisterExtension
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

          val bc = BouncyCastlePlatform.buildIfSupported()
    
          if (bc != null) {
            return bc
          }
        }
    
        if (isOpenJSSEPreferred) {
          val openJSSE = OpenJSSEPlatform.buildIfSupported()
    
          if (openJSSE != null) {
            return openJSSE
          }
        }
    
        // An Oracle JDK 9 like OpenJDK, or JDK 8 251+.
        val jdk9 = Jdk9Platform.buildIfSupported()
    
        if (jdk9 != null) {
          return jdk9
    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. android-test/build.gradle.kts

      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")
      }
      androidTestImplementation(libs.assertk)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 20:01:04 UTC 2025
    - 3.8K bytes
    - Viewed (2)
  5. okhttp/build.gradle.kts

            implementation(libs.openjsse)
    
            implementation(libs.junit.jupiter.engine)
            implementation(libs.junit.vintage.engine)
    
            if (platform == "conscrypt") {
              implementation(rootProject.libs.conscrypt.openjdk)
            } else if (platform == "openjsse") {
              implementation(rootProject.libs.openjsse)
            }
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              if (!OpenJSSEPlatform.isSupported) {
                System.err.println("Warning: OpenJSSE not available")
              }
    
              if (System.getProperty("javax.net.debug") == null) {
                System.setProperty("javax.net.debug", "")
              }
    
              Security.insertProviderAt(OpenJSSE(), 1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  7. okhttp-testing-support/build.gradle.kts

      api(projects.okhttpTls)
      api(libs.assertk)
      api(libs.bouncycastle.bcprov)
      implementation(libs.bouncycastle.bcpkix)
      implementation(libs.bouncycastle.bctls)
      api(libs.conscrypt.openjdk)
      api(libs.openjsse)
    
      api(rootProject.libs.junit.jupiter.engine)
    
      api(variantOf(libs.amazonCorretto) {
        classifier("linux-x86_64")
      })
    
      api(libs.hamcrestLibrary)
      api(libs.junit.jupiter.api)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 800 bytes
    - Viewed (0)
  8. gradle/libs.versions.toml

    mockserver-client = { module = "org.mock-server:mockserver-client-java-no-dependencies", version.ref = "mockserverClient" }
    nativeImageSvm = { module = "org.graalvm.nativeimage:svm", version.ref = "graalvm" }
    openjsse = "org.openjsse:openjsse:1.1.14"
    playservices-safetynet = "com.google.android.gms:play-services-safetynet:18.1.0"
    retrofit = { module = "com.squareup.retrofit2:retrofit", 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)
  9. docs/changelogs/changelog_4x.md

     *  Fix: Embed Proguard rules to prevent warnings from tools like DexGuard and R8. These warnings
        were triggered by OkHttp’s feature detection for TLS packages like `org.conscrypt`,
        `org.bouncycastle`, and `org.openjsse`.
     *  Upgrade: Explicitly depend on `kotlin-stdlib-jdk8`. This fixes a problem with dependency
        locking. That's a potential security vulnerability, tracked as [CVE-2022-24329].
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. .github/workflows/build.yml

              java-version: 17
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v4
    
          - name: Run Checks
            run: ./gradlew okhttp:test -Dtest.java.version=8 -Dokhttp.platform=openjsse
    
      testconscrypt:
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'conscrypt')
    
        steps:
          - name: Checkout
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 07:15:58 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top