Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DestroyFailedException (0.23 sec)

  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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (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.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top