- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for startHandshake (0.1 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
rawSocket.port, true, ) as SSLSocket sslSocket.use { sslSocket.useClientMode = false sslSocket.wantClientAuth = true sslSocket.startHandshake() return@submit sslSocket.session.handshake() } } } } private fun doClientHandshake( client: HandshakeCertificates, serverAddress: InetSocketAddress,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 7.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
override fun removeHandshakeCompletedListener(listener: HandshakeCompletedListener) { delegate!!.removeHandshakeCompletedListener(listener) } @Throws(IOException::class) override fun startHandshake() { delegate!!.startHandshake() } override fun setUseClientMode(mode: Boolean) { delegate!!.useClientMode = mode } override fun getUseClientMode(): Boolean { return delegate!!.useClientMode }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
socket.port, true, ) as SSLSocket sslSocket.useClientMode = false Platform.get().configureTlsExtensions(sslSocket, null, listOf(Protocol.HTTP_2)) sslSocket.startHandshake() return sslSocket } override fun onStream(stream: Http2Stream) { try { val requestHeaders = stream.takeHeaders() var path: String? = null var i = 0
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
} openClientSockets.add(socket) if (protocolNegotiationEnabled) { Platform.get().configureTlsExtensions(sslSocket, null, protocols) } sslSocket.startHandshake() if (protocolNegotiationEnabled) { val protocolString = Platform.get().getSelectedProtocol(sslSocket) protocol = when {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
if (connectionSpec.supportsTlsExtensions) { Platform.get().configureTlsExtensions(sslSocket, address.url.host, address.protocols) } // Force handshake. This can throw! sslSocket.startHandshake() // block for session establishment val sslSocketSession = sslSocket.session val unverifiedHandshake = sslSocketSession.handshake()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 18.6K bytes - Viewed (0)