Class DataEncryptionKeyReference
- Namespace
- MailFathom.Infrastructure.DataEncryption
- Assembly
- MailFathom.Infrastructure.dll
One configured key: the identifier stored beside every value it seals, and where its material comes from.
public sealed record DataEncryptionKeyReference : IEquatable<DataEncryptionKeyReference>
- Inheritance
-
DataEncryptionKeyReference
- Implements
- Inherited Members
Constructors
- DataEncryptionKeyReference(string, ConfiguredSecret)
One configured key: the identifier stored beside every value it seals, and where its material comes from.
Properties
- KeyId
The identifier a sealed value names its key by, which is persisted and therefore never changes.
- Material
The reference to base64 material that decodes to an AES-256 key.