Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 514 for PLATFORM (0.24 sec)

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

    import okhttp3.Protocol
    import org.conscrypt.Conscrypt
    import org.conscrypt.ConscryptHostnameVerifier
    
    /**
     * Platform using Conscrypt (conscrypt.org) if installed as the first Security Provider.
     *
     * Requires org.conscrypt:conscrypt-openjdk-uber >= 2.1.0 on the classpath.
     */
    class ConscryptPlatform private constructor() : Platform() {
      private val provider: Provider = Conscrypt.newProvider()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. .github/workflows/build.yml

              java-version: 17
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v5
    
          - name: Run Tests
            run: ./gradlew test allTests -Dtest.java.version=8 -Dokhttp.platform=jdk8alpn -Dalpn.boot.version=8.1.13.v20181017 -Dorg.gradle.java.installations.paths=/opt/hostedtoolcache/Java_Adopt_jdk/8.0.242-8.1/x64
    
      testopenjsse:
        runs-on: ubuntu-latest
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 12 04:49:37 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        response2.close()
      }
    
      @Test
      fun unrelatedPinnedLeafCertificateInChain() {
        // https://github.com/square/okhttp/issues/4729
        platform.expectFailureOnConscryptPlatform()
        platform.expectFailureOnCorrettoPlatform()
        platform.expectFailureOnLoomPlatform()
    
        // Start with a trusted root CA certificate.
        val rootCa =
          HeldCertificate
            .Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (2)
  4. architecture/standards/README.md

    For now we just have this global repository of ADRs.
    If we see fit, we can break these out to per-platform ones, or keep a hybrid approach to having global and platform-specific ADSs.
    
    Our aim is to keep the process lightweight and approachable.
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 21 06:30:44 UTC 2024
    - 546 bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

     */
    package okhttp3
    
    import java.util.Locale
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    import org.junit.jupiter.api.Test
    
    class MediaTypeJvmTest : MediaTypeGetTest() {
      override fun MediaType.charsetName(): String? = this.charset()?.name()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import java.security.NoSuchAlgorithmException
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.Protocol
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu May 29 16:52:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

      val java12 = sslLabsClients.first { it.userAgent == "Java" && it.version == "12.0.1" }
      val safari12iOS = sslLabsClients.first { it.userAgent == "Safari" && it.platform == "iOS 12.3.1" }
      val safari12Osx =
        sslLabsClients.first { it.userAgent == "Safari" && it.platform == "MacOS 10.14.6 Beta" }
    
      val okhttp = currentOkHttp(ianaSuitesNew)
    
      val okHttp_4_10 = historicOkHttp("4.10")
      val okHttp_3_14 = historicOkHttp("3.14")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

    import org.bouncycastle.jsse.BCSSLSocket
    import org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
    
    /**
     * Platform using BouncyCastle if installed as the first Security Provider.
     *
     * Requires org.bouncycastle:bctls-jdk15on on the classpath.
     */
    class BouncyCastlePlatform private constructor() : Platform() {
      private val provider: Provider = BouncyCastleJsseProvider()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.Response
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.publicsuffix.PublicSuffixDatabase
    
    /**
     * [DNS over HTTPS implementation][doh_spec].
     *
     * > A DNS API client encodes a single DNS query into an HTTP request
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import java.security.KeyStore
    import java.security.Provider
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.Protocol
    
    /**
     * Platform using OpenJSSE (https://github.com/openjsse/openjsse) if installed as the first
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top