Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for javaName (0.03 sec)

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

              result = CipherSuite(javaName)
            }
    
            // Add the new cipher suite, or a confirmed alias.
            INSTANCES[javaName] = result
          }
          return result
        }
    
        private fun secondaryName(javaName: String): String =
          when {
            javaName.startsWith("TLS_") -> "SSL_" + javaName.substring(4)
            javaName.startsWith("SSL_") -> "TLS_" + javaName.substring(4)
            else -> javaName
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 39.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

            arrayOf(
              TlsVersion.SSL_3_0.javaName,
              TlsVersion.TLS_1_1.javaName,
              TlsVersion.TLS_1_2.javaName,
              TlsVersion.TLS_1_3.javaName,
            )
        } else {
          sslSocket.enabledProtocols =
            arrayOf(
              TlsVersion.SSL_3_0.javaName,
              TlsVersion.TLS_1_1.javaName,
              TlsVersion.TLS_1_2.javaName,
            )
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

          assertThat(cipherSuites).containsExactly(
            TLS_AES_128_GCM_SHA256.javaName,
            TLS_AES_256_GCM_SHA384.javaName,
            TLS_CHACHA20_POLY1305_SHA256.javaName,
            TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName,
            TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256.javaName,
            TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384.javaName,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val charset: Charset = challenge.charset()
      }
    
      @Test @Disabled
      fun cipherSuite() {
        val cipherSuite: CipherSuite = CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
        val javaName: String = cipherSuite.javaName()
      }
    
      @Test @Disabled
      fun connectionSpec() {
        val connectionSpec: ConnectionSpec = ConnectionSpec.RESTRICTED_TLS
        val tlsVersions: List<TlsVersion>? = connectionSpec.tlsVersions()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

     * **CacheControl**: immutable, maxAgeSeconds, maxStaleSeconds, minFreshSeconds, mustRevalidate,
       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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun cipherSuite() {
        var cipherSuite: CipherSuite = CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
        cipherSuite = CipherSuite.forJavaName("")
        val javaName: String = cipherSuite.javaName
      }
    
      @Test
      fun connection() {
        val connection =
          object : Connection {
            override fun route(): Route = TODO()
    
            override fun socket(): Socket = TODO()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

          }
    
        fun cipherSuites(vararg cipherSuites: CipherSuite): Builder =
          apply {
            require(tls) { "no cipher suites for cleartext connections" }
            val strings = cipherSuites.map { it.javaName }.toTypedArray()
            return cipherSuites(*strings)
          }
    
        fun cipherSuites(vararg cipherSuites: String) =
          apply {
            require(tls) { "no cipher suites for cleartext connections" }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

            if (url.isHttps) {
              sink.writeByte('\n'.code)
              sink.writeUtf8(handshake!!.cipherSuite.javaName).writeByte('\n'.code)
              writeCertList(sink, handshake.peerCertificates)
              writeCertList(sink, handshake.localCertificates)
              sink.writeUtf8(handshake.tlsVersion.javaName).writeByte('\n'.code)
            }
          }
        }
    
        @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. mvnw

          if $darwin; then
            javaHome="$(dirname "$javaExecutable")"
            javaExecutable="$(cd "$javaHome" && pwd -P)/javac"
          else
            javaExecutable="$(readlink -f "$javaExecutable")"
          fi
          javaHome="$(dirname "$javaExecutable")"
          javaHome=$(expr "$javaHome" : '\(.*\)/bin')
          JAVA_HOME="$javaHome"
          export JAVA_HOME
        fi
      fi
    fi
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. android/pom.xml

                    </jdk>
                  </toolchains>
                </configuration>
              </plugin>
              <plugin>
                <groupId>com.diamondq.maven</groupId>
                <artifactId>javahome-resolver-maven-plugin</artifactId>
                <version>1.0.2</version>
                <executions>
                  <execution>
                    <id>resolve-java-11</id>
                    <phase>initialize</phase>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
Back to top