Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for writeSecurityBufferContent (0.81 sec)

  1. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test writeSecurityBufferContent
            byte[] dest = new byte[20];
            byte[] src = "Content".getBytes();
            int pos = 8; // Position where content should be written
            int off = 0; // Offset where position should be written
    
            // Test with non-null source array
            int bytesWritten = NtlmMessage.writeSecurityBufferContent(dest, pos, off, src);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type3Message.java

                pos += 16;
            }
    
            pos += writeSecurityBufferContent(type3, pos, lmOff, lmResponseBytes);
            pos += writeSecurityBufferContent(type3, pos, ntOff, ntResponseBytes);
            pos += writeSecurityBufferContent(type3, pos, domOff, domainBytes);
            pos += writeSecurityBufferContent(type3, pos, userOff, userBytes);
            pos += writeSecurityBufferContent(type3, pos, wsOff, workstationBytes);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type2Message.java

                System.arraycopy(NTLMSSP_VERSION, 0, type2, pos, NTLMSSP_VERSION.length);
                pos += NTLMSSP_VERSION.length;
            }
    
            pos += writeSecurityBufferContent(type2, pos, targetNameOff, targetBytes);
            pos += writeSecurityBufferContent(type2, pos, targetInfoOff, targetInformationBytes);
    
            return type2;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type1Message.java

                    System.arraycopy(NTLMSSP_VERSION, 0, type1, pos, NTLMSSP_VERSION.length);
                    pos += NTLMSSP_VERSION.length;
                }
    
                pos += writeSecurityBufferContent(type1, pos, domOffOff, domain);
                pos += writeSecurityBufferContent(type1, pos, wsOffOff, workstation);
                return type1;
            } catch (final IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/NtlmMessage.java

                return offset + 4;
            }
            writeUShort(dest, offset, length);
            writeUShort(dest, offset + 2, length);
            return offset + 4;
        }
    
        static int writeSecurityBufferContent(final byte[] dest, final int pos, final int off, final byte[] src) {
            writeULong(dest, off, pos);
            if (src != null && src.length > 0) {
                System.arraycopy(src, 0, dest, pos, src.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)
Back to top