Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for enabledProtocols (0.12 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

        assertArrayEquals(arrayOf("TLSv1.1", "TLSv1.2"), socket.enabledProtocols)
      }
    
      internal class FakeSslSocket : DelegatingSSLSocket(null) {
        private lateinit var enabledProtocols: Array<String>
        private lateinit var supportedCipherSuites: Array<String>
        private lateinit var enabledCipherSuites: Array<String>
    
        override fun getEnabledProtocols(): Array<String> = enabledProtocols
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt

        when {
          PlatformVersion.majorVersion > 11 -> {
            assertThat(s.enabledProtocols.toList()).containsExactly(
              "TLSv1.3",
              "TLSv1.2",
            )
          }
    
          // Not much we can guarantee on JDK 11.
          PlatformVersion.majorVersion == 11 -> {
            assertThat(s.enabledProtocols.toList()).contains(
              "TLSv1.2",
            )
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

        val tlsVersionsIntersection =
          if (tlsVersionsAsString != null) {
            sslSocket.enabledProtocols.intersect(tlsVersionsAsString, naturalOrder())
          } else {
            sslSocket.enabledProtocols
          }
    
        // In accordance with https://tools.ietf.org/html/draft-ietf-tls-downgrade-scsv-00 the SCSV
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          ?: throw UnknownServiceException(
            "Unable to find acceptable protocols." +
              " isFallback=$isTlsFallback," +
              " modes=$connectionSpecs," +
              " supported protocols=${sslSocket.enabledProtocols!!.contentToString()}",
          )
      }
    
      /**
       * Returns a copy of this connection with the next connection spec to try, or null if no other
       * compatible connection specs are available.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 19.3K bytes
    - Click Count (2)
Back to Top