Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testConfigureKeyRotation (0.11 seconds)

  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);
    
    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)
Back to Top