Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for securityInformation (1.57 sec)

  1. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

            super(config, NT_TRANSACT_QUERY_SECURITY_DESC);
            this.fid = fid;
            this.securityInformation = securityInformation;
            this.setupCount = 0;
            this.totalDataCount = 0;
            this.maxParameterCount = 4;
            this.maxDataCount = 65536;
            this.maxSetupCount = (byte) 0x00;
        }
    
        @Override
        public int getPadding() {
            return 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

         */
        private static byte[] expectedParameters(int fid, int securityInformation) {
            ByteBuffer bb = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
            bb.putShort((short) fid);
            bb.put((byte) 0x00); // Reserved
            bb.put((byte) 0x00); // Reserved
            bb.putInt(securityInformation);
            return bb.array();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDesc.java

    import jcifs.smb1.util.Hexdump;
    
    class NtTransQuerySecurityDesc extends SmbComNtTransaction {
    
        int fid;
        int securityInformation;
    
        NtTransQuerySecurityDesc(final int fid, final int securityInformation) {
            this.fid = fid;
            this.securityInformation = securityInformation;
            command = SMB_COM_NT_TRANSACT;
            function = NT_TRANSACT_QUERY_SECURITY_DESC;
            setupCount = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertEquals(0x1111, desc1.fid);
            assertEquals(OWNER_SECURITY_INFORMATION, desc1.securityInformation);
    
            assertEquals(0x2222, desc2.fid);
            assertEquals(GROUP_SECURITY_INFORMATION, desc2.securityInformation);
    
            assertEquals(0x3333, desc3.fid);
            assertEquals(DACL_SECURITY_INFORMATION, desc3.securityInformation);
    
            // Verify writing doesn't affect other instances
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top