Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newEmptyKeyStore (0.1 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

      @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])
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top