- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 92 for Handshake (0.69 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt
platform.assumeNotConscrypt() platform.assumeNotBouncyCastle() val client = makeClient(ConnectionSpec.RESTRICTED_TLS, TlsVersion.TLS_1_2) val handshake = makeRequest(client) assertThat(handshake.cipherSuite).isIn(*expectedModernTls12CipherSuites.toTypedArray()) // Probably something like // TLS_AES_128_GCM_SHA256 // TLS_AES_256_GCM_SHA384
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Sep 16 07:21:43 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled fun handshake() { val handshake: Handshake = Handshake.get((localhost().sslSocketFactory().createSocket() as SSLSocket).session) val tlsVersion: TlsVersion = handshake.tlsVersion() val cipherSuite: CipherSuite = handshake.cipherSuite() val peerCertificates: List<Certificate> = handshake.peerCertificates() val peerPrincipal: Principal? = handshake.peerPrincipal()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
} 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() assertThat(handshake.localCertificates.size).isEqualTo(0) } /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
@Override public int getContentLength() { handshake(); return this.connection.getContentLength(); } @Override public String getContentType() { handshake(); return this.connection.getContentType(); } @Override public String getContentEncoding() { handshake(); return this.connection.getContentEncoding(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val formBody: FormBody = builder.build() } @Test fun handshake() { var handshake: Handshake = (localhost().sslSocketFactory().createSocket() as SSLSocket).session.handshake() val listOfCertificates: List<Certificate> = listOf() handshake = Handshake.get( TlsVersion.TLS_1_3, CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 47K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
import java.io.Closeable import java.io.InterruptedIOException import java.net.InetAddress import java.net.Socket import java.util.concurrent.CountDownLatch import javax.net.ssl.SSLSocket import okhttp3.Handshake import okhttp3.Handshake.Companion.handshake import okhttp3.internal.connection.BufferedSocket import okhttp3.internal.platform.Platform import okio.BufferedSink import okio.BufferedSource import okio.ForwardingSink
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
*/ public val exchangeIndex: Int, /** * The TLS handshake of the connection that carried this request, or null if the request was * received without TLS. */ public val handshake: Handshake?, /** * Returns the name of the server the client requested via the SNI (Server Name Indication) * attribute in the TLS handshake. Unlike the rest of the HTTP exchange, this name is sent in
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 3.2K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/CorrettoTest.kt
assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } @Test @Disabled fun testGoogle() { assumeNetwork() val request = Request.Builder().url("https://google.com/robots.txt").build() client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) if (it.handshake!!.tlsVersion != TlsVersion.TLS_1_3) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
if (url.isHttps) { sink.writeByte('\n'.code) sink.writeUtf8(handshake!!.cipherSuite.javaName).writeByte('\n'.code) writeCertList(sink, handshake.peerCertificates) writeCertList(sink, handshake.localCertificates) sink.writeUtf8(handshake.tlsVersion.javaName).writeByte('\n'.code) } } } @Throws(IOException::class)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 26.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
* Client and server exchange these certificates during the handshake phase of a TLS connection. * * ### Server Authentication * * This is the most common form of TLS authentication: clients verify that servers are trusted and * that they own the hostnames that they represent. Server authentication is required. * * To perform server authentication: * * * The server's handshake certificates must have a [held certificate][HeldCertificate] (a
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.4K bytes - Viewed (0)