Enum ErasureLegalBasis
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Legal basis for erasure under GDPR Article 17.
public enum ErasureLegalBasis
Fields
ChildData = 6Article 17(1)(f) - Child's data in information society services.
ConsentWithdrawal = 2Article 17(1)(b) - Consent withdrawal.
DataNoLongerNecessary = 1Article 17(1)(a) - Data no longer necessary for purpose.
DataSubjectRequest = 7Data subject direct request (general right to erasure).
LegalObligation = 5Article 17(1)(e) - Legal obligation to erase.
NotEstablished = 0No Article 17(1) ground was established: nobody stated one.
Zero means "not established" so that a value nobody assigned cannot read as a lawful ground.
requiredmakes omission inexpressible to the C# compiler, but a reflection binder, a deserializer, a store round trip and an out-of-range cast all reach this enum without the compiler's involvement — and whatever sits at zero is what they produce. While zero was DataNoLongerNecessary, an unset value was indistinguishable from a deliberate Article 17(1)(a) claim on a signed erasure certificate.It is not a lawful basis and must never be attested as one. A certificate carrying it records that the ground for erasing was not established, and the erasure is not reported complete.
RightToObject = 3Article 17(1)(c) - Right to object.
UnlawfulProcessing = 4Article 17(1)(d) - Unlawful processing.