FileDocCategorySizeDatePackage
NtTransQuerySecurityDesc.javaAPI DocJCIFS 1.3.17 API2574Tue Oct 18 15:26:24 BST 2011jcifs.smb

NtTransQuerySecurityDesc

public class NtTransQuerySecurityDesc extends SmbComNtTransaction

Fields Summary
int
fid
int
securityInformation
Constructors Summary
NtTransQuerySecurityDesc(int fid, int securityInformation)

        this.fid = fid;
        this.securityInformation = securityInformation;
        command = SMB_COM_NT_TRANSACT;
        function = NT_TRANSACT_QUERY_SECURITY_DESC;
        setupCount = 0;
        totalDataCount = 0;
        maxParameterCount = 4;
        maxDataCount = 32768;
        maxSetupCount = (byte)0x00;
    
Methods Summary
intreadDataWireFormat(byte[] buffer, int bufferIndex, int len)

        return 0;
    
intreadParametersWireFormat(byte[] buffer, int bufferIndex, int len)

        return 0;
    
intreadSetupWireFormat(byte[] buffer, int bufferIndex, int len)

        return 0;
    
public java.lang.StringtoString()

        return new String( "NtTransQuerySecurityDesc[" + super.toString() +
            ",fid=0x" + Hexdump.toHexString( fid, 4 ) +
            ",securityInformation=0x" + Hexdump.toHexString( securityInformation, 8 ) + "]" );
    
intwriteDataWireFormat(byte[] dst, int dstIndex)

        return 0;
    
intwriteParametersWireFormat(byte[] dst, int dstIndex)

        int start = dstIndex;

        writeInt2( fid, dst, dstIndex );
        dstIndex += 2;
        dst[dstIndex++] = (byte)0x00; // Reserved
        dst[dstIndex++] = (byte)0x00; // Reserved
        writeInt4( securityInformation, dst, dstIndex );
        dstIndex += 4;

        return dstIndex - start;
    
intwriteSetupWireFormat(byte[] dst, int dstIndex)

        return 0;