- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for wipes (0.49 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
passwordField.setAccessible(true); // Verify password exists before wipe char[] passwordBefore = (char[]) passwordField.get(authenticator); assertNotNull(passwordBefore, "Password should exist before wipe"); assertArrayEquals(testPassword.toCharArray(), passwordBefore, "Password should match before wipe"); // Wipe the password authenticator.secureWipePassword();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
if (index == threadCount - 1) { // Last thread wipes password auth.secureWipePassword(); } else { // Other threads try to read password String pwd = auth.getPassword(); // Password might be null if already wiped assertTrue(pwd == null || pwd.equals("ConcurrentPass123!"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
} /** * Securely wipes the password from memory */ public void secureWipePassword() { if (this.password != null) { // Multi-pass secure wipe of password char array Arrays.fill(this.password, '\0'); Arrays.fill(this.password, '\uFFFF');Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// When context.secureWipeKeys(); // Then - keys should be wiped (we can't directly access them, but method should complete) assertDoesNotThrow(() -> context.secureWipeKeys(), "Should handle multiple wipe calls"); } @Test @DisplayName("Should detect when key rotation is needed based on bytes encrypted")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
/** * Close the encryption context and securely wipe keys */ @Override public void close() { if (closed) { return; } try { secureWipeKeys(); // Clear session ID sessionId = null; log.debug("Encryption context closed and keys wiped"); } finally { closed = true;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
} /** * Remove and securely wipe a session key * * @param sessionId unique session identifier */ public void removeSessionKey(String sessionId) { checkNotClosed(); // Remove from memory maps SecretKey secretKey = sessionKeys.remove(sessionId); byte[] rawKey = rawKeys.remove(sessionId); // Wipe the raw key bytes if (rawKey != null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
if (this.closed) { throw new IllegalStateException("SigningDigest is closed"); } if (this.signingKey == null) { throw new IllegalStateException("Signing key has been wiped"); } Mac m; if (this.provider != null) { m = Mac.getInstance(this.algorithmName, this.provider); } else { m = Mac.getInstance(this.algorithmName);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeOutputStream.java
*/ package jcifs.smb; import jcifs.CIFSException; /** * Output stream for writing to SMB named pipes. * * This class provides a stream-based interface for writing * data to SMB named pipes over the network. * * @author mbechler */ public class SmbPipeOutputStream extends SmbFileOutputStream { private final SmbPipeHandleImpl handle; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
* <code>WriteFile</code>, and <code>CloseFile</code> interface was * being used. * </td> * </tr> * </table> * * <p> * See <a href="../../../pipes.html">Using jCIFS to Connect to Win32 * Named Pipes</a> for a detailed description of how to use jCIFS with * Win32 Named Pipe server processes. * */ public class SmbNamedPipe extends SmbFile implements SmbPipeResource {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0)