Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 324 for 0x08 (0.19 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        void testSubcommandConstants() {
            // Test Trans2 subcommands
            assertEquals((byte) 0x01, SmbComTransaction.TRANS2_FIND_FIRST2);
            assertEquals((byte) 0x02, SmbComTransaction.TRANS2_FIND_NEXT2);
            assertEquals((byte) 0x03, SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
            assertEquals((byte) 0x05, SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacMacTest.java

            // 64-fold("012345")
            verifyNfold("012345", 8,
                    new byte[] { (byte) 0xbe, (byte) 0x07, (byte) 0x26, (byte) 0x31, (byte) 0x27, (byte) 0x6b, (byte) 0x19, (byte) 0x55 });
    
            // 56-fold("password")
            verifyNfold("password", 7,
                    new byte[] { (byte) 0x78, (byte) 0xa0, (byte) 0x7b, (byte) 0x6c, (byte) 0xaf, (byte) 0x85, (byte) 0xfa });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ACE.java

         * Inheritance flag: child objects inherit this ACE
         */
        int FLAGS_OBJECT_INHERIT = 0x01;
        /**
         * Inheritance flag: child containers inherit this ACE
         */
        int FLAGS_CONTAINER_INHERIT = 0x02;
        /**
         * Inheritance flag: inheritance stops after one level
         */
        int FLAGS_NO_PROPAGATE = 0x04;
        /**
         * Inheritance flag: ACE applies only to children, not to the object itself
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            byte[] wireData = new byte[] { 0x10, 0x00, // StructureSize (must be 16)
                    0x01, // ShareType (DISK)
                    0x00, // Reserved
                    0x01, 0x00, 0x00, 0x00, // ShareFlags
                    0x08, 0x00, 0x00, 0x00, // Capabilities
                    (byte) 0xFF, 0x01, 0x1F, 0x00 // MaximalAccess
            };
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

         */
        @Test
        @DisplayName("Test byte array fields (encryptionKey and guid)")
        public void testByteArrayFields() {
            // Test encryptionKey
            byte[] key = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            serverData.encryptionKey = key;
            assertNotNull(serverData.encryptionKey);
            assertArrayEquals(key, serverData.encryptionKey);
    
            // Test with empty array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ACE.java

            case 0x00:
                return "This folder only";
            case 0x03:
                return "This folder, subfolders and files";
            case 0x0B:
                return "Subfolders and files only";
            case 0x02:
                return "This folder and subfolders";
            case 0x0A:
                return "Subfolders only";
            case 0x01:
                return "This folder and files";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        private CommonServerMessageBlock message;
    
        private byte[] testData;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
        }
    
        @Test
        @DisplayName("Test sign method with valid parameters")
        void testSignWithValidParameters() {
            // Arrange
            int offset = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                buffer[0] = 0x10;
                buffer[1] = 0x00;
                // Share type (DISK)
                buffer[2] = Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK;
                // Reserved
                buffer[3] = 0;
                // Share flags (DFS)
                buffer[4] = 0x01;
                buffer[5] = 0x00;
                buffer[6] = 0x00;
                buffer[7] = 0x00;
                // Capabilities (DFS)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

        class ToStringTests {
    
            @ParameterizedTest
            @DisplayName("Should format command name correctly")
            @ValueSource(shorts = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11,
                    0x12 })
            void testToStringCommandNames(short command) {
                testMessage.setCommand(command);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top