Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for securityBufferOffset (0.16 sec)

  1. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

            bufferIndex += 4;
    
            final int securityBufferOffset = SMBUtil.readInt2(buffer, bufferIndex);
            final int securityBufferLength = SMBUtil.readInt2(buffer, bufferIndex + 2);
            bufferIndex += 4;
    
            final int pad = bufferIndex - (getHeaderStart() + securityBufferOffset);
            this.blob = new byte[securityBufferLength];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            // SessionId at +40 (sync header)
            SMBUtil.writeInt8(sessionId, buf, start + 40);
        }
    
        /**
         * Build a SESSION_SETUP response body with specified flags and security blob.
         * securityBufferOffset is set relative to header start.
         */
        private void buildSessionSetupBody(byte[] buf, int headerStart, int bodyStart, int sessionFlags, int secBufOffset, byte[] blob) {
            // StructureSize (must be 9)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top