Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for pin (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val certificates: List<Certificate> = listOf()
        certificatePinner.check("", listOf(certificate))
        certificatePinner.check("", arrayOf<Certificate>(certificate, certificate).toList())
        val pin: String = CertificatePinner.pin(certificate)
        val default: CertificatePinner = CertificatePinner.DEFAULT
      }
    
      @Test
      fun certificatePinnerBuilder() {
        val builder: CertificatePinner.Builder = CertificatePinner.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

              val cert = peerCertificates[0] as X509Certificate
              throw SSLPeerUnverifiedException(
                """
                |Hostname ${address.url.host} not verified:
                |    certificate: ${CertificatePinner.pin(cert)}
                |    DN: ${cert.subjectDN.name}
                |    subjectAltNames: ${OkHostnameVerifier.allSubjectAltNames(cert)}
                """.trimMargin(),
              )
            } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

      /**
       * Returns true if the host and port are unchanged from when this was created. This is used to
       * detect if followups need to do a full connection-finding process including DNS resolution, and
       * certificate pin checks.
       */
      fun sameHostAndPort(url: HttpUrl): Boolean
    
      /**
       * A plan holds either an immediately-usable connection, or one that must be connected first.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. okhttp/api/jvm/okhttp.api

    }
    
    public final class okhttp3/CertificatePinner$Companion {
    	public final fun pin (Ljava/security/cert/Certificate;)Ljava/lang/String;
    	public final fun sha1Hash (Ljava/security/cert/X509Certificate;)Lokio/ByteString;
    	public final fun sha256Hash (Ljava/security/cert/X509Certificate;)Lokio/ByteString;
    }
    
    public final class okhttp3/CertificatePinner$Pin {
    	public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
        val certificatePinnerBuilder = CertificatePinner.Builder()
        for (certificate in response1.handshake!!.peerCertificates) {
          certificatePinnerBuilder.add(
            server.hostName,
            pin(certificate),
          )
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

      fun testCertificatePinningSuccess() {
        enableTls()
    
        val certificatePinner =
          CertificatePinner
            .Builder()
            .add(
              server.hostName,
              CertificatePinner.pin(handshakeCertificates.trustManager.acceptedIssuers[0]),
            ).build()
        client = client.newBuilder().certificatePinner(certificatePinner).build()
    
        server.enqueue(MockResponse(body = "abc"))
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  7. okhttp/api/android/okhttp.api

    }
    
    public final class okhttp3/CertificatePinner$Companion {
    	public final fun pin (Ljava/security/cert/Certificate;)Ljava/lang/String;
    	public final fun sha1Hash (Ljava/security/cert/X509Certificate;)Lokio/ByteString;
    	public final fun sha256Hash (Ljava/security/cert/X509Certificate;)Lokio/ByteString;
    }
    
    public final class okhttp3/CertificatePinner$Pin {
    	public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_2x.md

        ```
    
     * **`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()
             .add("publicobject.com",   "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

      // have two requirements that significantly complicate their design.
      // 1. Cancellation should propagate from the returned future to the input future(s).
      // 2. The returned futures shouldn't unnecessarily 'pin' their inputs after completion.
      //
      // A consequence of these requirements is that the delegate futures cannot be stored in
      // final fields.
      //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // https://www.iana.org/domains/root/db/pictures.html
    pictures
    
    // pid : Top Level Spectrum, Inc.
    // https://www.iana.org/domains/root/db/pid.html
    pid
    
    // pin : Amazon Registry Services, Inc.
    // https://www.iana.org/domains/root/db/pin.html
    pin
    
    // ping : Ping Registry Provider, Inc.
    // https://www.iana.org/domains/root/db/ping.html
    ping
    
    // pink : Identity Digital Limited
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (0)
Back to top