Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CertificateException (0.22 sec)

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

        authType: String,
      ) = throw CertificateException("Unsupported operation")
    
      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")
    
    Registered: Sun Jun 16 04:42:17 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

      override fun checkClientTrusted(
        chain: Array<out X509Certificate>,
        authType: String?,
      ) = throw CertificateException("Unsupported operation")
    
      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
      ) = throw CertificateException("Unsupported operation")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

        // ConnectionSpec: we assume it is unreachable.
        e is InterruptedIOException -> false
    
        // If the problem was a CertificateException from the X509TrustManager, do not retry.
        e is SSLHandshakeException && e.cause is CertificateException -> false
    
        // e.g. a certificate pinning error.
        e is SSLPeerUnverifiedException -> false
    
        // Retry for all other SSL failures.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

     */
    package okhttp3.internal.platform.android
    
    import android.net.http.X509TrustManagerExtensions
    import java.lang.IllegalArgumentException
    import java.security.cert.Certificate
    import java.security.cert.CertificateException
    import java.security.cert.X509Certificate
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.X509TrustManager
    import okhttp3.internal.SuppressSignatureCheck
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/FakeKeyStore.java

            ObjectOutputStream oos = new ObjectOutputStream(stream);
            oos.writeObject(keys);
            oos.writeObject(certChains);
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public void engineLoad(InputStream stream, char[] password) throws IOException, NoSuchAlgorithmException, CertificateException {
            if (stream == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/connection/RetryConnectionTest.kt

    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.security.cert.CertificateException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLSocket
    import okhttp3.ConnectionSpec
    import okhttp3.OkHttpClientTestRule
    import okhttp3.TestValueFactory
    import okhttp3.TlsVersion
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top