- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 148 for 0x02 (0.01 sec)
-
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
void testSizeWithMultipleHashAlgosAndSalt() { int[] hashAlgos = { 0x01, 0x02, 0x03 }; byte[] salt = { 0x01, 0x02, 0x03, 0x04, 0x05 }; PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt); assertEquals(15, context.size()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
private byte[] testMacSigningKey; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testMacSigningKey = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; } @Test @DisplayName("Test constructor with MAC signing key and bypass flag") void testConstructorWithBypass() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
private SmbNegotiation negotiation; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testRequestBuffer = new byte[] { 0x01, 0x02, 0x03, 0x04 }; testResponseBuffer = new byte[] { 0x05, 0x06, 0x07, 0x08 }; negotiation = new SmbNegotiation(mockRequest, mockResponse, testRequestBuffer, testResponseBuffer); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java
void testRpcPtResponse() { assertEquals(0x02, DcerpcConstants.RPC_PT_RESPONSE, "RPC_PT_RESPONSE should be 0x02"); } @Test @DisplayName("RPC_PT_FAULT should have correct value") void testRpcPtFault() { assertEquals(0x03, DcerpcConstants.RPC_PT_FAULT, "RPC_PT_FAULT should be 0x03"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
context = new PreauthIntegrityNegotiateContext(); byte[] buffer = new byte[] { 0x02, 0x00, // 2 hash algos 0x04, 0x00, // 4 bytes salt 0x01, 0x00, // SHA512 0x02, 0x00, // Another hash algo 0x0A, 0x0B, 0x0C, 0x0D // Salt }; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
void testSmbFlags() { assertEquals(0x00, SmbConstants.FLAGS_NONE); assertEquals(0x01, SmbConstants.FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK); assertEquals(0x02, SmbConstants.FLAGS_RECEIVE_BUFFER_POSTED); assertEquals(0x08, SmbConstants.FLAGS_PATH_NAMES_CASELESS); assertEquals(0x10, SmbConstants.FLAGS_PATH_NAMES_CANONICALIZED); assertEquals(0x20, SmbConstants.FLAGS_OPLOCK_REQUESTED_OR_GRANTED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
// Bit 2: active (1) // Bit 1: permanent (1) // MAC address byte[] testMac = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; System.arraycopy(testMac, 0, src, srcIndex + 19, 6); // Statistics byte[] stats = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; System.arraycopy(stats, 0, src, srcIndex + 25, 6); response.readRDataWireFormat(src, srcIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ int FLAGS_NONE = 0x00; /** * Obsolete lock and read/write and unlock flag. */ int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01; /** * Receive buffer has been posted flag. */ int FLAGS_RECEIVE_BUFFER_POSTED = 0x02; /** * Path names are case-insensitive flag. */ int FLAGS_PATH_NAMES_CASELESS = 0x08; /** * Path names are canonicalized flag.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_KRB, OID_NTLM }; int flags = NegTokenInit.DELEGATION | NegTokenInit.INTEGRITY; byte[] mechToken = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 }; byte[] mic = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC }; NegTokenInit original = new NegTokenInit(mechs, flags, mechToken, mic);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)