Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for bouncycastle (0.04 sec)

  1. .github/workflows/build.yml

              java-version: 17
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v4
    
          - name: Run Checks
            run: ./gradlew okhttp:test -Dokhttp.platform=bouncycastle
    
      testcorretto:
        runs-on: ubuntu-latest
        # TODO add master build after fixing all tests in CI
        if: contains(github.event.pull_request.labels.*.name, 'providers')
    
        steps:
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 07:15:58 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

     *  New: `Headers.Builder` now accepts dates.
     *  New: OkHttp now accepts `java.time.Duration` for timeouts on Java 8+ and Android 26+.
     *  New: `Challenge` includes all authentication parameters.
     *  New: Upgrade to BouncyCastle 1.60, Conscrypt 1.4.0, and Okio 1.15.0. We don't yet require
        Kotlin-friendly Okio 2.x but OkHttp works fine with that series.
    
        ```kotlin
        implementation("org.bouncycastle:bcprov-jdk15on:1.60")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

    import okhttp3.testing.Flaky
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.BufferedSink
    import okio.GzipSink
    import okio.buffer
    import okio.utf8Size
    import org.bouncycastle.tls.TlsFatalAlert
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

          keyStore.setKeyEntry("private", heldCertificate.keyPair.private, password, chain)
        }
    
        // https://github.com/bcgit/bc-java/issues/1160
        val isBouncyCastle = keyStore.provider.name == "BC"
        val algorithm = if (isBouncyCastle) "PKIX" else KeyManagerFactory.getDefaultAlgorithm()
    
        val factory = KeyManagerFactory.getInstance(algorithm)
        factory.init(keyStore, password)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (1)
  5. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

        val response = call.execute()
        assertThat(response.isSuccessful).isTrue()
    
        val recordedRequest = server.takeRequest()
        // https://github.com/bcgit/bc-java/issues/1773
        if (!platform.isBouncyCastle()) {
          assertThat(recordedRequest.handshakeServerNames).containsExactly(url.host)
        }
      }
    
      /**
       * Use different hostnames for the TLS handshake (including SNI) and the HTTP request (in the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top