Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for 0x0202 (0.03 sec)

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

            void testDialectAny() {
                assertEquals(0x02FF, Smb2Constants.SMB2_DIALECT_ANY, "SMB dialect ANY must be 0x02FF");
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 })
            @DisplayName("All specific dialects should be greater than or equal to SMB 2.0.2")
            void testDialectVersionProgression(int dialect) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

                defaultClientGuid[i] = (byte) (i + 1);
            }
    
            // Initialize default dialects
            defaultDialects = new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 };
        }
    
        @Test
        @DisplayName("Test constructor with valid parameters")
        void testConstructor() {
            ValidateNegotiateInfoRequest request =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         */
        public static final int SMB2_NEGOTIATE_SIGNING_ENABLED = 0x0001;
    
        /**
         * SMB2 negotiate flag indicating signing is required
         */
        public static final int SMB2_NEGOTIATE_SIGNING_REQUIRED = 0x0002;
    
        /**
         * SMB 2.0.2 dialect (Windows Vista/Server 2008)
         */
        public static final int SMB2_DIALECT_0202 = 0x0202;
    
        /**
         * SMB 2.1 dialect (Windows 7/Server 2008R2)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

                    Arguments.of(DialectVersion.SMB202, DialectVersion.SMB210, new int[] { 0x0202, 0x0210 }),
                    Arguments.of(DialectVersion.SMB210, DialectVersion.SMB300, new int[] { 0x0210, 0x0300 }),
                    Arguments.of(DialectVersion.SMB202, DialectVersion.SMB311, new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 }),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. README.md

    **Supported Protocols:**
    - **SMB1/CIFS**: Legacy support via `jcifs.smb1/` package
    - **SMB 2.0.2**: Windows Vista+ (0x0202)
    - **SMB 2.1**: Windows 7/Server 2008R2 (0x0210)
    - **SMB 3.0**: Windows 8/Server 2012 (0x0300) - AES-128-CCM encryption
    - **SMB 3.0.2**: Windows 8.1/Server 2012R2 (0x0302) - Enhanced encryption
    - **SMB 3.1.1**: Windows 10/Server 2016+ (0x0311) - AES-128-GCM + Pre-Auth Integrity
    
    **Protocol Selection:**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Set test values
            int testCapabilities = 0xABCDEF00;
            byte[] testGuid = new byte[16];
            Arrays.fill(testGuid, (byte) 0xFF);
            int testSecurityMode = 0x0001;
            int testDialect = 0x0202;
    
            // Write to buffer
            SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex);
            System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            }
        }
    
        private static Stream<Arguments> provideDialectVersions() {
            return Stream.of(Arguments.of(0x0202, DialectVersion.SMB202, true), Arguments.of(0x0210, DialectVersion.SMB210, true),
                    Arguments.of(0x0300, DialectVersion.SMB300, true), Arguments.of(0x0302, DialectVersion.SMB302, true),
                    Arguments.of(0x0311, DialectVersion.SMB311, true), Arguments.of(0xFFFF, null, false), // SMB2_DIALECT_ANY
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int FLAGS2_UNICODE = 0x8000;
    
        /** No capabilities */
        int CAP_NONE = 0x0000;
        /** Raw mode capability */
        int CAP_RAW_MODE = 0x0001;
        /** MPX mode capability */
        int CAP_MPX_MODE = 0x0002;
        /** Unicode capability */
        int CAP_UNICODE = 0x0004;
        /** Large files capability */
        int CAP_LARGE_FILES = 0x0008;
        /** NT SMBs capability */
        int CAP_NT_SMBS = 0x0010;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbConstants.java

         * No capabilities.
         */
        int CAP_NONE = 0x0000;
        /**
         * Raw mode transfers are supported capability.
         */
        int CAP_RAW_MODE = 0x0001;
        /**
         * Multiplex mode is supported capability.
         */
        int CAP_MPX_MODE = 0x0002;
        /**
         * Unicode strings are supported capability.
         */
        int CAP_UNICODE = 0x0004;
        /**
         * Large files are supported capability.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbConstantsTest.java

        void testSmbFlags2() {
            assertEquals(0x0000, SmbConstants.FLAGS2_NONE);
            assertEquals(0x0001, SmbConstants.FLAGS2_LONG_FILENAMES);
            assertEquals(0x0002, SmbConstants.FLAGS2_EXTENDED_ATTRIBUTES);
            assertEquals(0x0004, SmbConstants.FLAGS2_SECURITY_SIGNATURES);
            assertEquals(0x0010, SmbConstants.FLAGS2_SECURITY_REQUIRE_SIGNATURES);
            assertEquals(0x0800, SmbConstants.FLAGS2_EXTENDED_SECURITY_NEGOTIATION);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top