- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getOEMBytes (0.05 sec)
-
src/test/java/jcifs/util/StringsTest.java
class OEMEncodingTests { @Test @DisplayName("getOEMBytes should use configuration encoding") void testGetOEMBytes() { // Given Configuration mockConfig = mock(Configuration.class); when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // When byte[] result = Strings.getOEMBytes(TEST_STRING, mockConfig); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
throws GeneralSecurityException { final byte[] p14 = new byte[14]; final byte[] p21 = new byte[21]; final byte[] p24 = new byte[24]; final byte[] passwordBytes = Strings.getOEMBytes(password, tc.getConfig()); int passwordLength = passwordBytes.length; // Only encrypt the first 14 bytes of the password for Pre 0.12 NT LM if (passwordLength > 14) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
byte[] filenameBytes = Strings.getUNIBytes(filename); System.arraycopy(filenameBytes, 0, buffer, 94, filenameBytes.length); } else { byte[] filenameBytes = Strings.getOEMBytes(filename, mockConfig); System.arraycopy(filenameBytes, 0, buffer, 94, filenameBytes.length); } return buffer; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0)