- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for initializeSession (0.09 seconds)
-
src/main/java/jcifs/smb/PreauthIntegrityService.java
* @param hashAlgorithm the selected hash algorithm * @return the created context * @throws CIFSException if initialization fails */ public PreauthIntegrityContext initializeSession(String sessionId, byte[] salt, int hashAlgorithm) throws CIFSException { if (sessionId == null || sessionId.isEmpty()) { throw new CIFSException("Session ID cannot be null or empty"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
public void testInvalidSessionIdHandling() { assertThrows(CIFSException.class, () -> { preauthService.initializeSession(null, new byte[32], PreauthIntegrityService.HASH_ALGO_SHA512); }); assertThrows(CIFSException.class, () -> { preauthService.initializeSession("", new byte[32], PreauthIntegrityService.HASH_ALGO_SHA512); }); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0)