Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 27 of 27 for certificatePinner (0.56 seconds)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManager
    import javax.net.ssl.X509KeyManager
    import javax.net.ssl.X509TrustManager
    import okhttp3.CertificatePinner
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.toImmutableList
    import okhttp3.tls.internal.TlsUtil.newKeyManager
    import okhttp3.tls.internal.TlsUtil.newTrustManager
    
    /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/CertificatePinner$Companion;-><init>(Landroidx/lifecycle/viewmodel/R$id;)V
    HSPLokhttp3/CertificatePinner;-><clinit>()V
    HSPLokhttp3/CertificatePinner;-><init>(Ljava/util/Set;Lokhttp3/internal/tls/CertificateChainCleaner;)V
    HSPLokhttp3/CertificatePinner;-><init>(Ljava/util/Set;Lokhttp3/internal/tls/CertificateChainCleaner;I)V
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  3. docs/changelogs/changelog_2x.md

            RequestBody.create(null, new byte[0]);
        ```
    
     * **`CertificatePinner` now supports wildcard hostnames.** As always with
       certificate pinning, you must be very careful to avoid [bricking][brick]
       your app. You'll need to pin both the top-level domain and the `*.` domain
       for full coverage.
    
        ```java
         client.setCertificatePinner(new CertificatePinner.Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  4. docs/changelogs/changelog_4x.md

     *  New: `Authenticator.JAVA_NET_AUTHENTICATOR` forwards authentication requests to
        `java.net.Authenticator`. This obsoletes `JavaNetAuthenticator` in the `okhttp-urlconnection`
        module.
    
     *  New: `CertificatePinner` now offers an API for inspecting the configured pins.
    
     *  Upgrade: [Okio 2.6.0][okio_2_6_0].
    
        ```kotlin
        implementation("com.squareup.okio:okio:2.6.0")
        ```
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        if (address.hostnameVerifier !== OkHostnameVerifier) return false
        if (!supportsUrl(address.url)) return false
    
        // 4. Certificate pinning must match the host.
        try {
          address.certificatePinner!!.check(address.url.host, handshake()!!.peerCertificates)
        } catch (_: SSLPeerUnverifiedException) {
          return false
        }
    
        return true // The caller's address can be carried by this connection.
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        enableTls()
        server.enqueue(MockResponse())
    
        // Pin publicobject.com's cert.
        client =
          client
            .newBuilder()
            .certificatePinner(
              CertificatePinner
                .Builder()
                .add(server.hostName, "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=")
                .build(),
            ).build()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
  7. docs/changelogs/changelog_3x.md

        enum-like constants. Application code that uses enum methods on cipher
        suites (`ordinal()`, `name()`, etc.) will break with this change.
    
     *  Fix: `CertificatePinner` now matches canonicalized hostnames. Previously
        this was case sensitive. This change should also make it easier to configure
        certificate pinning for internationalized domain names.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
Back to Top