Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for trustedCertificates (0.06 sec)

  1. 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) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (1)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

        }
    
      class Builder {
        private var heldCertificate: HeldCertificate? = null
        private var intermediates: Array<X509Certificate>? = null
        private val trustedCertificates = mutableListOf<X509Certificate>()
        private val insecureHosts = mutableListOf<String>()
    
        /**
         * Configure the certificate chain to use when being authenticated. The first certificate is
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top