Enum KeyDestructionState
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
The outcome state of a key-destruction request, distinguishing a key that is irrecoverable on return from one that is merely scheduled for later irreversible destruction.
public enum KeyDestructionState
Fields
Completed = 1The key material is destroyed and irrecoverable as of IrreversibleAt.
NotFound = 0The key did not exist; the destruction is an idempotent no-op (already erased or never created).
ScheduledIrreversible = 2The key is scheduled for irreversible destruction but remains recoverable until IrreversibleAt. No erasure may be attested as complete before then.
Remarks
This tri-state exists because backends differ: some destroy key material immediately (rendering data encrypted under it unrecoverable the instant the call returns), while others only schedule deletion behind a mandatory retention window during which the key — and thus the data — remains recoverable. A completion attestation (e.g. GDPR Right-to-Erasure) may only be issued for the immediate case.