Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for InsecureExtendedTrustManager (0.16 sec)

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

     *
     * Note that the superclass [X509ExtendedTrustManager] isn't available on Android until version 7
     * (API level 24).
     */
    @IgnoreJRERequirement
    internal class InsecureExtendedTrustManager(
      private val delegate: X509ExtendedTrustManager,
      private val insecureHosts: List<String>,
    ) : X509ExtendedTrustManager() {
      override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. okhttp-tls/build.gradle.kts

      testImplementation(libs.junit)
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlin.test.junit)
      testImplementation(libs.assertk)
    }
    
    animalsniffer {
      // InsecureExtendedTrustManager (API 24+)
      ignore = listOf("javax.net.ssl.X509ExtendedTrustManager")
    }
    
    mavenPublishing {
      configure(KotlinJvm(javadocJar = JavadocJar.Empty()))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

        return when {
          insecureHosts.isEmpty() -> trustManager
          Platform.isAndroid -> InsecureAndroidTrustManager(trustManager, insecureHosts)
          else -> InsecureExtendedTrustManager(trustManager as X509ExtendedTrustManager, insecureHosts)
        }
      }
    
      /**
       * Returns a key manager for the held certificate and its chain. Returns an empty key manager if
       * `heldCertificate` is null.
    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