- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 35 for CipherSuite (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt
* requests on the same socket, and server-push. HTTP/1.1 semantics are layered on HTTP/2. * * HTTP/2 requires deployments of HTTP/2 that use TLS 1.2 support * [CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256], present in Java 8+ and Android 5+. * Servers that enforce this may send an exception message including the string * `INADEQUATE_SECURITY`. */ HTTP_2("h2"), /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jun 23 18:58:57 UTC 2025 - 4.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
assertThat(cache.requestCount()).isEqualTo(2) assertThat(cache.networkCount()).isEqualTo(1) assertThat(cache.hitCount()).isEqualTo(1) assertThat(response.handshake!!.cipherSuite.javaName).startsWith("SLT_") } @Test fun truncatedMetadataEntry() { val response = testCorruptingCache { corruptMetadata { // truncate metadata to 1/4 of length
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0) -
docs/features/https.md
```java ConnectionSpec spec = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) .tlsVersions(TlsVersion.TLS_1_2) .cipherSuites( CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, CipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256) .build(); OkHttpClient client = new OkHttpClient.Builder() .connectionSpecs(Collections.singletonList(spec))
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Dec 24 00:16:30 UTC 2022 - 10.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
override fun getPeerPrincipal(): Principal = delegate!!.peerPrincipal override fun getLocalPrincipal(): Principal = delegate!!.localPrincipal override fun getCipherSuite(): String = delegate!!.cipherSuite override fun getProtocol(): String = delegate!!.protocol override fun getPeerHost(): String = delegate!!.peerHost override fun getPeerPort(): Int = delegate!!.peerPort
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
assertThat(body).isEqualTo(expectedBody) } fun assertHandshake() = apply { val handshake = response!!.handshake!! assertThat(handshake.tlsVersion).isNotNull() assertThat(handshake.cipherSuite).isNotNull() assertThat(handshake.peerPrincipal).isNotNull() assertThat(handshake.peerCertificates.size).isEqualTo(1) assertThat(handshake.localPrincipal).isNull()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokhttp3/CipherSuite$Companion$ORDER_BY_NAME$1;-><init>()V HSPLokhttp3/CipherSuite$Companion$ORDER_BY_NAME$1;->compare(Ljava/lang/Object;Ljava/lang/Object;)I HSPLokhttp3/CipherSuite$Companion;-><init>(Landroidx/lifecycle/viewmodel/R$id;)V HSPLokhttp3/CipherSuite$Companion;->access$init(Lokhttp3/CipherSuite$Companion;Ljava/lang/String;I)Lokhttp3/CipherSuite;
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 127.9K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
override fun toString(): String = "Connection{${route.address.url.host}:${route.address.url.port}," + " proxy=${route.proxy}" + " hostAddress=${route.socketAddress}" + " cipherSuite=${handshake?.cipherSuite ?: "none"}" + " protocol=$protocol}" companion object { const val IDLE_CONNECTION_HEALTHY_NS = 10_000_000_000 // 10 seconds. fun newTestConnection( taskRunner: TaskRunner,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 14.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 19.3K bytes - Viewed (2) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
) server.enqueue(MockResponse()) val cipherSuite = CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256 val clientCertificates = HandshakeCertificates .Builder() .build() client = client .newBuilder() .sslSocketFactory( socketFactoryWithCipherSuite(clientCertificates.sslSocketFactory(), cipherSuite), clientCertificates.trustManager,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0) -
build.gradle.kts
extensions.configure<JavaPluginExtension> { toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } } } tasks.withType<Checkstyle>().configureEach { exclude("**/CipherSuite.java") } val checkstyleConfig: Configuration by configurations.creating dependencies { checkstyleConfig(rootProject.libs.checkStyle) { isTransitive = false } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 11.5K bytes - Viewed (1)