Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 99 for 0x4004 (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Testing invalid protocol ID during decode instead
            byte[] invalidBuffer = new byte[52];
            // Write invalid protocol ID
            invalidBuffer[0] = 0x00;
            invalidBuffer[1] = 0x00;
            invalidBuffer[2] = 0x00;
            invalidBuffer[3] = 0x00;
    
            assertThrows(IllegalArgumentException.class, () -> {
                Smb2TransformHeader.decode(invalidBuffer, 0);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

         */
        public static final int DFS_VOLUME_FLAVOR_STANDALONE = 0x100;
        /**
         * DFS volume flavor indicating Active Directory blob storage
         */
        public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200;
        /**
         * DFS storage state indicating offline status
         */
        public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001;
        /**
         * DFS storage state indicating online status
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertTrue(s.contains(",informationLevel=0x104"), "toString should include information level 0x104");
            assertTrue(s.contains(",resumeKey=0x0304"), "toString should include lower 16-bit resumeKey hex");
            assertTrue(s.contains(",flags=0x00"), "toString should include flags in hex");
            assertTrue(s.endsWith("]"), "toString should end with closing bracket");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         */
        public static final int CIPHER_AES_256_CCM = 0x0003;
        /**
         * AES-256-GCM cipher identifier for SMB3.1.1 encryption (future support)
         */
        public static final int CIPHER_AES_256_GCM = 0x0004;
    
        /**
         * Transform header flag indicating the message is encrypted
         */
        public static final int TRANSFORM_FLAG_ENCRYPTED = 0x0001;
    
        /**
         * Create encryption context
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals(0x40, Smb2CreateRequest.FILE_NON_DIRECTORY_FILE);
            assertEquals(0x100, Smb2CreateRequest.FILE_COMPLETE_IF_OPLOCKED);
            assertEquals(0x200, Smb2CreateRequest.FILE_NO_EA_KNOWLEDGE);
            assertEquals(0x400, Smb2CreateRequest.FILE_OPEN_REMOTE_INSTANCE);
            assertEquals(0x800, Smb2CreateRequest.FILE_RANDOM_ACCESS);
            assertEquals(0x1000, Smb2CreateRequest.FILE_DELETE_ON_CLOSE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                getResultMessageMethod.setAccessible(true);
    
                assertEquals("0x0004", getResultMessageMethod.invoke(null, 4), "Should return hex format for unknown code 4");
                assertEquals("0x00FF", getResultMessageMethod.invoke(null, 255), "Should return hex format for unknown code 255");
                assertEquals("0x1000", getResultMessageMethod.invoke(null, 4096), "Should return hex format for large unknown code");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

                testGuid[i] = (byte) (i + 1);
            }
            System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16);
    
            // Set security mode (2 bytes)
            int testSecurityMode = 0x0003;
            SMBUtil.writeInt2(testSecurityMode, buffer, bufferIndex + 20);
    
            // Set dialect (2 bytes)
            int testDialect = 0x0311;
            SMBUtil.writeInt2(testDialect, buffer, bufferIndex + 22);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                    // For domain: Type 0x0002 (NetBIOS Domain Name)
                    // For server: Type 0x0001 (NetBIOS Computer Name)
    
                    // Verify domain part
                    assertEquals(2, Type2Message.readUShort(targetInfo, 0)); // Type 0x0002
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            buffer[offset + 3] = 0x00;
            buffer[offset + 4] = 0x00;
            buffer[offset + 5] = 0x00;
            buffer[offset + 6] = 0x00;
            buffer[offset + 7] = 0x01;
            // Sub-authority
            SMBUtil.writeInt4(0, buffer, offset + 8);
        }
    
        private void prepareDaclHeader(byte[] buffer, int offset, int aceCount) {
            buffer[offset] = 0x02; // revision
            buffer[offset + 1] = 0x00; // padding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * Access to the file is random
         */
        public static final int FILE_RANDOM_ACCESS = 0x800;
        /**
         * Delete the file when the last handle to it is closed
         */
        public static final int FILE_DELETE_ON_CLOSE = 0x1000;
        /**
         * Open file by its file ID
         */
        public static final int FILE_OPEN_BY_FILE_ID = 0x2000;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top