Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for resetPreauthHash (0.08 sec)

  1. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            assertThrows(Exception.class, () -> {
                updateMethod.invoke(transport, testData);
            });
    
            // Verify hash was reset
            Method resetMethod = findMethod(transport.getClass(), "resetPreauthHash");
            if (resetMethod != null) {
                // Verify the reset method exists
                assertNotNull(resetMethod);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

                    resetPreauthHash();
                    throw new CIFSException("Pre-authentication integrity hash update failed", e);
                }
            }
        }
    
        /**
         * Reset the pre-authentication integrity hash to initial state.
         * This should be called on negotiation failures or security errors.
         */
        private void resetPreauthHash() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top