- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for checkClientTrusted (0.11 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt
override fun checkClientTrusted( chain: Array<out X509Certificate>, authType: String?, ) = throw CertificateException("Unsupported operation") override fun checkClientTrusted( chain: Array<out X509Certificate>, authType: String, engine: SSLEngine?, ) = throw CertificateException("Unsupported operation") override fun checkClientTrusted( chain: Array<out X509Certificate>,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 2.7K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
} @Suppress("TrustAllX509TrustManager", "CustomX509TrustManager") private fun createInsecureTrustManager(): X509TrustManager = object : X509TrustManager { override fun checkClientTrusted( chain: Array<X509Certificate>, authType: String, ) { } override fun checkServerTrusted( chain: Array<X509Certificate>,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
} @Test fun testCustomTrustManager() { assumeNetwork() val trustManager = object : X509TrustManager { override fun checkClientTrusted( chain: Array<out X509Certificate>?, authType: String?, ) {} override fun checkServerTrusted( chain: Array<out X509Certificate>?,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 14:12:28 UTC 2025 - 29K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
* Won't coalesce if we can't clean certs e.g. a dev setup. */ @Test fun redirectWithDevSetup() { val trustManager: X509TrustManager = object : X509TrustManager { override fun checkClientTrusted( x509Certificates: Array<X509Certificate>, s: String, ) { } override fun checkServerTrusted( x509Certificates: Array<X509Certificate>,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
private const val CLIENT_AUTH_REQUIRED = 2 private val UNTRUSTED_TRUST_MANAGER = object : X509TrustManager { @Throws(CertificateException::class) override fun checkClientTrusted( chain: Array<X509Certificate>, authType: String, ) = throw CertificateException() override fun checkServerTrusted( chain: Array<X509Certificate>,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers override fun checkClientTrusted( chain: Array<X509Certificate>, authType: String, ) { calls.add("checkClientTrusted " + certificatesToString(chain)) } override fun checkServerTrusted( chain: Array<X509Certificate>, authType: String,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0)