Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for checkClientTrusted (0.11 sec)

  1. 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 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/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

        } catch (e: InvocationTargetException) {
          throw e.targetException
        }
      }
    
      override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers
    
      override fun checkClientTrusted(
        chain: Array<out X509Certificate>,
        authType: String?,
      ) = throw CertificateException("Unsupported operation")
    
      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

            prop.load(it)
          }
          return prop.getProperty("version", "dev")
        }
    
        private fun createInsecureTrustManager(): X509TrustManager =
          object : X509TrustManager {
            override fun checkClientTrusted(
              chain: Array<X509Certificate>,
              authType: String,
            ) {}
    
            override fun checkServerTrusted(
              chain: Array<X509Certificate>,
              authType: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top