- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for CertificateChainCleaner (0.11 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt
* pinning. */ abstract class CertificateChainCleaner { @Throws(SSLPeerUnverifiedException::class) abstract fun clean( chain: List<Certificate>, hostname: String, ): List<Certificate> companion object { fun get(trustManager: X509TrustManager): CertificateChainCleaner = Platform.get().buildCertificateChainCleaner(trustManager)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt
import okhttp3.internal.platform.android.BouncyCastleSocketAdapter import okhttp3.internal.platform.android.ConscryptSocketAdapter import okhttp3.internal.platform.android.DeferredSocketAdapter import okhttp3.internal.tls.CertificateChainCleaner import okhttp3.internal.tls.TrustRootIndex /** Android 10+ (API 29+). */ @SuppressSignatureCheck class Android10Platform : Platform(), ContextAwarePlatform {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jul 20 11:25:50 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
/** Returns a certificate pinner that uses `certificateChainCleaner`. */ internal fun withCertificateChainCleaner(certificateChainCleaner: CertificateChainCleaner): CertificatePinner = if (this.certificateChainCleaner == certificateChainCleaner) { this } else { CertificatePinner(pins, certificateChainCleaner) } override fun equals(other: Any?): Boolean =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
val hostnameVerifier: HostnameVerifier = builder.hostnameVerifier @get:JvmName("certificatePinner") val certificatePinner: CertificatePinner @get:JvmName("certificateChainCleaner") val certificateChainCleaner: CertificateChainCleaner? /** * Default call timeout (in milliseconds). By default there is no timeout for complete calls, but * there is for the connect, write, and read actions within a call.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 51.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
import okhttp3.internal.readFieldOrNull import okhttp3.internal.tls.BasicCertificateChainCleaner import okhttp3.internal.tls.BasicTrustRootIndex import okhttp3.internal.tls.CertificateChainCleaner import okhttp3.internal.tls.TrustRootIndex import okio.Buffer import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement /** * Access to platform-specific features. * * ### Session Tickets *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
import okhttp3.internal.platform.android.DeferredSocketAdapter import okhttp3.internal.platform.android.StandardAndroidSocketAdapter import okhttp3.internal.tls.BasicTrustRootIndex import okhttp3.internal.tls.CertificateChainCleaner import okhttp3.internal.tls.TrustRootIndex /** Android 5 to 9 (API 21 to 28). */ @SuppressSignatureCheck class AndroidPlatform : Platform(), ContextAwarePlatform {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 29 16:52:38 UTC 2025 - 6.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt
import assertk.assertThat import assertk.assertions.isEqualTo import java.security.cert.Certificate import javax.net.ssl.SSLPeerUnverifiedException import kotlin.test.assertFailsWith import okhttp3.internal.tls.CertificateChainCleaner.Companion.get import okhttp3.tls.HandshakeCertificates import okhttp3.tls.HeldCertificate import org.junit.jupiter.api.Test class CertificateChainCleanerTest { @Test fun equalsFromCertificate() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.5K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt
* [TrustedCertificateIndex]. * * [Conscrypt]: https://conscrypt.org/ */ class BasicCertificateChainCleaner( private val trustRootIndex: TrustRootIndex, ) : CertificateChainCleaner() { /** * Returns a cleaned chain for [chain]. * * This method throws if the complete chain to a trusted CA certificate cannot be constructed.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public final fun authenticator ()Lokhttp3/Authenticator; public final fun cache ()Lokhttp3/Cache; public final fun callTimeoutMillis ()I public final fun certificateChainCleaner ()Lokhttp3/internal/tls/CertificateChainCleaner; public final fun certificatePinner ()Lokhttp3/CertificatePinner; public final fun connectTimeoutMillis ()I public final fun connectionPool ()Lokhttp3/ConnectionPool;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0)