- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for writeSecurityBuffer (0.15 sec)
-
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.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
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();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0) -
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) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0)