Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for isTls (0.02 seconds)

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

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

        }
    
        return true
      }
    
      override fun equals(other: Any?): Boolean {
        if (other !is ConnectionSpec) return false
        if (other === this) return true
    
        if (this.isTls != other.isTls) return false
    
        if (isTls) {
          if (!Arrays.equals(this.cipherSuitesAsString, other.cipherSuitesAsString)) return false
          if (!Arrays.equals(this.tlsVersionsAsString, other.tlsVersionsAsString)) return false
    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/ConnectionSpecTest.kt

            .isEqualTo("At least one cipher suite is required")
        }
      }
    
      @Test
      fun cleartextBuilder() {
        val cleartextSpec = ConnectionSpec.Builder(false).build()
        assertThat(cleartextSpec.isTls).isFalse()
      }
    
      @Test
      fun tlsBuilder_explicitCiphers() {
        val tlsSpec =
          ConnectionSpec
            .Builder(true)
            .cipherSuites(CipherSuite.TLS_RSA_WITH_RC4_128_MD5)
    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)
Back to Top