Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getNTResponse (1.33 sec)

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

                    NtlmFlags.NTLMSSP_NEGOTIATE_NTLM);
    
            // Then
            assertNotNull(type3.getLMResponse());
            assertNotNull(type3.getNTResponse());
            assertTrue(type3.getLMResponse().length > 0);
            assertTrue(type3.getNTResponse().length > 0);
        }
    
        @Test
        @DisplayName("Should handle Unicode strings")
        void testUnicodeStrings() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

            switch (LM_COMPATIBILITY) {
            case 0:
            case 1:
                setLMResponse(getLMResponse(type2, password));
                setNTResponse(getNTResponse(type2, password));
                break;
            case 2:
                final byte[] nt = getNTResponse(type2, password);
                setLMResponse(nt);
                setNTResponse(nt);
                break;
            case 3:
            case 4:
            case 5:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type3Message.java

         * @throws GeneralSecurityException if a cryptographic error occurs
         */
        public static byte[] getNTResponse(final CIFSContext tc, final Type2Message type2, final String password)
                throws GeneralSecurityException {
            if (password == null) {
                return null;
            }
            return getNTResponse(tc, type2, NtlmUtil.getNTHash(password));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmSsp.java

                    byte[] lmResponse = type3.getLMResponse();
                    if (lmResponse == null) {
                        lmResponse = new byte[0];
                    }
                    byte[] ntResponse = type3.getNTResponse();
                    if (ntResponse == null) {
                        ntResponse = new byte[0];
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmSsp.java

                    byte[] lmResponse = type3.getLMResponse();
                    if (lmResponse == null) {
                        lmResponse = new byte[0];
                    }
                    byte[] ntResponse = type3.getNTResponse();
                    if (ntResponse == null) {
                        ntResponse = new byte[0];
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top