- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for newSslSocketFactory (0.6 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 11.2K bytes - Viewed (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
if (Conscrypt.isConscrypt(sslSocket)) { Conscrypt.getApplicationProtocol(sslSocket) } else { super.getSelectedProtocol(sslSocket) } override fun newSslSocketFactory(trustManager: X509TrustManager): SSLSocketFactory = newSSLContext() .apply { init(null, arrayOf<TrustManager>(trustManager), null) }.socketFactory companion object {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K 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 Sep 05 11:42:10 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 51.7K bytes - Viewed (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokhttp3/internal/platform/Platform;->connectSocket(Ljava/net/Socket;Ljava/net/InetSocketAddress;I)V HSPLokhttp3/internal/platform/Platform;->newSSLContext()Ljavax/net/ssl/SSLContext; HSPLokhttp3/internal/platform/Platform;->newSslSocketFactory(Ljavax/net/ssl/X509TrustManager;)Ljavax/net/ssl/SSLSocketFactory; HSPLokhttp3/internal/platform/Platform;->platformTrustManager()Ljavax/net/ssl/X509TrustManager;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 127.9K bytes - Viewed (0)