- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getKeyRotationCount (0.66 seconds)
-
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
} /** * Get the current key rotation count * * @return number of times keys have been rotated */ public int getKeyRotationCount() { return rotationCount; } /** * Set the key rotation bytes limit * * @param limit number of bytes to encrypt before rotating keys */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 35.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
byte[] encrypted2 = assertDoesNotThrow(() -> context.encryptMessage(largeMessage, 2L)); assertNotNull(encrypted2); // Verify rotation occurred by checking metrics assertTrue(context.getKeyRotationCount() > 0, "Key rotation should have occurred"); // Can still encrypt after rotation byte[] plaintext3 = "Message after rotation".getBytes();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0)