Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for intermediate (0.04 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-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            .Builder()
            .certificateAuthority(1)
            .build()
        val intermediate =
          HeldCertificate
            .Builder()
            .certificateAuthority(0)
            .signedBy(root)
            .build()
        val certificate =
          HeldCertificate
            .Builder()
            .signedBy(intermediate)
            .build()
        val handshakeCertificates =
          HandshakeCertificates
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

         *
         * The chain should include all intermediate certificates but does not need the root certificate
         * that we expect to be known by the remote peer. The peer already has that certificate so
         * transmitting it is unnecessary.
         */
        fun heldCertificate(
          heldCertificate: HeldCertificate,
          vararg intermediates: X509Certificate,
        ) = apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. 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)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     *
     * In this example the HTTP client already knows and trusts the last certificate, "Entrust Root
     * Certification Authority - G2". That certificate is used to verify the signature of the
     * intermediate certificate, "Entrust Certification Authority - L1M". The intermediate certificate
     * is used to verify the signature of the "www.squareup.com" certificate.
     *
     * This roles are reversed for client authentication. In that case the client has a private key and
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K 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. 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)
  8. 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)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

      }
    
      /**
       * Returns true if [toVerify] was signed by [signingCert]'s public key.
       *
       * @param minIntermediates the minimum number of intermediate certificates in [signingCert]. This
       *     is -1 if signing cert is a lone self-signed certificate.
       */
      private fun verifySignature(
        toVerify: X509Certificate,
        signingCert: X509Certificate,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. 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)
Back to top