Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testKeyRotation (2.33 sec)

  1. src/test/java/jcifs/util/SecureKeyManagerTest.java

            }
        }
    
        @Test
        public void testSecureWipeNull() {
            // Should not throw
            SecureKeyManager.secureWipe(null);
        }
    
        @Test
        public void testKeyRotation() throws GeneralSecurityException {
            String sessionId = "rotation-test";
            keyManager.storeSessionKey(sessionId, testKey, "AES");
    
            // Initial version should be 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertDoesNotThrow(() -> context.close());
    
            // Cleanup
            keyManager.close();
        }
    
        @Test
        @DisplayName("Should rotate keys successfully")
        void testKeyRotation() throws Exception {
            // Given
            Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311,
    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