Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for allEnabledTlsVersions (0.3 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
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 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
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 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() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  4. okhttp/api/okhttp.api

    }
    
    public final class okhttp3/ConnectionSpec$Builder {
    	public fun <init> (Lokhttp3/ConnectionSpec;)V
    	public final fun allEnabledCipherSuites ()Lokhttp3/ConnectionSpec$Builder;
    	public final fun allEnabledTlsVersions ()Lokhttp3/ConnectionSpec$Builder;
    	public final fun build ()Lokhttp3/ConnectionSpec;
    	public final fun cipherSuites ([Ljava/lang/String;)Lokhttp3/ConnectionSpec$Builder;
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top