- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for keyStoreType (0.34 seconds)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
/** Returns a trust manager that trusts `trustedCertificates`. */ @JvmStatic @IgnoreJRERequirement fun newTrustManager( keyStoreType: String?, trustedCertificates: List<X509Certificate>, insecureHosts: List<String>, ): X509TrustManager { val trustStore = newEmptyKeyStore(keyStoreType) for (i in trustedCertificates.indices) { trustStore.setCertificateEntry("cert_$i", trustedCertificates[i]) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
val keystoreType = if (platform.isJdk9()) "JKS" else null val x509KeyManager = newKeyManager(keystoreType, heldCertificate, *intermediates) val trustManager = newTrustManager( keystoreType, emptyList(), emptyList(), ) val sslContext = get().newSSLContext()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 24.4K bytes - Click Count (2)