- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for createEncryptionContext (0.3 sec)
-
src/test/java/jcifs/smb/SmbTransportImplTest.java
} @Test @DisplayName("createEncryptionContext rejects when SMB2/3 not negotiated") void createEncryptionContext_rejects_noNegotiation() { assertThrows(SmbUnsupportedOperationException.class, () -> transport.createEncryptionContext(new byte[] { 1 }, null)); } @Test @DisplayName("createEncryptionContext rejects pre-SMB3 dialect")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
} SmbTransportImpl transport = getTransport(); this.encryptionContext = transport.createEncryptionContext(this.sessionKey, this.preauthIntegrityHash); } catch (CIFSException e) { log.error("Failed to create encryption context", e);
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/main/java/jcifs/smb/SmbTransportImpl.java
* @return encryption context * @throws CIFSException if encryption is not supported or fails */ Smb2EncryptionContext createEncryptionContext(final byte[] sessionKey, final byte[] preauthHash) throws CIFSException { if (!this.smb2 || this.negotiated == null) { throw new SmbUnsupportedOperationException("SMB2/SMB3 required for encryption");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0)