Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for CertificatePinner (1.86 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

        Address(
          uriHost = uriHost,
          uriPort = uriPort,
          dns = dns,
          socketFactory = SocketFactory.getDefault(),
          sslSocketFactory = null,
          hostnameVerifier = null,
          certificatePinner = null,
          proxyAuthenticator = proxyAuthenticator,
          proxy = proxy,
          protocols = protocols,
          connectionSpecs = connectionSpecs,
          proxySelector = proxySelector,
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. 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()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  3. 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")
        ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  5. 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.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (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()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  7. 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.
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top