Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testConfigureKeyRotation (0.61 sec)

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

        @Test
        public void testKeyAgeNonExistent() {
            assertEquals(-1, keyManager.getKeyAge("non-existent"), "Non-existent key should return -1 for age");
        }
    
        @Test
        public void testConfigureKeyRotation() {
            // Test that configuration doesn't throw
            keyManager.configureKeyRotation(60000);
    
            // Test disabling rotation
            keyManager.configureKeyRotation(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)
Back to top