Table of Contents

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 = 1

The key material is destroyed and irrecoverable as of IrreversibleAt.

NotFound = 0

The key did not exist; the destruction is an idempotent no-op (already erased or never created).

ScheduledIrreversible = 2

The 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.