Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for pinner (0.5 sec)

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

      }
    
      /**
       * Attack the CA intermediates check by presenting unrelated chains to the handshake vs.
       * certificate pinner.
       *
       * This chain is valid but not pinned:
       *
       * ```
       *   attackerCa
       *    -> phonyVictim
       * ```
       *
       *
       * This chain is pinned but not valid:
       *
       * ```
       *   attackerCa
       *     -> pinnedRoot (trusted by CertificatePinner)
    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

      /** Can still coalesce when pinning is used if pins match.  */
      @Test
      fun coalescesWhenCertificatePinsMatch() {
        val pinner =
          CertificatePinner
            .Builder()
            .add("san.com", pin(certificate.certificate))
            .build()
        client = client.newBuilder().certificatePinner(pinner).build()
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
    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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

                unverifiedHandshake.peerCertificates,
                address.url.host,
              )
            }
          this.handshake = handshake
    
          // Check that the certificate pinner is satisfied by the certificates presented.
          certificatePinner.check(address.url.host) {
            handshake.peerCertificates.map { it as X509Certificate }
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. docs/en/docs/img/sponsors/railway-banner.png

    railway-banner.png...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jul 31 17:47:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. docs/en/docs/img/sponsors/mobbai-banner.png

    mobbai-banner.png...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jul 23 13:02:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

      fun noRequestBody() {
        call.messageDone(
          exchange = this,
          requestDone = true,
          e = null,
        )
      }
    
      /** A request body that fires events when it completes. */
      private inner class RequestBodySink(
        delegate: Sink,
        /** The exact number of bytes to be written, or -1L if that is unknown. */
        private val contentLength: Long,
      ) : ForwardingSink(delegate) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            assertThrows(PACDecodingException.class, () -> new KerberosToken(wrongOidToken));
        }
    
        /**
         * Test constructor with a malformed Kerberos token (invalid inner structure).
         *
         * @throws IOException if an I/O error occurs
         */
        @Test
        void testConstructorWithMalformedKerberosToken() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/CaseFormatTest.java

      }
    
      public void testConverter_nullConversions() {
        for (CaseFormat outer : CaseFormat.values()) {
          for (CaseFormat inner : CaseFormat.values()) {
            assertThat(outer.converterTo(inner).convert(null)).isNull();
            assertThat(outer.converterTo(inner).reverse().convert(null)).isNull();
          }
        }
      }
    
      public void testConverter_toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        val body = newFixedLengthSource(response.request.url, contentLength)
        body.skipAll(Int.MAX_VALUE, MILLISECONDS)
        body.close()
      }
    
      /** An HTTP request body. */
      private inner class KnownLengthSink : Sink {
        private val timeout = ForwardingTimeout(socket.sink.timeout())
        private var closed: Boolean = false
    
        override fun timeout(): Timeout = timeout
    
        override fun write(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            assertTrue(s.endsWith("]"), "expected suffix ] but got " + s);
            String inner = s.substring("SmbComLogoffAndX[".length(), s.length() - 1);
            assertFalse(inner.isEmpty(), "inner part of toString should not be empty");
        }
    
        @Test
        @DisplayName("constructor sets correct command value")
        void constructorSetsCorrectCommand() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top