Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for DestroyFailedException (0.28 seconds)

  1. src/main/java/jcifs/util/SecureCredentialStorage.java

                    if (failedToDestroy && destroyException != null) {
                        throw new DestroyFailedException("Partial destroy: " + destroyException.getMessage());
                    }
    
                } catch (DestroyFailedException e) {
                    // Re-throw DestroyFailedException as-is
                    throw e;
                } catch (Exception e) {
                    // For any other exception, wrap it
    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)
  2. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            assertFalse(storage.isDestroyed(), "Storage should not be destroyed initially");
    
            // Destroy the storage - may throw DestroyFailedException if SecretKey doesn't support destroy
            try {
                storage.destroy();
            } catch (DestroyFailedException e) {
                // This is acceptable - not all JVM implementations support destroying SecretKey
    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)
  3. src/main/java/jcifs/util/SecureKeyManager.java

    import java.util.HashMap;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    
    import javax.crypto.SecretKey;
    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.DestroyFailedException;
    import javax.security.auth.Destroyable;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Secure key management for SMB encryption.
    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)
Back to Top