Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for deskey (0.63 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

       * the position of the new key if it was previously present.
       */
      private void replaceKeyInEntry(int entry, @ParametricNullness K newKey, boolean force) {
        checkArgument(entry != ABSENT);
        int newKeyHash = Hashing.smearedHash(newKey);
        int newKeyIndex = findEntryByKey(newKey, newKeyHash);
    
        int newPredecessor = lastInInsertionOrder;
        int newSuccessor = ENDPOINT;
        if (newKeyIndex != ABSENT) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                                    for (Map.Entry<String, Object> deepEntry : deepMap.entrySet()) {
                                        String deepKey = nestedKey + "." + deepEntry.getKey();
                                        result = result.replace("${" + deepKey + "}", String.valueOf(deepEntry.getValue()));
                                    }
                                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SecureKeyManager.java

                    try {
                        ((Destroyable) key).destroy();
                    } catch (DestroyFailedException e) {
                        log.warn("Failed to destroy key for session {}: {}", entry.getKey(), e.getMessage());
                    }
                }
            }
            sessionKeys.clear();
    
            // Clear KeyStore entries
            if (keyStore != null) {
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    		}
    		newKey, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{
    			Name:           newKeyID,
    			AssociatedData: kmsCtx,
    		})
    		if err != nil {
    			return err
    		}
    
    		sealedKey := objectKey.Seal(newKey.Plaintext, crypto.GenerateIV(rand.Reader), crypto.S3KMS.String(), bucket, object)
    		crypto.S3KMS.CreateMetadata(metadata, newKey.KeyID, newKey.Ciphertext, sealedKey, cryptoCtx)
    		return nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

                KerberosCredentials credentials = new KerberosCredentials(LOGIN_CONTEXT_NAME);
                KerberosKey foundKey = credentials.getKey(KEY_TYPE_1);
                assertNotNull(foundKey);
                assertEquals(key1, foundKey);
            }
        }
    
        /**
         * Test getKey method when the requested key type does not exist.
         *
         * @throws LoginException if login fails.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top