- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for newSslSocketFactory (0.06 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt
platform.assumeNotConscrypt() platform.assumeNotBouncyCastle() val platform = Platform.get() val platformDefaultCipherSuites = platform.newSslSocketFactory(platform.platformTrustManager()).defaultCipherSuites val cipherSuites = ConnectionSpec.RESTRICTED_TLS.effectiveCipherSuites(platformDefaultCipherSuites)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Sep 16 07:21:43 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
BasicCertificateChainCleaner(buildTrustRootIndex(trustManager)) open fun buildTrustRootIndex(trustManager: X509TrustManager): TrustRootIndex = BasicTrustRootIndex(*trustManager.acceptedIssuers) open fun newSslSocketFactory(trustManager: X509TrustManager): SSLSocketFactory { try { return newSSLContext() .apply { init(null, arrayOf<TrustManager>(trustManager), null) }.socketFactory
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
.withCertificateChainCleaner(certificateChainCleaner) } else { this.x509TrustManager = Platform.get().platformTrustManager() this.sslSocketFactoryOrNull = Platform.get().newSslSocketFactory(x509TrustManager) this.certificateChainCleaner = CertificateChainCleaner.get(x509TrustManager) this.certificatePinner = builder.certificatePinner
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 51.4K bytes - Viewed (0)