Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for deskey (0.04 sec)

  1. src/main/java/jcifs/smb1/util/DES.java

         * Sets the DES encryption key
         * @param key the 8-byte DES key
         */
        public void setKey(final byte[] key) {
    
            // CHECK PAROTY TBD
            deskey(key, true, encryptKeys);
            deskey(key, false, decryptKeys);
        }
    
        // Turn an 8-byte key into internal keys.
        private void deskey(final byte[] keyBlock, final boolean encrypting, final int[] KnL) {
    
            int i, j, l, m, n;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

                    (byte) 0xF8, (byte) 0xF7, (byte) 0xF6, (byte) 0xF5, (byte) 0xF4, (byte) 0xF3, (byte) 0xF2, (byte) 0xF1, (byte) 0xF0 };
            Smb2LeaseKey newKey = new Smb2LeaseKey(newKeyBytes);
    
            leaseContext.setLeaseKey(newKey);
            assertEquals(newKey, leaseContext.getLeaseKey());
        }
    
        @Test
        @DisplayName("Should set and get lease state")
        void testLeaseStateAccessors() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            byte[] testKey = new byte[16];
            new SecureRandom().nextBytes(testKey);
    
            // When - Create context with SecureKeyManager using same key for both operations
            Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311,
                    testKey, testKey, keyManager);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                when(mockReferralData.getKey()).thenReturn(key);
                doNothing().when(mockReferralData).setKey(key);
    
                mockReferralData.setKey(key);
                String retrievedKey = mockReferralData.getKey();
    
                assertEquals(key, retrievedKey);
                verify(mockReferralData, times(1)).setKey(key);
                verify(mockReferralData, times(1)).getKey();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // When
            byte[] decKey = Smb3KeyDerivation.deriveDecryptionKey(dialect, sessionKey, preauthIntegrity);
    
            // Then
            assertNotNull(decKey, "Decryption key should not be null");
            assertEquals(16, decKey.length, "Decryption key should be 16 bytes");
            assertFalse(Arrays.equals(sessionKey, decKey), "Decryption key should be different from session key");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. docs/smb3-features/01-smb3-lease-design.md

                }
                
                // Create new lease
                Smb2LeaseKey newKey = new Smb2LeaseKey();
                LeaseEntry newEntry = new LeaseEntry(newKey, path, requestedState);
                leases.put(newKey, newEntry);
                pathToLease.put(path, newKey);
                
                return newKey;
            } finally {
                lock.writeLock().unlock();
            }
        }
        
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            }
    
            @Test
            @DisplayName("Should get and set key")
            void testKey() {
                assertNull(referralData.getKey());
                referralData.setKey("cache-key-123");
                assertEquals("cache-key-123", referralData.getKey());
            }
    
            @Test
            @DisplayName("Should get server")
            void testGetServer() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                // Create new lease
                Smb2LeaseKey newKey = new Smb2LeaseKey();
                LeaseEntry newEntry = new LeaseEntry(newKey, path, requestedState);
                leases.put(newKey, newEntry);
                pathToLease.put(path, newKey);
    
                log.debug("Created new lease for path: {} with key: {}", path, newKey);
                return newKey;
            } finally {
                lock.writeLock().unlock();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/main/resources/fess_indices/fess/pt-br/stopwords.txt

    ambos
    antes
    ao
    aonde
    aos
    apos
    aquele
    aqueles
    as
    assim
    com
    como
    contra
    contudo
    cuja
    cujas
    cujo
    cujos
    da
    das
    de
    dela
    dele
    deles
    demais
    depois
    desde
    desta
    deste
    dispoe
    dispoem
    diversa
    diversas
    diversos
    do
    dos
    durante
    e
    ela
    elas
    ele
    eles
    em
    entao
    entre
    essa
    essas
    esse
    esses
    esta
    estas
    este
    estes
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 19 06:31:02 UTC 2018
    - 820 bytes
    - Viewed (0)
  10. src/main/resources/fess_indices/fess/gl/stopwords.txt

    che
    co
    coa
    comigo
    con
    connosco
    contigo
    convosco
    coas
    cos
    cun
    cuns
    cunha
    cunhas
    da
    dalgunha
    dalgunhas
    dalgún
    dalgúns
    das
    de
    del
    dela
    delas
    deles
    desde
    deste
    do
    dos
    dun
    duns
    dunha
    dunhas
    e
    el
    ela
    elas
    eles
    en
    era
    eran
    esa
    esas
    ese
    eses
    esta
    estar
    estaba
    está
    están
    este
    estes
    estiven
    estou
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 19 06:31:02 UTC 2018
    - 932 bytes
    - Viewed (0)
Back to top