- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for rotate3d (3.36 sec)
-
src/main/java/jcifs/util/SecureKeyManager.java
try { rotateSessionKey(sessionId); rotated++; } catch (Exception e) { log.warn("Failed to rotate key for session: {}", sessionId, e); } } } log.info("Force rotated {} keys", rotated); return rotated; } /** * Clean up old archived key versions *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
for (int i = 0; i < 3; i++) { keyManager.storeSessionKey("session-" + i, testKey, "AES"); } // Force rotate all int rotated = keyManager.forceRotateAllKeys(); assertEquals(3, rotated, "Should rotate 3 keys"); // Verify all keys were rotated for (int i = 0; i < 3; i++) { assertEquals(1, keyManager.getKeyVersion("session-" + i), "Key version should be 1");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
if (closed) { throw new IllegalStateException("Cannot rotate keys on closed context"); } log.info("Rotating encryption keys for session: {}", sessionId); if (keyManager != null) { // Rotate keys in SecureKeyManager String encKeyId = sessionId + "-enc"; String decKeyId = sessionId + "-dec";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Should be idempotent 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
public class ChannelLoadBalancer { private final ChannelManager manager; private LoadBalancingStrategy strategy; public enum LoadBalancingStrategy { ROUND_ROBIN, // Rotate through channels LEAST_LOADED, // Select least busy channel WEIGHTED_RANDOM, // Random selection weighted by score AFFINITY_BASED, // Stick to same channel for related operationsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0)