- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for wiped (0.21 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (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")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (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); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 21.5K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 35.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
result.task(':copyRestCompatTestTask').outcome == TaskOutcome.UP_TO_DATE result.task(transformTask).outcome == TaskOutcome.UP_TO_DATE } def "yamlRestTestVxCompatTest is wired into check and checkRestCompat"() { given: addSubProject(":distribution:bwc:minor") << """ configurations { checkout } artifacts {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 16.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmContext.java
} else { char[] passwordChars = this.auth.getPasswordAsCharArray(); if (passwordChars != null) { passwordString = new String(passwordChars); // Securely wipe the char array immediately after use java.util.Arrays.fill(passwordChars, '\0'); } } return new Type3Message(this.transportContext, msg2, this.targetName, passwordString,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
*/ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) public class SmbRandomAccessFileTest { // Helper: build a minimally wired instance with mocks; avoids real I/O private SmbRandomAccessFile newInstance(String mode, boolean smb2, boolean ntSmbsCap, boolean unshared) throws CIFSException { SmbFile file = mock(SmbFile.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0)