- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for allEnabledTlsVersions (0.36 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt
CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName, ) } } @Test fun allEnabledTlsVersions() { platform.assumeNotConscrypt() val tlsSpec = ConnectionSpec .Builder(ConnectionSpec.MODERN_TLS) .allEnabledTlsVersions() .build() assertThat(tlsSpec.tlsVersions).isNull()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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt
* SSL socket. For example, if an SSL socket does not have TLS 1.3 enabled, it will not be used even * if it is present on the connection spec. The same policy also applies to cipher suites. * * Use [Builder.allEnabledTlsVersions] and [Builder.allEnabledCipherSuites] to defer all feature * selection to the underlying SSL socket. * * The configuration of each spec changes with each OkHttp release. This is annoying: upgrading
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) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
builder = builder.allEnabledCipherSuites() builder = builder.cipherSuites(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256) builder = builder.cipherSuites("", "") builder = builder.allEnabledTlsVersions() builder = builder.tlsVersions(TlsVersion.TLS_1_3) builder = builder.tlsVersions("", "") val connectionSpec: ConnectionSpec = builder.build() } @Test fun cookie() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 47K bytes - Click Count (0)