Table of Contents

Class KeyReference

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Reference to an encryption key.

public sealed record KeyReference : IEquatable<KeyReference>
Inheritance
KeyReference
Implements
Inherited Members

Properties

EncryptedFieldValueCount

Gets the number of encrypted field values this key protects.

public int EncryptedFieldValueCount { get; init; }

Property Value

int

Remarks

This counts occurrences, not records: one unit is one (table, field, record) triple, so a key protecting three encrypted fields of a single record counts three. That is the quantity re-encryption planning needs. It is not a count of distinct data subjects or of rows.

KeyId

Gets the key identifier.

public required string KeyId { get; init; }

Property Value

string

KeyScope

Gets the key scope (User, Tenant, Field).

public required EncryptionKeyScope KeyScope { get; init; }

Property Value

EncryptionKeyScope