Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for CipherSuites (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

            val strings = cipherSuites.map { it.javaName }.toTypedArray()
            return cipherSuites(*strings)
          }
    
        fun cipherSuites(vararg cipherSuites: String) =
          apply {
            require(tls) { "no cipher suites for cleartext connections" }
            require(cipherSuites.isNotEmpty()) { "At least one cipher suite is required" }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.4K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

          platform.newSslSocketFactory(platform.platformTrustManager()).defaultCipherSuites
        val cipherSuites =
          ConnectionSpec.RESTRICTED_TLS.effectiveCipherSuites(platformDefaultCipherSuites)
    
        if (cipherSuites.contains(TLS_CHACHA20_POLY1305_SHA256.javaName)) {
          assertThat(cipherSuites).containsExactly(
            TLS_AES_128_GCM_SHA256.javaName,
            TLS_AES_256_GCM_SHA384.javaName,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Sep 16 07:21:43 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

      }
    
      @Test
      fun tlsBuilder_explicitCiphers() {
        val tlsSpec =
          ConnectionSpec
            .Builder(true)
            .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())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

      @Test @Disabled
      fun connectionSpec() {
        val connectionSpec: ConnectionSpec = ConnectionSpec.RESTRICTED_TLS
        val tlsVersions: List<TlsVersion>? = connectionSpec.tlsVersions()
        val cipherSuites: List<CipherSuite>? = connectionSpec.cipherSuites()
        val supportsTlsExtensions: Boolean = connectionSpec.supportsTlsExtensions()
      }
    
      @Test @Disabled
      fun cookie() {
        val cookie: Cookie = Cookie.Builder().build()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.3K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        connectionSpec = ConnectionSpec.COMPATIBLE_TLS
        connectionSpec = ConnectionSpec.CLEARTEXT
        val tlsVersions: List<TlsVersion>? = connectionSpec.tlsVersions
        val cipherSuites: List<CipherSuite>? = connectionSpec.cipherSuites
        val supportsTlsExtensions: Boolean = connectionSpec.supportsTlsExtensions
        val compatible: Boolean =
          connectionSpec.isCompatible(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 47K bytes
    - Click Count (0)
  6. docs/changelogs/upgrading_to_okhttp_4.md

       noCache, noStore, noTransform, onlyIfCached, sMaxAgeSeconds
     * **Challenge**: authParams, charset, realm, scheme
     * **CipherSuite**: javaName
     * **ConnectionSpec**: cipherSuites, supportsTlsExtensions, tlsVersions
     * **Cookie**: domain, expiresAt, hostOnly, httpOnly, name, path, persistent, value
     * **Dispatcher**: executorService
     * **FormBody**: size
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  7. 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();
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Click Count (0)
  8. api/go1.4.txt

    # CL 107400043 crypto/tls: Added dynamic alternative to NameToCertificate map for SNI, Percy Wegmann <******@****.***>
    pkg crypto/tls, type ClientHelloInfo struct
    pkg crypto/tls, type ClientHelloInfo struct, CipherSuites []uint16
    pkg crypto/tls, type ClientHelloInfo struct, ServerName string
    pkg crypto/tls, type ClientHelloInfo struct, SupportedCurves []CurveID
    pkg crypto/tls, type ClientHelloInfo struct, SupportedPoints []uint8
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Click Count (0)
  9. doc/godebug.md

    Go 1.23 changed the default TLS cipher suites used by clients and servers when
    not explicitly configured, removing 3DES cipher suites. The default can be reverted
    using the [`tls3des` setting](/pkg/crypto/tls/#Config.CipherSuites).
    This setting will be removed in Go 1.27.
    
    Go 1.23 changed the behavior of [`tls.X509KeyPair`](/pkg/crypto/tls#X509KeyPair)
    and [`tls.LoadX509KeyPair`](/pkg/crypto/tls#LoadX509KeyPair) to populate the
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Dec 03 00:18:09 GMT 2025
    - 24.7K bytes
    - Click Count (0)
Back to Top