- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for encryptionContext (0.88 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Given int originalCipherId = encryptionContext.getCipherId(); DialectVersion originalDialect = encryptionContext.getDialect(); // When - Modify the original key array testEncryptionKey[0] = (byte) ~testEncryptionKey[0]; // Then - Context should not be affected by external modifications assertEquals(originalCipherId, encryptionContext.getCipherId(), "Cipher ID should remain unchanged");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
// Set encryption context and verify delegation Smb2EncryptionContext enc = mock(Smb2EncryptionContext.class); setField(session, "encryptionContext", enc); setField(session, "sessionId", 99L); when(enc.encryptMessage(any(byte[].class), eq(99L))).thenReturn(new byte[] { 9, 9 });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)