Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for resetKeyRotationTracking (0.91 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            }
    
            return needsRotation;
        }
    
        /**
         * Reset key rotation tracking after new keys are established
         */
        public void resetKeyRotationTracking() {
            bytesEncrypted.set(0);
            encryptionStartTime = System.currentTimeMillis();
            log.debug("Key rotation tracking reset");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Given
            Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
    
            // When
            context.resetKeyRotationTracking();
    
            // Then
            assertFalse(context.needsKeyRotation(), "Should not need rotation after reset");
        }
    
        @Test
    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