Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setKeyRotationBytesLimit (2.47 sec)

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

                    encKey, decKey, sessionKey, preauthHash);
    
            // When - Set very low rotation limits to trigger rotation
            context.setKeyRotationBytesLimit(100); // Rotate after 100 bytes
    
            // Encrypt first message - should work
            byte[] plaintext1 = "Message before rotation".getBytes();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            return rotationCount;
        }
    
        /**
         * Set the key rotation bytes limit
         *
         * @param limit number of bytes to encrypt before rotating keys
         */
        public void setKeyRotationBytesLimit(long limit) {
            this.keyRotationBytesLimit = limit;
        }
    
        /**
         * Set the key rotation time limit
         *
         * @param limit time in milliseconds before rotating keys
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top