- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testReadSecurityBuffer (0.22 sec)
-
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readULong(a, 0)); } @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);
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/test/java/jcifs/ntlmssp/NtlmMessageTest.java
buffer.putShort(0, (short) -1); // -1 is 0xFFFF assertEquals(0xFFFF, NtlmMessage.readUShort(data, 0), "Should interpret -1 as unsigned max UShort."); } @Test void testReadSecurityBuffer() { // Test readSecurityBuffer byte[] data = new byte[20]; byte[] content = "Hello".getBytes();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)