Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for TLSv1 (0.07 sec)

  1. docs/security/tls_configuration_history.md

    ------------------------
    
    _2019-02-04_
    
    Remove TLSv1.1 and TLSv1 from MODERN_TLS. Change COMPATIBLE_TLS to support all TLS versions.
    
    ##### RESTRICTED_TLS versions
    
    * TLSv1.3
    * TLSv1.2
    
    ##### MODERN_TLS versions
    
    * TLSv1.3
    * TLSv1.2
    * **REMOVED:** ~~TLSv1.1~~
    * **REMOVED:** ~~TLSv1~~
    
    ##### COMPATIBLE_TLS versions
    
    * **NEW:** TLSv1.3
    * **NEW:** TLSv1.2
    * **NEW:** TLSv1.1
    * TLSv1
    
    [OkHttp 3.12][OkHttp312]
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 9K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

     *
     * Copy WireSharkKeyLoggerListener to your test code to use in development.
     *
     * This logs TLSv1.2 on a JVM (OpenJDK 11+) without any additional code.  For TLSv1.3
     * an existing external tool is required.
     *
     * See https://stackoverflow.com/questions/61929216/how-to-log-tlsv1-3-keys-in-jsse-for-wireshark-to-decode-traffic
     *
     * Steps to run in your own code
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/JSSETest.kt

          PlatformVersion.majorVersion == 8 ->
            assertThat(s.enabledProtocols.toList()).contains(
              "TLSv1.2",
            )
          else ->
            assertThat(s.enabledProtocols.toList()).containsExactly(
              "TLSv1.3",
              "TLSv1.2",
              "TLSv1.1",
              "TLSv1",
            )
        }
      }
    
      @Test
      @Disabled
      fun testFacebook() {
        val sessionIds = mutableListOf<String>()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

      private val provider: Provider = org.openjsse.net.ssl.OpenJSSE()
    
      // Selects TLSv1.3 so we are specific about our intended version ranges (not just 1.3)
      // and because it's a common pattern for VMs to have differences between supported and
      // defaulted versions for TLS based on what is requested.
      override fun newSSLContext(): SSLContext = SSLContext.getInstance("TLSv1.3", provider)
    
      override fun platformTrustManager(): X509TrustManager {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. 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)
  6. okhttp/src/test/java/okhttp3/HandshakeTest.kt

        assertThat(handshake.localCertificates).isEmpty()
      }
    
      @Test
      fun createFromSslSession() {
        val sslSession =
          FakeSSLSession(
            "TLSv1.3",
            "TLS_AES_128_GCM_SHA256",
            arrayOf(serverCertificate.certificate, serverIntermediate.certificate),
            null,
          )
    
        val handshake = sslSession.handshake()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

          socket.enabledCipherSuites,
        )
      }
    
      @Test
      fun applyIntersectionToProtocolVersion() {
        val socket = FakeSslSocket()
        socket.enabledProtocols = arrayOf("TLSv1", "TLSv1.1", "TLSv1.2")
        socket.supportedCipherSuites = arrayOf("TLS_A")
        socket.enabledCipherSuites = arrayOf("TLS_A")
        val connectionSpec =
          ConnectionSpec.Builder(true)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/OpenJSSETest.kt

        }
      }
    
      @Test
      fun testSupportedProtocols() {
        val factory = SSLSocketFactoryImpl()
        val s = factory.createSocket() as SSLSocketImpl
    
        assertEquals(listOf("TLSv1.3", "TLSv1.2"), s.enabledProtocols.toList())
      }
    
      @Test
      @Disabled
      fun testMozilla() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

        // Most secure but generally supported list.
        private val RESTRICTED_CIPHER_SUITES =
          listOf(
            // TLSv1.3.
            CipherSuite.TLS_AES_128_GCM_SHA256,
            CipherSuite.TLS_AES_256_GCM_SHA384,
            CipherSuite.TLS_CHACHA20_POLY1305_SHA256,
            // TLSv1.0, TLSv1.1, TLSv1.2.
            CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
            CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        // IllegalStateException: Cannot resume session and session creation is disabled
        platform.assumeNotBouncyCastle()
      }
    
      @ParameterizedTest(name = "{displayName}({arguments})")
      @ValueSource(strings = ["TLSv1.2", "TLSv1.3"])
      @Flaky
      fun testSessionReuse(tlsVersion: String) {
        if (tlsVersion == TlsVersion.TLS_1_3.javaName) {
          assumeTrue(PlatformVersion.majorVersion != 8)
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top