Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for intermediates (0.05 sec)

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

            .certificateAuthority(0)
            .commonName("compromised intermediate")
            .signedBy(pinnedRoot)
            .build()
        val attackerIntermediate =
          HeldCertificate
            .Builder()
            .keyPair(attackerCa.keyPair) // Share keys between compromised CA and intermediate!
            .serialNumber(4L)
            .certificateAuthority(0) // More intermediates than permitted by signer!
            .commonName("attacker intermediate")
    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/internal/tls/ClientAuthTest.kt

      private fun buildClient(
        heldCertificate: HeldCertificate?,
        vararg intermediates: X509Certificate,
      ): OkHttpClient {
        val builder =
          HandshakeCertificates
            .Builder()
            .addTrustedCertificate(serverRootCa.certificate)
        if (heldCertificate != null) {
          builder.heldCertificate(heldCertificate, *intermediates)
        }
        val handshakeCertificates = builder.build()
        return clientTestRule
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. okhttp-tls/README.md

    representative of real-world HTTPS deployment. To get closer to that we can use `HeldCertificate`
    to generate a trusted root certificate, an intermediate certificate, and a server certificate.
    We use `certificateAuthority(int)` to create certificates that can sign other certificates. The
    int specifies how many intermediate certificates are allowed beneath it in the chain.
    
    ```java
    HeldCertificate rootCertificate = new HeldCertificate.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. CHANGELOG.md

     *  Fix: Don't crash loading the public suffix database resource in obfuscated builds.
     *  Fix: Don't silently ignore calls to `EventSource.cancel()` made from
        `EventSourceListener.onOpen()`.
     *  Fix: Enforce the max intermediates constraint when using pinned certificates with Conscrypt.
        This impacts Conscrypt when the server's presented certificates form both a trusted-but-unpinned
        chain and an untrusted-but-pinned chain.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  5. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            GsaConfigException exception = new GsaConfigException("Top level GSA error", intermediateCause);
    
            assertNotNull(exception);
            assertEquals("Top level GSA error", exception.getMessage());
    
            // Check first level cause
            assertNotNull(exception.getCause());
            assertEquals("Intermediate problem", exception.getCause().getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            Exception intermediateCause = new IllegalStateException("Intermediate cause", rootCause);
            ScriptEngineException exception = new ScriptEngineException("Top level error", intermediateCause);
    
            assertEquals("Top level error", exception.getMessage());
            assertEquals(intermediateCause, exception.getCause());
            assertEquals("Intermediate cause", exception.getCause().getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/BigIntegerMath.java

       *
       * <p>This uses an efficient binary recursive algorithm to compute the factorial with balanced
       * multiplies. It also removes all the 2s from the intermediate products (shifting them back in at
       * the end).
       *
       * @throws IllegalArgumentException if {@code n < 0}
       */
      public static BigInteger factorial(int n) {
        checkNonNegative("n", n);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/CurlExceptionTest.java

        }
    
        @Test
        public void testExceptionChaining() {
            IOException rootCause = new IOException("Root cause");
            RuntimeException intermediateCause = new RuntimeException("Intermediate", rootCause);
            CurlException exception = new CurlException("Final message", intermediateCause);
    
            assertEquals("Final message", exception.getMessage());
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      @Throws(IOException::class)
      fun finishRequest()
    
      /**
       * Parses bytes of a response header from an HTTP transport.
       *
       * @param expectContinue true to return null if this is an intermediate response with a "100"
       * response code. Otherwise this method never returns null.
       */
      @Throws(IOException::class)
      fun readResponseHeaders(expectContinue: Boolean): Response.Builder?
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Fingerprint2011.java

      static long hash128to64(long high, long low) {
        long a = (low ^ high) * K3;
        a ^= a >>> 47;
        long b = (high ^ a) * K3;
        b ^= b >>> 47;
        b *= K3;
        return b;
      }
    
      /**
       * Computes intermediate hash of 32 bytes of byte array from the given offset. Results are
       * returned in the output array - this is 12% faster than allocating new arrays every time.
       */
      private static void weakHashLength32WithSeeds(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top