- Sort Score
- Result 10 results
- Languages All
Results 21 - 23 of 23 for addTrustedCertificate (0.09 sec)
-
okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt
dns["nonsan.com"] = serverIps dns["www.wildcard.com"] = serverIps dns["differentdns.com"] = listOf() val handshakeCertificates = HandshakeCertificates.Builder() .addTrustedCertificate(rootCa.certificate) .build() client = clientTestRule.newClientBuilder() .fastFallback(false) // Avoid data races. .dns(dns) .sslSocketFactory(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 18.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
val heldCertificate = HeldCertificate.Builder().build() builder = builder.heldCertificate(heldCertificate, heldCertificate.certificate) builder = builder.addTrustedCertificate(heldCertificate.certificate) builder = builder.addPlatformTrustedCertificates() val handshakeCertificates: HandshakeCertificates = builder.build() } @Test fun heldCertificate() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
HandshakeCertificates.Builder() .heldCertificate(serverCertificate) .build() val clientCertificates = HandshakeCertificates.Builder() .addTrustedCertificate(serverCertificate.certificate) .build() client = client.newBuilder() .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)