- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for handshake (0.19 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt
// We have a host mismatch. But if the certificate matches, we're still good. return !noCoalescedConnections && handshake != null && certificateSupportHost(url, handshake!!) } private fun certificateSupportHost( url: HttpUrl, handshake: Handshake, ): Boolean { val peerCertificates = handshake.peerCertificates return peerCertificates.isNotEmpty() &&
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 15.4K bytes - Viewed (0) -
okhttp/src/test/java/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,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 46.5K bytes - Viewed (4) -
okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt
poolConnectionListener.connectFailed(route, call, e) } override fun secureConnectStart() { eventListener.secureConnectStart(call) } override fun secureConnectEnd(handshake: Handshake?) { eventListener.secureConnectEnd(call, handshake) } override fun callConnectEnd( route: Route, protocol: Protocol?, ) { eventListener.connectEnd(call, route.socketAddress, route.proxy, protocol) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 3.6K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
import java.util.concurrent.Executors import java.util.concurrent.Future import javax.net.ServerSocketFactory import javax.net.SocketFactory import javax.net.ssl.SSLSocket import okhttp3.Handshake import okhttp3.Handshake.Companion.handshake import okhttp3.TestUtil.threadFactory import okhttp3.internal.closeQuietly import okhttp3.testing.PlatformRule import okio.ByteString.Companion.toByteString import org.junit.jupiter.api.AfterEach
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 7.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
address.url.host, ) } this.handshake = handshake // Check that the certificate pinner is satisfied by the certificates presented. certificatePinner.check(address.url.host) { handshake.peerCertificates.map { it as X509Certificate } } // Success! Save the handshake and the ALPN protocol. val maybeProtocol =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 18.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectionUser.kt
fun removePlanToCancel(connectPlan: ConnectPlan) fun updateRouteDatabaseAfterSuccess(route: Route) fun connectStart(route: Route) fun secureConnectStart() fun secureConnectEnd(handshake: Handshake?) fun callConnectEnd( route: Route, protocol: Protocol?, ) fun connectionConnectEnd( connection: Connection, route: Route, ) fun connectFailed(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.2K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
} override fun secureConnectStart(call: Call) { logWithTime("secureConnectStart") } override fun secureConnectEnd( call: Call, handshake: Handshake?, ) { logWithTime("secureConnectEnd: $handshake") } override fun connectEnd( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, protocol: Protocol?, ) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 11:07:32 GMT 2024 - 5.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt
override fun updateRouteDatabaseAfterSuccess(route: Route) { } override fun connectStart(route: Route) { } override fun secureConnectStart() { } override fun secureConnectEnd(handshake: Handshake?) { } override fun callConnectEnd( route: Route, protocol: Protocol?, ) { } override fun connectionConnectEnd( connection: Connection, route: Route, ) { }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 03 20:39:41 GMT 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/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)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 26.8K bytes - Viewed (0) -
okhttp/api/okhttp.api
public fun toString ()Ljava/lang/String; } public final class okhttp3/Handshake$Companion { public final fun -deprecated_get (Ljavax/net/ssl/SSLSession;)Lokhttp3/Handshake; public final fun get (Ljavax/net/ssl/SSLSession;)Lokhttp3/Handshake; public final fun get (Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List;Ljava/util/List;)Lokhttp3/Handshake; }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 70.2K bytes - Viewed (0)