Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for writeSecurityBuffer (0.11 seconds)

  1. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                int offset = 64;
                writeSecurityBuffer(type3, 12, offset, lmResponse);
                offset += lmLength;
                writeSecurityBuffer(type3, 20, offset, ntResponse);
                offset += ntLength;
                writeSecurityBuffer(type3, 28, offset, domain);
                offset += domainLength;
                writeSecurityBuffer(type3, 36, offset, user);
                offset += userLength;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/ntlmssp/Type2Message.java

            pos += NTLMSSP_SIGNATURE.length;
    
            writeULong(type2, pos, NTLMSSP_TYPE2);
            pos += 4;
    
            // TargetNameFields
            final int targetNameOff = writeSecurityBuffer(type2, pos, targetBytes);
            pos += 8;
    
            writeULong(type2, pos, flags);
            pos += 4;
    
            // ServerChallenge
            final byte[] challengeBytes = getChallenge();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/ntlmssp/Type3Message.java

            pos += 4;
    
            final int lmOff = writeSecurityBuffer(type3, 12, lmResponseBytes);
            pos += 8;
            final int ntOff = writeSecurityBuffer(type3, 20, ntResponseBytes);
            pos += 8;
            final int domOff = writeSecurityBuffer(type3, 28, domainBytes);
            pos += 8;
            final int userOff = writeSecurityBuffer(type3, 36, userBytes);
            pos += 8;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        void testWriteSecurityBuffer() {
            // Test writeSecurityBuffer
            byte[] dest = new byte[8]; // Enough for length, max_length, offset
            byte[] src = "Test".getBytes();
    
            // Test with non-null source array
            int nextOffset = NtlmMessage.writeSecurityBuffer(dest, 0, src);
            assertEquals(4, nextOffset, "Should return correct next offset.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                System.arraycopy(NTLMSSP_SIGNATURE, 0, type2, 0, 8);
                writeULong(type2, 8, 2);
                writeSecurityBuffer(type2, 12, data, target);
                writeULong(type2, 20, flags);
                System.arraycopy(challenge != null ? challenge : new byte[8], 0, type2, 24, 8);
                if (context != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top