- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for readSecurityBuffer (0.91 sec)
-
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
} @Test @DisplayName("readSecurityBuffer correctly extracts data") void testReadSecurityBuffer() { byte[] buf = new byte[8 + 4]; byte[] payload = { 0x11, 0x22, 0x33, 0x44 }; NtlmMessage.writeSecurityBuffer(buf, 0, 8, payload); byte[] extracted = NtlmMessage.readSecurityBuffer(buf, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
final byte[] domain = readSecurityBuffer(material, 16); suppliedDomain = new String(domain, getOEMEncoding()); } String suppliedWorkstation = null; if ((flags & NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED) != 0) { final byte[] workstation = readSecurityBuffer(material, 24);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
final byte[] domain = readSecurityBuffer(material, pos); setSuppliedDomain(new String(domain, getOEMEncoding())); } pos += 8; if ((flags & NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED) != 0) { final byte[] workstation = readSecurityBuffer(material, pos); setSuppliedWorkstation(new String(workstation, getOEMEncoding()));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java
} static int readUShort(final byte[] src, final int index) { return src[index] & 0xff | (src[index + 1] & 0xff) << 8; } static byte[] readSecurityBuffer(final byte[] src, final int index) { final int length = readUShort(src, index); final int offset = readULong(src, index + 4); final byte[] buffer = new byte[length];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmMessage.java
} static int readUShort(final byte[] src, final int index) { return src[index] & 0xff | (src[index + 1] & 0xff) << 8; } static byte[] readSecurityBuffer(final byte[] src, final int index) { final int length = readUShort(src, index); final int offset = readULong(src, index + 4); final byte[] buffer = new byte[length];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0)