Class ErasureRetentionOptions
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Retention-related options for erasure processing.
public sealed class ErasureRetentionOptions
- Inheritance
-
ErasureRetentionOptions
- Inherited Members
Properties
CertificateRetentionPeriod
Gets or sets the retention period for erasure certificates. Default: 7 years (regulatory requirement).
public TimeSpan CertificateRetentionPeriod { get; set; }
Property Value
SigningKey
Gets or sets the HMAC-SHA256 signing key for certificate signatures. Must be at least 32 bytes for security. Configure from KMS/HSM in production.
public byte[] SigningKey { get; set; }
Property Value
- byte[]
Remarks
Previously configured via ErasureSigningOptions; consolidated here
to reduce constructor parameter count and co-locate signing configuration.
SigningKeyId
Gets or sets an identifier for the certificate signing key, for a host's own key-management bookkeeping. The framework does not read it.
public string? SigningKeyId { get; set; }
Property Value
Remarks
Setting this does not select, fetch or rotate a key, and leaving it unset changes nothing. Certificate signing uses the key bytes in SigningKey and only those; supply them from your key-management system. This property is carried on the options so a host can record which of its own keys those bytes came from.