Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for Pinning (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        // rogue CA is trusted) but it should fail certificate pinning.
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .build()
        val call = client.newCall(request)
        assertFailsWith<SSLPeerUnverifiedException> {
          call.execute()
        }.also { expected ->
          // Certificate pinning fails!
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
  2. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

        )
        server.enqueue(MockResponse())
        assertFailsWith<SSLPeerUnverifiedException> {
          val response = execute(url)
          response.close()
        }
      }
    
      /** Can still coalesce when pinning is used if pins match.  */
      @Test
      fun coalescesWhenCertificatePinsMatch() {
        val pinner =
          CertificatePinner
            .Builder()
            .add("san.com", pin(certificate.certificate))
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  3. README.md

    first connect fails. This is necessary for IPv4+IPv6 and services hosted in redundant data
    centers. OkHttp supports modern TLS features (TLS 1.3, ALPN, certificate pinning). It can be
    configured to fall back for broad connectivity.
    
    Using OkHttp is easy. Its request/response API is designed with fluent builders and immutability. It
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        // 3. This connection's server certificates must cover the new host.
        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
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        // Fails on 11.0.1 https://github.com/square/okhttp/issues/4703
        enableTls()
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
    
        // Make a first request without certificate pinning. Use it to collect certificates to pin.
        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
        val certificatePinnerBuilder = CertificatePinner.Builder()
    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. CHANGELOG/CHANGELOG-1.30.md

    - Added kubelet metrics to track the memory manager allocation and pinning. ([#121778](https://github.com/kubernetes/kubernetes/pull/121778), [@Tal-or](https://github.com/Tal-or))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jun 18 18:59:10 UTC 2025
    - 398.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/EditBody.java

     * This class extends EditForm to inherit the necessary form validation and binding capabilities
     * for scheduler management operations.
     */
    public class EditBody extends EditForm {
    
        /**
         * Flag indicating whether the scheduler job is currently running.
         */
        public Boolean running;
    
        /**
         * Default constructor.
         */
        public EditBody() {
            super();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         */
        @Size(max = 1000)
        public String ldapBaseDn;
    
        /**
         * LDAP filter for finding user accounts.
         * Defines the search filter used to locate user accounts in LDAP.
         */
        @Size(max = 1000)
        public String ldapAccountFilter;
    
        /**
         * LDAP filter for finding groups.
         * Defines the search filter used to locate groups in LDAP.
         */
        @Size(max = 1000)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. build.gradle.kts

      if (project.name != "okhttp") {
        val testRuntimeOnly: Configuration by configurations.getting
        dependencies {
          // https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle-bom
          testRuntimeOnly(rootProject.libs.junit.jupiter.engine)
          testRuntimeOnly(rootProject.libs.junit.vintage.engine)
          testRuntimeOnly(rootProject.libs.junit.platform.launcher)
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        String result;
        if (state == DONE) {
          result = "running=[DONE]";
        } else if (state instanceof Blocker) {
          result = "running=[INTERRUPTED]";
        } else if (state instanceof Thread) {
          // getName is final on Thread, no need to worry about exceptions
          result = "running=[RUNNING ON " + ((Thread) state).getName() + "]";
        } else {
          result = "running=[NOT STARTED YET]";
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top