Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for userBytes (0.12 sec)

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

                size += domainBytes.length;
            }
    
            final String userName = getUser();
            byte[] userBytes = null;
            if (userName != null && userName.length() != 0) {
                userBytes = unicode ? userName.getBytes(UNI_ENCODING) : userName.toUpperCase().getBytes(oemCp);
                size += userBytes.length;
            }
    
            final String workstationName = getWorkstation();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmSspTest.java

                message[112 + i * 2 + 1] = 0;
            }
    
            // Add User "user" in Unicode at offset 124
            String user = "user";
            byte[] userBytes = user.getBytes();
            for (int i = 0; i < userBytes.length; i++) {
                message[124 + i * 2] = userBytes[i];
                message[124 + i * 2 + 1] = 0;
            }
    
            // Add Workstation "WORKSTATION" in Unicode at offset 132
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top