- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for initializeSession (0.11 sec)
-
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
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"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0)