- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for TLS_ (0.06 sec)
-
okhttp/src/main/kotlin/okhttp3/CipherSuite.kt
return 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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 39.9K 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 { return 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 Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:24:38 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 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 Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 10.2K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
HTTPS certificates issued to certain IPv6 addresses. * Fix: Don't reuse connections after an unsuccessful `Expect: 100-continue`. * Fix: Handle either `TLS_` or `SSL_` prefixes for cipher suite names. This is necessary for IBM JVMs that use the `SSL_` prefix exclusively. * Fix: Reject HTTP/2 data frames if the stream ID is 0. * New: Upgrade to Okio 1.12.0.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0)