- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for HandshakeCertificates (0.11 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
if (https) { server.useHttps(handshakeCertificates.sslSocketFactory()) server2.useHttps(handshakeCertificates.sslSocketFactory()) server2.protocolNegotiationEnabled = false client = client .newBuilder() .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
.build() val handshakeCertificates = HandshakeCertificates .Builder() .heldCertificate(heldCertificate) .addTrustedCertificate(heldCertificate.certificate) .build() // Use that certificate on the server and trust it on the client. server.useHttps(handshakeCertificates.sslSocketFactory()) client = client
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
.body("ABC") .build(), ) client = client .newBuilder() .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ).hostnameVerifier(NULL_HOSTNAME_VERIFIER) .build() val request = Request.Builder().url(server.url("/")).build() val response1 = client.newCall(request).execute()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0)