Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getSupportedHashAlgorithms (0.55 seconds)

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

        }
    
        /**
         * Gets the list of supported hash algorithms.
         *
         * @return array of supported algorithms
         */
        public int[] getSupportedHashAlgorithms() {
            return new int[] { HASH_ALGO_SHA512 };
        }
    
        /**
         * Gets the selected hash algorithm.
         *
         * @return the hash algorithm
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            assertFalse(preauthService.isHashAlgorithmSupported(0xFF)); // Unsupported
    
            int[] supported = preauthService.getSupportedHashAlgorithms();
            assertNotNull(supported);
            assertEquals(1, supported.length);
            assertEquals(PreauthIntegrityService.HASH_ALGO_SHA512, supported[0]);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top