Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for dalt (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            }
    
            @Test
            @DisplayName("Should return salt correctly")
            void testGetSalt() {
                int[] hashAlgos = { 0x01 };
                byte[] salt = { 0x01, 0x02, 0x03, 0x04 };
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                assertArrayEquals(salt, context.getSalt());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureCredentialStorage.java

            }
            if (salt == null || salt.length != SALT_SIZE) {
                throw new IllegalArgumentException("Invalid salt");
            }
    
            this.salt = salt.clone();
            this.masterKey = deriveKey(masterPassword, this.salt);
    
            // Clear the master password after use
            Arrays.fill(masterPassword, '\0');
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                byte[] buffer = new byte[] { 0x02, 0x00, // 2 hash algos
                        0x04, 0x00, // 4 bytes salt
                        0x01, 0x00, // SHA512
                        0x02, 0x00, // Another hash algo
                        0x0A, 0x0B, 0x0C, 0x0D // Salt
                };
    
                // Act
                int decodedSize = context.decode(buffer, 0, buffer.length);
    
                // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            String sessionId = "test-session-1";
            byte[] salt = preauthService.generatePreauthSalt();
    
            PreauthIntegrityContext context = preauthService.initializeSession(sessionId, salt, PreauthIntegrityService.HASH_ALGO_SHA512);
    
            assertNotNull(context);
            assertEquals(PreauthIntegrityService.HASH_ALGO_SHA512, context.getHashAlgorithm());
            assertArrayEquals(salt, context.getSalt());
            assertTrue(context.isValid());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/PreauthIntegrityService.java

        }
    
        /**
         * Generates a new preauth salt for SMB 3.1.1 negotiation.
         *
         * @return a cryptographically secure random salt
         */
        public byte[] generatePreauthSalt() {
            byte[] salt = new byte[SALT_SIZE];
            secureRandom.nextBytes(salt);
            log.debug("Generated new preauth salt of {} bytes", salt.length);
            return salt;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                int[] hashAlgos = { 1, 2 };
                byte[] salt = new byte[8];
                Arrays.fill(salt, (byte) 0xFF);
    
                context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                // Encode at position 100
                int encoded = context.encode(buffer, 100);
                assertEquals(context.size(), encoded);
    
                // Verify salt is at correct position
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.position(22);
            String path = "\\\\server\\share";
            bb.put(path.getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            // Alt path string at offset 54
            bb.position(54);
            String altPath = "\\\\alt\\path";
            bb.put(altPath.getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            // Node string at offset 76
            bb.position(76);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

     * </p>
     * <p>
     * The extracted text is obtained from the nodes selected by the {@code targetNodePath} XPath expression.
     * The default value for {@code targetNodePath} is "//HTML/BODY | //@alt | //@title", which selects the body of the HTML document,
     * as well as the alt and title attributes.
     * </p>
     * <p>
     * The class uses {@link DOMParser} to parse HTML documents and {@link XPathAPI} to execute XPath queries.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Oct 04 08:47:19 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            when(mockConfig.getMachineId()).thenReturn(testMachineId);
            when(mockConfig.getRandom()).thenReturn(mockRandom);
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            // Mock random for predictable salt generation
            doAnswer(invocation -> {
                byte[] buffer = invocation.getArgument(0);
                System.arraycopy(testSalt, 0, buffer, 0, Math.min(buffer.length, testSalt.length));
                return null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. src/main/resources/fess_label_nl.properties

    labels.search_list_configuration=Zoeken
    labels.search_list_button_delete=Verwijderen
    labels.search_list_delete_confirmation=Weet u zeker dat u wilt verwijderen?
    labels.search_list_button_delete_all=Alles verwijderen met deze query
    labels.search_list_delete_all_confirmation=Weet u zeker dat u alles wilt verwijderen met deze query?
    labels.search_list_button_cancel=Annuleren
    labels.failure_url_configuration=Fout-URL
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 46.1K bytes
    - Viewed (1)
Back to top