- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for enabledProtocols (0.19 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt
assertArrayEquals(arrayOf("TLSv1.1", "TLSv1.2"), socket.enabledProtocols) } internal class FakeSslSocket : DelegatingSSLSocket(null) { private lateinit var enabledProtocols: Array<String> private lateinit var supportedCipherSuites: Array<String> private lateinit var enabledCipherSuites: Array<String> override fun getEnabledProtocols(): Array<String> = enabledProtocols
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 8.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/FessBoot.java
doSetupServerConfig(logger, props, "sslProtocol", v -> sslHostConfig.setSslProtocol(v)); doSetupServerConfig(logger, props, "enabledProtocols", v -> sslHostConfig.setEnabledProtocols(v.trim().split(","))); sslHostConfig.addCertificate(certificate); connector.addSslHostConfig(sslHostConfig); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 11.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt
when { PlatformVersion.majorVersion > 11 -> { assertThat(s.enabledProtocols.toList()).containsExactly( "TLSv1.3", "TLSv1.2", ) } // Not much we can guarantee on JDK 11. PlatformVersion.majorVersion == 11 -> { assertThat(s.enabledProtocols.toList()).contains( "TLSv1.2", ) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt
val tlsVersionsIntersection = if (tlsVersionsAsString != null) { sslSocket.enabledProtocols.intersect(tlsVersionsAsString, naturalOrder()) } else { sslSocket.enabledProtocols } // In accordance with https://tools.ietf.org/html/draft-ietf-tls-downgrade-scsv-00 the SCSVCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 09:36:53 GMT 2026 - 13.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt
} } @Test fun testSupportedProtocols() { val factory = SSLSocketFactoryImpl() val s = factory.createSocket() as SSLSocketImpl assertEquals(listOf("TLSv1.3", "TLSv1.2"), s.enabledProtocols.toList()) } @Test @Disabled fun testMozilla() { assumeNetwork() val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
?: throw UnknownServiceException( "Unable to find acceptable protocols." + " isFallback=$isTlsFallback," + " modes=$connectionSpecs," + " supported protocols=${sslSocket.enabledProtocols!!.contentToString()}", ) } /** * Returns a copy of this connection with the next connection spec to try, or null if no other * compatible connection specs are available. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 19.3K bytes - Click Count (2)