Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for allEnabledTlsVersions (0.1 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

              CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName,
            )
        }
      }
    
      @Test
      fun allEnabledTlsVersions() {
        platform.assumeNotConscrypt()
        val tlsSpec =
          ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
            .allEnabledTlsVersions()
            .build()
        assertThat(tlsSpec.tlsVersions).isNull()
        val sslSocket = SSLSocketFactory.getDefault().createSocket() as SSLSocket
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

     * SSL socket. For example, if an SSL socket does not have TLS 1.3 enabled, it will not be used even
     * if it is present on the connection spec. The same policy also applies to cipher suites.
     *
     * Use [Builder.allEnabledTlsVersions] and [Builder.allEnabledCipherSuites] to defer all feature
     * selection to the underlying SSL socket.
     *
     * The configuration of each spec changes with each OkHttp release. This is annoying: upgrading
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        builder = builder.allEnabledCipherSuites()
        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() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top