- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 280 for SMB2 (0.02 seconds)
-
src/main/java/jcifs/internal/smb2/Smb2Constants.java
*/ package jcifs.internal.smb2; /** * Constants for SMB2/SMB3 protocol. * * This class contains protocol-specific constants, command codes, * flags, and other values used in SMB2/SMB3 communication. * * @author mbechler */ public final class Smb2Constants { /** * */ private Smb2Constants() { } /** * SMB2 header length in bytes */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/DialectVersionTest.java
} @Test @DisplayName("Should identify SMB1 vs SMB2+ versions") void testSMBVersionIdentification() { // SMB1 should not be SMB2 assertFalse(DialectVersion.SMB1.isSMB2()); // SMB2+ versions should be identified as SMB2 assertTrue(DialectVersion.SMB202.isSMB2()); assertTrue(DialectVersion.SMB210.isSMB2());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
void isSMB2_variants() throws Exception { // 1) smb2 flag set setField(transport, "smb2", true); assertTrue(transport.isSMB2()); // 2) smb2 false but negotiated is SMB2 response setField(transport, "smb2", false); Smb2NegotiateResponse smb2 = new Smb2NegotiateResponse(cfg); setField(transport, "negotiated", smb2); assertTrue(transport.isSMB2());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
protected static final short SMB2_WRITE = 0x0009; /** SMB2 lock file command */ protected static final short SMB2_LOCK = 0x000A; /** SMB2 IO control command */ protected static final short SMB2_IOCTL = 0x000B; /** SMB2 cancel command */ protected static final short SMB2_CANCEL = 0x000C; /** SMB2 echo/keepalive command */ protected static final short SMB2_ECHO = 0x000D;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
assertTrue(result.isEmpty(), "List should be cleared"); } // Parameterized test to exercise SMB2 with different recursive and filter values @ParameterizedTest(name = "SMB2 param: recursive={0}, filter={1}") @CsvSource({ "true, 0", "false, -1" }) @DisplayName("watch() SMB2 parameterized branches execute without error") void watch_smb2_parameterized(boolean recursive, int filter) throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
*/ package jcifs.internal.smb2.persistent; import java.io.Serializable; import java.nio.ByteBuffer; import java.util.UUID; /** * Handle GUID structure for SMB2/3 durable and persistent handles. * Provides a unique identifier for each handle that can be used * for reconnection after network failures or server reboots. * * According to MS-SMB2, the GUID is a 16-byte structure with little-endian
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
/** * Constructor for SMB2 request with configuration. * * @param config the configuration object */ protected ServerMessageBlock2Request(final Configuration config) { super(config); } /** * Constructor for SMB2 request with configuration and command. * * @param config the configuration object * @param command the SMB2 command code */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
*/ package jcifs.internal.smb2.lock; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.smb2.lease.Smb2LeaseKey; import jcifs.internal.util.SMBUtil; /** * SMB2 Lease Break Response * * MS-SMB2 2.2.25 */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(handle.getPipe()).thenReturn(pipe); when(tree.isSMB2()).thenReturn(smb2); return new SmbPipeInputStream(handle, tree); } @Test @DisplayName("available() on SMB2 returns peeked byte count and interacts with tree") void available_smb2_happyPath() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
import jcifs.internal.SMBSigningDigest; import jcifs.internal.util.SMBUtil; import jcifs.util.Crypto; /** * SMB2/SMB3 message signing digest implementation. * * This class handles cryptographic signing of SMB2/SMB3 messages to ensure * message integrity and authenticity. It supports different signing algorithms * used in various SMB2/SMB3 dialect versions. * * @author mbechler */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0)