- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for wiped (0.02 sec)
-
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
} } assertTrue(hasNonZero, "Data should have non-zero bytes"); SecureKeyManager.secureWipe(data); // Verify data is wiped for (byte b : data) { assertEquals(0, b, "All bytes should be zero after wipe"); } } @Test public void testSecureWipeNull() { // Should not throw SecureKeyManager.secureWipe(null); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
sessionId = null; auditLogger.logEvent(EventType.SESSION_DESTROYED, Severity.INFO, "Authenticator closed and credentials wiped", Map.of("username", username != null ? username : "unknown")); } finally { // Wipe client challenge - guaranteed by try-finally if (clientChallenge != null) { SecureKeyManager.secureWipe(clientChallenge);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
* is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for * those classes explore numerous corner cases. The intent here is to confirm that everything is * wired up properly. * * @author Craig Berry */ @NullUnmarked public final class HostSpecifierTest extends TestCase { private static final ImmutableList<String> GOOD_IPS =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0)