- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for encryptionContext (0.18 seconds)
-
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");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (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 });Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0)