- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TLS_ (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt
when { javaName.startsWith("TLS_") -> "SSL_" + javaName.substring(4) javaName.startsWith("SSL_") -> "TLS_" + javaName.substring(4) else -> javaName } /** * @param javaName the name used by Java APIs for this cipher suite. Different than the IANA * name for older cipher suites because the prefix is `SSL_` instead of `TLS_`.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 39.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
cache.delete() } } @Test fun corruptedCipher() { val response = testCorruptingCache { corruptMetadata { // mess with cipher suite it.replace("TLS_", "SLT_") } } assertThat(response.body.string()).isEqualTo("ABC.1") // cached assertThat(cache.requestCount()).isEqualTo(2) assertThat(cache.networkCount()).isEqualTo(1)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt
} class IanaSuites( val name: String, val suites: List<SuiteId>, ) { fun fromJavaName(javaName: String): SuiteId = suites.firstOrNull { it.name == javaName || it.name == "TLS_${javaName.drop(4)}" } ?: throw IllegalArgumentException("No such suite: $javaName") } suspend fun fetchIanaSuites(okHttpClient: OkHttpClient): IanaSuites {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt
.isEqualTo(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256.javaName) } /** * On the Oracle JVM some older cipher suites have the "SSL_" prefix and others have the "TLS_" * prefix. On the IBM JVM all cipher suites have the "SSL_" prefix. * * Prior to OkHttp 3.3.1 we accepted either form and consider them equivalent. And since OkHttp
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.assertLogMatch(Regex("""secureConnectStart""")) .assertLogMatch( Regex( """secureConnectEnd: Handshake\{tlsVersion=TLS_1_[23] cipherSuite=TLS_.* peerCertificates=\[CN=localhost] localCertificates=\[]\}""", ), ).assertLogMatch(Regex("""connectEnd: h2""")) .assertLogMatch(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.2K bytes - Viewed (0)