Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testKeyRotation (0.09 seconds)

  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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (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,
    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)
Back to Top