Class RotatingEncryptionOptions
- Namespace
- Excalibur.Compliance.Encryption
- Assembly
- Excalibur.Compliance.dll
Configuration options for the rotating encryption provider.
public sealed class RotatingEncryptionOptions
- Inheritance
-
RotatingEncryptionOptions
- Inherited Members
Properties
AutoRotateBeforeEncryption
Gets or sets a value indicating whether to check and perform rotation before each encryption. Default is false (rotation should be managed separately).
public bool AutoRotateBeforeEncryption { get; set; }
Property Value
MaxKeyAge
Gets or sets the maximum age of a key before automatic rotation. Default is 90 days per compliance requirements.
public TimeSpan MaxKeyAge { get; set; }
Property Value
ReEncryptOnRead
Gets or sets a value indicating whether to log when decrypting data with an old key version. This can help identify data that should be re-encrypted. Default is true.
public bool ReEncryptOnRead { get; set; }