- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 87 for sslSocketFactory (0.28 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt
mockWebServer.protocolNegotiationEnabled = false mockWebServer.protocols = listOf() val protocols: List<Protocol> = mockWebServer.protocols mockWebServer.useHttps(SSLSocketFactory.getDefault() as SSLSocketFactory, false) mockWebServer.noClientAuth() mockWebServer.requestClientAuth() mockWebServer.requireClientAuth() val request: RecordedRequest = mockWebServer.takeRequest()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
} } thread.start() return thread } private fun socketFactoryWithCipherSuite( sslSocketFactory: SSLSocketFactory, cipherSuite: CipherSuite, ): SSLSocketFactory { return object : DelegatingSSLSocketFactory(sslSocketFactory) { override fun configureSocket(sslSocket: SSLSocket): SSLSocket { sslSocket.enabledCipherSuites = arrayOf(cipherSuite.javaName)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
ianaSuites = ianaSuites, ) } fun systemDefault( name: String, version: String, ianaSuites: IanaSuites, ): Client { val socketFactory = SSLSocketFactory.getDefault() as SSLSocketFactory val sslSocket = socketFactory.createSocket() as SSLSocket return Client( userAgent = name, version = version,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Apr 02 01:44:15 UTC 2024 - 2.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallHandshakeTest.kt
clientTestRule.newClientBuilder() .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ) .hostnameVerifier(RecordingHostnameVerifier()) .build() server.useHttps(handshakeCertificates.sslSocketFactory()) defaultEnabledCipherSuites = handshakeCertificates.sslSocketFactory().defaultCipherSuites.toList()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/JSSETest.kt
} private fun enableTls() { client = client.newBuilder() .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ) .build() server.useHttps(handshakeCertificates.sslSocketFactory()) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 5.4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
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/test/java/okhttp3/OpenJSSETest.kt
.build() client = client.newBuilder() .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ) .build() server.useHttps(handshakeCertificates.sslSocketFactory()) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 3.7K bytes - Viewed (0) -
okhttp-tls/api/okhttp-tls.api
public final fun keyManager ()Ljavax/net/ssl/X509KeyManager; public final fun sslContext ()Ljavax/net/ssl/SSLContext; public final fun sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory; public final fun trustManager ()Ljavax/net/ssl/X509TrustManager; } public final class okhttp3/tls/HandshakeCertificates$Builder { public fun <init> ()V
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Feb 26 19:17:33 UTC 2022 - 3.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
assertThat(a.sslSocketFactory).isNotNull() assertThat(a.x509TrustManager).isNotNull() // Multiple clients share the instances. val b = client.newBuilder().build() assertThat(b.dispatcher).isSameAs(a.dispatcher) assertThat(b.connectionPool).isSameAs(a.connectionPool) assertThat(b.sslSocketFactory).isSameAs(a.sslSocketFactory)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
val handshakeCertificates = localhost() server.useHttps(handshakeCertificates.sslSocketFactory()) val dns = Dns { Dns.SYSTEM.lookup(server.hostName) } val client = clientTestRule.newClientBuilder() .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ) .dns(dns) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0)