- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for forJavaName (0.05 sec)
-
okhttp/src/test/java/okhttp3/CipherSuiteTest.kt
assertThat(forJavaName("SSL_RSA_EXPORT_WITH_RC4_40_MD5")) .isEqualTo(forJavaName("TLS_RSA_EXPORT_WITH_RC4_40_MD5")) assertThat(forJavaName("SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA")) .isEqualTo(forJavaName("TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA")) assertThat(forJavaName("SSL_FAKE_NEW_CIPHER")) .isEqualTo(forJavaName("TLS_FAKE_NEW_CIPHER")) } @Test
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/src/main/kotlin/okhttp3/Handshake.kt
} else -> CipherSuite.forJavaName(cipherSuiteString) } val tlsVersionString = checkNotNull(protocol) { "tlsVersion == null" } if ("NONE" == tlsVersionString) throw IOException("tlsVersion == NONE") val tlsVersion = TlsVersion.forJavaName(tlsVersionString) val peerCertificatesCopy = try {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/TlsVersion.kt
message = "moved to val", replaceWith = ReplaceWith(expression = "javaName"), level = DeprecationLevel.ERROR, ) fun javaName(): String = javaName companion object { @JvmStatic fun forJavaName(javaName: String): TlsVersion { return when (javaName) { "TLSv1.3" -> TLS_1_3 "TLSv1.2" -> TLS_1_2 "TLSv1.1" -> TLS_1_1 "TLSv1" -> TLS_1_0 "SSLv3" -> SSL_3_0
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
if (tlsVersion == TlsVersion.TLS_1_3.javaName) { assumeTrue(PlatformVersion.majorVersion != 8) } val sessionIds = mutableListOf<String>() enableTls() val tlsVersion = TlsVersion.forJavaName(tlsVersion) val spec = ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) .tlsVersions(tlsVersion) .build() var reuseSession = false
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 6K bytes - Viewed (0)