Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for configureKeyRotation (0.47 sec)

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

        @Test
        public void testConfigureKeyRotation() {
            // Test that configuration doesn't throw
            keyManager.configureKeyRotation(60000);
    
            // Test disabling rotation
            keyManager.configureKeyRotation(0);
    
            // Test reconfiguring
            keyManager.configureKeyRotation(30000);
        }
    
        @Test
        public void testConcurrentKeyOperations() throws InterruptedException {
    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/main/java/jcifs/util/SecureKeyManager.java

        /**
         * Configure key rotation interval
         *
         * @param intervalMillis rotation interval in milliseconds
         */
        public void configureKeyRotation(long intervalMillis) {
            this.keyRotationIntervalMillis = intervalMillis;
    
            // Cancel existing rotation task if any
            if (rotationTask != null) {
                rotationTask.cancel(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top