- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 24 for tlsVersions (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
logFile = File("/tmp/key.log"), tlsVersions = tlsVersions, launch = launch)` * 3. Register with `client.eventListenerFactory(eventListenerFactory)` * 4. Launch wireshark if not done externally `val process = eventListenerFactory.launchWireShark()` */ @SuppressSignatureCheck class WireSharkListenerFactory( private val logFile: File, private val tlsVersions: List<TlsVersion>, private val launch: Launch? = null,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 10.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt
enabledProtocols = javaNames(*tlsVersions) } private fun assertEnabledProtocols( socket: SSLSocket, vararg required: TlsVersion, ) { assertThat(socket.enabledProtocols.toList()).containsExactlyInAnyOrder(*javaNames(*required)) } private fun javaNames(vararg tlsVersions: TlsVersion) = tlsVersions.map { it.javaName }.toTypedArray()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt
socket.supportedCipherSuites = arrayOf("TLS_A") socket.enabledCipherSuites = arrayOf("TLS_A") val connectionSpec = ConnectionSpec .Builder(true) .tlsVersions(TlsVersion.TLS_1_1, TlsVersion.TLS_1_2, TlsVersion.TLS_1_3) .cipherSuites("TLS_A") .build() applyConnectionSpec(connectionSpec, socket, false) assertArrayEquals(arrayOf("TLSv1.1", "TLSv1.2"), socket.enabledProtocols)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
val proxy: Proxy = route.proxy() val inetSocketAddress: InetSocketAddress = route.socketAddress() } @Test @Disabled fun tlsVersion() { val tlsVersion: TlsVersion = TlsVersion.TLS_1_3 val javaName: String = tlsVersion.javaName() }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 13.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt
} @Test fun testSessionReuse(tlsVersion: String = burstValues("TLSv1.2", "TLSv1.3")) { if (tlsVersion == TlsVersion.TLS_1_3.javaName) { assumeTrue(PlatformVersion.majorVersion != 8) } val sessionIds = mutableListOf<String>() enableTls() val tlsVersion = TlsVersion.forJavaName(tlsVersion) val spec = ConnectionSpec
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 5.9K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
} @Test fun socketPolicy() { val socketPolicy: SocketPolicy = SocketPolicy.KEEP_OPEN } @Test fun tlsVersion() { var tlsVersion: TlsVersion = TlsVersion.TLS_1_3 val javaName: String = tlsVersion.javaName tlsVersion = TlsVersion.forJavaName("") } @Test fun webSocket() { val webSocket = object : WebSocket {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 47K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
} public final class okhttp3/TlsVersion : java/lang/Enum { public static final field Companion Lokhttp3/TlsVersion$Companion; public static final field SSL_3_0 Lokhttp3/TlsVersion; public static final field TLS_1_0 Lokhttp3/TlsVersion; public static final field TLS_1_1 Lokhttp3/TlsVersion; public static final field TLS_1_2 Lokhttp3/TlsVersion; public static final field TLS_1_3 Lokhttp3/TlsVersion;Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.2K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
} public final class okhttp3/TlsVersion : java/lang/Enum { public static final field Companion Lokhttp3/TlsVersion$Companion; public static final field SSL_3_0 Lokhttp3/TlsVersion; public static final field TLS_1_0 Lokhttp3/TlsVersion; public static final field TLS_1_1 Lokhttp3/TlsVersion; public static final field TLS_1_2 Lokhttp3/TlsVersion; public static final field TLS_1_3 Lokhttp3/TlsVersion;Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
val tlsVersions: Set<TlsVersion?> = EnumSet.of( TlsVersion.TLS_1_0, TlsVersion.TLS_1_2, TlsVersion.TLS_1_3, ) // v1.2 on OpenJDK 8. val request1 = server.takeRequest() assertThat(tlsVersions).contains(request1.handshake?.tlsVersion) val request2 = server.takeRequest() assertThat(tlsVersions).contains(request2.handshake?.tlsVersion) }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 133.2K bytes - Click Count (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokhttp3/ConnectionSpec$Builder;->supportsTlsExtensions(Z)Lokhttp3/ConnectionSpec$Builder; HSPLokhttp3/ConnectionSpec$Builder;->tlsVersions([Ljava/lang/String;)Lokhttp3/ConnectionSpec$Builder; HSPLokhttp3/ConnectionSpec$Builder;->tlsVersions([Lokhttp3/TlsVersion;)Lokhttp3/ConnectionSpec$Builder; HSPLokhttp3/ConnectionSpec;-><clinit>()V HSPLokhttp3/ConnectionSpec;-><init>(ZZ[Ljava/lang/String;[Ljava/lang/String;)V
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Dec 30 23:28:56 GMT 2024 - 127.9K bytes - Click Count (1)