Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TLS_1_1 (0.06 sec)

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

            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 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/test/java/okhttp3/internal/connection/RetryConnectionTest.kt

        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.planConnectToRoute(route)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/TlsVersion.kt

     * [javax.net.ssl.SSLSocket.setEnabledProtocols].
     */
    enum class TlsVersion(
      @get:JvmName("javaName") val javaName: String,
    ) {
      TLS_1_3("TLSv1.3"), // 2016.
      TLS_1_2("TLSv1.2"), // 2008.
      TLS_1_1("TLSv1.1"), // 2006.
      TLS_1_0("TLSv1"), // 1999.
      SSL_3_0("SSLv3"), // 1996.
      ;
    
      @JvmName("-deprecated_javaName")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

        socket.supportedCipherSuites = arrayOf("TLS_A")
        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)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

         */
        @JvmField
        val COMPATIBLE_TLS =
          Builder(true)
            .cipherSuites(*APPROVED_CIPHER_SUITES.toTypedArray())
            .tlsVersions(TlsVersion.TLS_1_3, TlsVersion.TLS_1_2, TlsVersion.TLS_1_1, TlsVersion.TLS_1_0)
            .supportsTlsExtensions(true)
            .build()
    
        /** Unencrypted, unauthenticated connections for `http:` URLs. */
        @JvmField
        val CLEARTEXT = Builder(false).build()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. okhttp/api/okhttp.api

    	public static final field Companion Lokhttp3/TlsVersion$Companion;
    	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;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top