Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for TLS_1_3 (0.03 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

    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
    import okhttp3.recipes.kt.WireSharkListenerFactory.WireSharkKeyLoggerListener.Launch.CommandLine
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        builder = builder.cipherSuites(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256)
        builder = builder.cipherSuites("", "")
        builder = builder.allEnabledTlsVersions()
        builder = builder.tlsVersions(TlsVersion.TLS_1_3)
        builder = builder.tlsVersions("", "")
        val connectionSpec: ConnectionSpec = builder.build()
      }
    
      @Test
      fun cookie() {
        val cookie: Cookie = Cookie.Builder().build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

          sslSocket.enabledProtocols =
            arrayOf(
              TlsVersion.SSL_3_0.javaName,
              TlsVersion.TLS_1_1.javaName,
              TlsVersion.TLS_1_2.javaName,
              TlsVersion.TLS_1_3.javaName,
            )
        } else {
          sslSocket.enabledProtocols =
            arrayOf(
              TlsVersion.SSL_3_0.javaName,
              TlsVersion.TLS_1_1.javaName,
              TlsVersion.TLS_1_2.javaName,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

        @JvmField
        val RESTRICTED_TLS =
          Builder(true)
            .cipherSuites(*RESTRICTED_CIPHER_SUITES.toTypedArray())
            .tlsVersions(TlsVersion.TLS_1_3, TlsVersion.TLS_1_2)
            .supportsTlsExtensions(true)
            .build()
    
        /**
         * A modern TLS configuration that works on most client platforms and can connect to most servers.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

              }
              else -> {
                assertEquals("org.conscrypt.ConscryptFileDescriptorSocket", socketClass)
              }
            }
            assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion)
          }
        } finally {
          Security.removeProvider("Conscrypt")
          client.close()
        }
      }
    
      @Test
      fun testConscryptRequestLocalhostInsecure() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val proxy: Proxy = route.proxy()
        val inetSocketAddress: InetSocketAddress = route.socketAddress()
      }
    
      @Test @Disabled
      fun tlsVersion() {
        val tlsVersion: TlsVersion = TlsVersion.TLS_1_3
        val javaName: String = tlsVersion.javaName()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

        // We are avoiding making guarantees on ordering of secondary Platforms.
        platform.assumeNotBouncyCastle()
    
        val client = makeClient(ConnectionSpec.MODERN_TLS, TlsVersion.TLS_1_3)
    
        val handshake = makeRequest(client)
    
        assertThat(handshake.cipherSuite).isIn(*expectedModernTls13CipherSuites.toTypedArray())
    
        // TODO: filter down to TLSv1.3 when only activated.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top