Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for buildCertificateChainCleaner (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/Android10Platform.kt

        NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(hostname)
    
      override fun buildCertificateChainCleaner(trustManager: X509TrustManager): CertificateChainCleaner =
        AndroidCertificateChainCleaner.buildIfSupported(trustManager) ?: super.buildCertificateChainCleaner(trustManager)
    
      companion object {
        val isSupported: Boolean = isAndroid && Build.VERSION.SDK_INT >= 29
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

          else -> true
        }
    
      override fun buildCertificateChainCleaner(trustManager: X509TrustManager): CertificateChainCleaner =
        AndroidCertificateChainCleaner.buildIfSupported(trustManager) ?: super.buildCertificateChainCleaner(trustManager)
    
      override fun buildTrustRootIndex(trustManager: X509TrustManager): TrustRootIndex =
        try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt

        chain: List<Certificate>,
        hostname: String,
      ): List<Certificate>
    
      companion object {
        fun get(trustManager: X509TrustManager): CertificateChainCleaner {
          return Platform.get().buildCertificateChainCleaner(trustManager)
        }
    
        fun get(vararg caCerts: X509Certificate): CertificateChainCleaner {
          return BasicCertificateChainCleaner(BasicTrustRootIndex(*caCerts))
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

            "FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);"
        }
        log(logMessage, WARN, stackTrace as Throwable?)
      }
    
      open fun buildCertificateChainCleaner(trustManager: X509TrustManager): CertificateChainCleaner =
        BasicCertificateChainCleaner(buildTrustRootIndex(trustManager))
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

                  "sslSocketFactory is ${sslSocketFactory.javaClass}",
              )
            this.certificateChainCleaner =
              Platform.get().buildCertificateChainCleaner(x509TrustManagerOrNull!!)
          }
    
        /**
         * Sets the socket factory and trust manager used to secure HTTPS connections. If unset, the
         * system defaults will be used.
         *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  6. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/platform/Android10Platform;-><clinit>()V
    HSPLokhttp3/internal/platform/Android10Platform;-><init>()V
    HSPLokhttp3/internal/platform/Android10Platform;->buildCertificateChainCleaner(Ljavax/net/ssl/X509TrustManager;)Lokhttp3/internal/tls/CertificateChainCleaner;
    HSPLokhttp3/internal/platform/Android10Platform;->configureTlsExtensions(Ljavax/net/ssl/SSLSocket;Ljava/lang/String;Ljava/util/List;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top