Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TLS_1_2 (0.1 sec)

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

            .cipherSuites(CipherSuite.TLS_RSA_WITH_RC4_128_MD5)
            .tlsVersions(TlsVersion.TLS_1_2)
            .supportsTlsExtensions(true)
            .build()
        assertThat(tlsSpec.cipherSuites!!.toList())
          .containsExactly(CipherSuite.TLS_RSA_WITH_RC4_128_MD5)
        assertThat(tlsSpec.tlsVersions!!.toList())
          .containsExactly(TlsVersion.TLS_1_2)
        assertThat(tlsSpec.supportsTlsExtensions).isTrue()
      }
    
      @Test
    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/CallHandshakeTest.kt

        // We are avoiding making guarantees on ordering of secondary Platforms.
        platform.assumeNotConscrypt()
        platform.assumeNotBouncyCastle()
    
        val client = makeClient(ConnectionSpec.RESTRICTED_TLS, TlsVersion.TLS_1_2)
    
        val handshake = makeRequest(client)
    
        assertThat(handshake.cipherSuite).isIn(*expectedModernTls12CipherSuites.toTypedArray())
    
        // Probably something like
        // TLS_AES_128_GCM_SHA256
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

            assertEquals(Protocol.HTTP_2, response.protocol)
            assertEquals(200, response.code)
            assertEquals("com.google.android.gms.org.conscrypt.Java8FileDescriptorSocket", socketClass)
            assertEquals(TlsVersion.TLS_1_2, response.handshake?.tlsVersion)
          }
    
          localhostInsecureRequest()
        } finally {
          Security.removeProvider("GmsCore_OpenSSL")
          client.close()
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

    import okhttp3.Connection
    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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. okhttp/src/main/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.
         * This is OkHttp's default configuration.
    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. docs/features/https.md

    ```java
    ConnectionSpec spec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
        .tlsVersions(TlsVersion.TLS_1_2)
        .cipherSuites(
              CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
              CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
              CipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256)
        .build();
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
Back to top