Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testStringConstructorWithHex (0.1 sec)

  1. src/test/java/jcifs/SIDTest.java

        }
    
        /**
         * Test constructor with a SID string containing a hex value.
         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testStringConstructorWithHex() throws SmbException {
            SID sid = new SID("S-1-0x12-21-1");
            assertEquals(1, sid.revision);
            assertEquals(0x12, sid.identifier_authority[5]);
            assertEquals(2, sid.sub_authority_count);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top