Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for toHexString (0.04 sec)

  1. src/main/java/jcifs/smb/NtlmContext.java

                log.debug("Sign key is " + Hexdump.toHexString(this.signKey));
                log.debug("Verify key is " + Hexdump.toHexString(this.verifyKey));
            }
    
            this.sealClientKey = deriveKey(mk, C2S_SEAL_CONSTANT);
            this.sealClientHandle = Crypto.getArcfour(this.sealClientKey);
            if (log.isDebugEnabled()) {
                log.debug("Seal key is " + Hexdump.toHexString(this.sealClientKey));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HexdumpTest.java

            assertEquals("00000000", Hexdump.toHexString(0, 8));
            assertEquals("000000FF", Hexdump.toHexString(255, 8));
            assertEquals("00001000", Hexdump.toHexString(4096, 8));
            assertEquals("FFFFFFFF", Hexdump.toHexString(-1, 8));
    
            // Test different sizes
            assertEquals("00", Hexdump.toHexString(0, 2));
            assertEquals("FF", Hexdump.toHexString(255, 2));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HexdumpTest.java

            // Test zero
            assertEquals("00000000", Hexdump.toHexString(0, 8));
            assertEquals("0000", Hexdump.toHexString(0, 4));
            assertEquals("00", Hexdump.toHexString(0, 2));
    
            // Test positive values
            assertEquals("000000FF", Hexdump.toHexString(255, 8));
            assertEquals("00FF", Hexdump.toHexString(255, 4));
            assertEquals("FF", Hexdump.toHexString(255, 2));
    
            // Test larger values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

                    + Hexdump.toHexString(desiredAccess, 4) + ",searchAttributes=0x" + Hexdump.toHexString(searchAttributes, 4)
                    + ",fileAttributes=0x" + Hexdump.toHexString(fileAttributes, 4) + ",creationTime=" + new Date(creationTime)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            String str = notifyChange.toString();
            assertTrue(str.contains("NtTransNotifyChange"));
            assertTrue(str.contains("fid=0x" + Hexdump.toHexString(fid, 4)));
            assertTrue(str.contains("filter=0x" + Hexdump.toHexString(completionFilter, 4)));
            assertTrue(str.contains("watchTree=" + watchTree));
        }
    
        @Test
        @DisplayName("Test constructor with watchTree enabled")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

                    + rootDirectoryFid + ",desiredAccess=0x" + Hexdump.toHexString(desiredAccess, 4) + ",allocationSize=" + allocationSize
                    + ",extFileAttributes=0x" + Hexdump.toHexString(extFileAttributes, 4) + ",shareAccess=0x"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                assertTrue(result.startsWith("NtlmChallenge[challenge=0x"));
                assertTrue(result.endsWith(",dc=SERVER123]"));
    
                // Hexdump.toHexString with size = length * 2 produces 8 uppercase hex chars
                // The hex should be "010203FF"
                assertTrue(result.contains("010203FF"));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Hexdump.java

         * @return a hexadecimal string representation of the entire byte array
         */
        public static String toHexString(final byte[] data) {
            return toHexString(data, 0, data.length);
        }
    
        /**
         * This is the same as {@link jcifs.util.Hexdump#toHexString(int val, int
         * size)} but provides a more practical form when trying to avoid {@link
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

                    + Hexdump.toHexString(this.desiredAccess, 4) + ",searchAttributes=0x" + Hexdump.toHexString(this.searchAttributes, 4)
                    + ",fileAttributes=0x" + Hexdump.toHexString(this.fileAttributes, 4) + ",creationTime=" + new Date(this.creationTime)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

                    + this.rootDirectoryFid + ",desiredAccess=0x" + Hexdump.toHexString(this.desiredAccess, 4) + ",allocationSize="
                    + this.allocationSize + ",extFileAttributes=0x" + Hexdump.toHexString(this.extFileAttributes, 4) + ",shareAccess=0x"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top