Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for deriveDecryptionKey (0.11 sec)

  1. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        void testDeriveDecryptionKey_DifferentDialects() {
            // When
            byte[] decKey300 = Smb3KeyDerivation.deriveDecryptionKey(Smb2Constants.SMB2_DIALECT_0300, sessionKey, preauthIntegrity);
            byte[] decKey311 = Smb3KeyDerivation.deriveDecryptionKey(Smb2Constants.SMB2_DIALECT_0311, sessionKey, preauthIntegrity);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            final byte[] newEncryptionKey = Smb3KeyDerivation.deriveEncryptionKey(dialectInt, modifiedSessionKey, preauthIntegrityHash);
            final byte[] newDecryptionKey = Smb3KeyDerivation.deriveDecryptionKey(dialectInt, modifiedSessionKey, preauthIntegrityHash);
    
            // Securely wipe the modified session key
            SecureKeyManager.secureWipe(modifiedSessionKey);
    
            // Rotate keys using existing method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            int dialectInt = DialectVersion.SMB311.getDialect();
            byte[] encKey = Smb3KeyDerivation.deriveEncryptionKey(dialectInt, sessionKey, preauthHash);
            byte[] decKey = Smb3KeyDerivation.deriveDecryptionKey(dialectInt, sessionKey, preauthHash);
    
            // Create context with session key for auto-rotation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top