Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 58 for wiping (0.04 seconds)

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

            auth.close(); // Should still not throw
            assertTrue(auth.isClosed());
        }
    
        /**
         * Test secure password wiping with multi-threaded access
         */
        @Test
        @DisplayName("Test secure password wiping under concurrent access")
        public void testConcurrentSecureWipe() throws InterruptedException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                assertFalse(isValid, "Different session keys should fail verification");
            }
        }
    
        @Nested
        @DisplayName("Secure Key Wiping Tests")
        class SecureKeyWipingTests {
    
            @Test
            @DisplayName("Should securely wipe signing key")
            void testSecureWipeKey() throws GeneralSecurityException {
    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)
  3. src/main/java/jcifs/util/SecureKeyManager.java

     *
     * Features:
     * - Secure key storage with optional KeyStore integration
     * - Automatic key cleanup on close
     * - Thread-safe key management
     * - Key derivation utilities
     * - Memory wiping capabilities
     */
    public class SecureKeyManager implements AutoCloseable {
    
        private static final Logger log = LoggerFactory.getLogger(SecureKeyManager.class);
    
    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)
  4. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Then - Verify keys are wiped (we can't directly access private fields,
            // but we can verify the context behaves correctly after wiping)
            // After wiping, operations that require keys should fail
    
            // Attempting to use the context after wiping should handle gracefully
            // Note: The actual implementation might throw an exception or handle differently
        }
    
        @Test
    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)
  5. src/main/java/jcifs/util/SecureCredentialStorage.java

     *
     * Features:
     * - Encrypts credentials at rest using AES-256-GCM
     * - Uses PBKDF2 for key derivation from master password
     * - Secure wiping of sensitive data
     * - Thread-safe operations
     * - Protection against timing attacks
     */
    public class SecureCredentialStorage implements AutoCloseable, Destroyable {
    
        private static final Logger log = LoggerFactory.getLogger(SecureCredentialStorage.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        }
    
        /**
         * Returns the password as a secure char array. This is the preferred method
         * for accessing the password as it allows secure wiping of the password
         * from memory.
         *
         * @return the password as a char array
         */
        public char[] getPasswordAsCharArray() {
            checkNotClosed();
    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)
  7. docs/en/docs/management-tasks.md

    * Edit the text of the PR title to start in "imperative", like giving an order. So, instead of `Adding support for teleporting` use `Add support for teleporting`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. internal/grid/muxclient.go

    				// Next loop will catch it.
    			case <-pingTimer:
    				if !m.doPing(respHandler) {
    					return
    				}
    				goto sendResp
    			}
    		case <-pingTimer:
    			if !m.doPing(respHandler) {
    				return
    			}
    		}
    	}
    }
    
    // doPing checks last ping time and sends another ping.
    func (m *muxClient) doPing(respHandler chan<- Response) (ok bool) {
    	m.respMu.Lock()
    	if m.closed {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbSessionImplTest.java

            // Context and credentials wiring - used by most tests
            when(cifsContext.getCredentials()).thenReturn(credentials);
            when(credentials.unwrap(CredentialsInternal.class)).thenReturn(credentialsInternal);
            when(credentialsInternal.clone()).thenReturn(credentialsInternal);
    
            // Transport wiring - used by most tests
            when(transport.acquire()).thenReturn(transport);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. scripts/doc_parsing_utils.py

    import re
    from typing import TypedDict
    
    CODE_INCLUDE_RE = re.compile(r"^\{\*\s*(\S+)\s*(.*)\*\}$")
    CODE_INCLUDE_PLACEHOLDER = "<CODE_INCLUDE>"
    
    HEADER_WITH_PERMALINK_RE = re.compile(r"^(#{1,6}) (.+?)(\s*\{\s*#.*\s*\})?\s*$")
    HEADER_LINE_RE = re.compile(r"^(#{1,6}) (.+?)(?:\s*\{\s*(#.*)\s*\})?\s*$")
    
    TIANGOLO_COM = "https://fastapi.tiangolo.com"
    ASSETS_URL_PREFIXES = ("/img/", "/css/", "/js/")
    
    MARKDOWN_LINK_RE = re.compile(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
Back to Top