Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for TLS_1_2 (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt

        val route = factory.newRoute()
        val connectionSpecs = listOf(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS, sslV3)
        val enabledSocketTlsVersions =
          arrayOf(
            TlsVersion.TLS_1_2,
            TlsVersion.TLS_1_1,
            TlsVersion.TLS_1_0,
          )
        var socket = createSocketWithEnabledProtocols(*enabledSocketTlsVersions)
    
        // MODERN_TLS is used here.
        val attempt0 =
          routePlanner
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

    import okhttp3.Connection
    import okhttp3.ConnectionSpec
    import okhttp3.EventListener
    import okhttp3.Handshake
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.TlsVersion
    import okhttp3.TlsVersion.TLS_1_2
    import okhttp3.TlsVersion.TLS_1_3
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.recipes.kt.WireSharkListenerFactory.WireSharkKeyLoggerListener.Launch
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

        socket.enabledCipherSuites = arrayOf("TLS_A")
        val connectionSpec =
          ConnectionSpec
            .Builder(true)
            .tlsVersions(TlsVersion.TLS_1_1, TlsVersion.TLS_1_2, TlsVersion.TLS_1_3)
            .cipherSuites("TLS_A")
            .build()
        applyConnectionSpec(connectionSpec, socket, false)
        assertArrayEquals(arrayOf("TLSv1.1", "TLSv1.2"), socket.enabledProtocols)
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. okhttp/api/jvm/okhttp.api

    	public static final field SSL_3_0 Lokhttp3/TlsVersion;
    	public static final field TLS_1_0 Lokhttp3/TlsVersion;
    	public static final field TLS_1_1 Lokhttp3/TlsVersion;
    	public static final field TLS_1_2 Lokhttp3/TlsVersion;
    	public static final field TLS_1_3 Lokhttp3/TlsVersion;
    	public final fun -deprecated_javaName ()Ljava/lang/String;
    	public static final fun forJavaName (Ljava/lang/String;)Lokhttp3/TlsVersion;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.2K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        val fallbackRequest = server.takeRequest()
        assertThat(fallbackRequest.requestLine).isEqualTo("GET /foo HTTP/1.1")
        assertThat(fallbackRequest.handshake?.tlsVersion).isIn(TlsVersion.TLS_1_2, TlsVersion.TLS_1_3)
      }
    
      @Test
      fun connectViaHttpsWithSSLFallbackFailuresRecorded() {
        platform.assumeNotBouncyCastle()
    
        server.useHttps(handshakeCertificates.sslSocketFactory())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 133.2K bytes
    - Click Count (0)
  6. okhttp/api/android/okhttp.api

    	public static final field SSL_3_0 Lokhttp3/TlsVersion;
    	public static final field TLS_1_0 Lokhttp3/TlsVersion;
    	public static final field TLS_1_1 Lokhttp3/TlsVersion;
    	public static final field TLS_1_2 Lokhttp3/TlsVersion;
    	public static final field TLS_1_3 Lokhttp3/TlsVersion;
    	public final fun -deprecated_javaName ()Ljava/lang/String;
    	public static final fun forJavaName (Ljava/lang/String;)Lokhttp3/TlsVersion;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.3K bytes
    - Click Count (0)
Back to Top