Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 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. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        }
    
        /**
         * Mark this referral as intermediate (requires further resolution)
         */
        public void intermediate() {
            this.intermediate = true;
        }
    
        /**
         * @return the intermediate
         */
        @Override
        public boolean isIntermediate() {
            return this.intermediate;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            }
    
            @Test
            @DisplayName("Should check if intermediate")
            void testIsIntermediate() {
                // Test with mock
                when(mockReferralData.isIntermediate()).thenReturn(false);
                assertFalse(mockReferralData.isIntermediate());
                verify(mockReferralData, times(1)).isIntermediate();
    
                // Test with concrete implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  4. 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)
  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/jcifs/RuntimeCIFSExceptionTest.java

        void testExceptionChaining() {
            // Given
            Exception rootCause = new IllegalStateException("Root error");
            RuntimeCIFSException intermediateCause = new RuntimeCIFSException("Intermediate", rootCause);
    
            // When
            RuntimeCIFSException finalException = new RuntimeCIFSException("Final error", intermediateCause);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K 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. 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)
  9. 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)
  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