Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for trustedCertificates (0.34 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top