Table of Contents

Class EscrowStatus

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

Represents the current status of a key escrow.

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

Properties

ActiveTokenCount

Gets the number of active (non-expired, non-used) recovery tokens.

public int ActiveTokenCount { get; init; }

Property Value

int

EscrowId

Gets the unique identifier of this escrow record.

public required string EscrowId { get; init; }

Property Value

string

EscrowedAt

Gets the timestamp when the key was escrowed.

public required DateTimeOffset EscrowedAt { get; init; }

Property Value

DateTimeOffset

ExpiresAt

Gets the timestamp when the escrow expires, if applicable.

public DateTimeOffset? ExpiresAt { get; init; }

Property Value

DateTimeOffset?

IsRecoverable

Gets a value indicating whether the escrow is still valid for recovery.

public bool IsRecoverable { get; }

Property Value

bool

KeyId

Gets the unique identifier of the escrowed key.

public required string KeyId { get; init; }

Property Value

string

LastRecoveryAttempt

Gets the timestamp of the last recovery attempt, if any.

public DateTimeOffset? LastRecoveryAttempt { get; init; }

Property Value

DateTimeOffset?

Purpose

Gets the purpose or scope of this escrow.

public string? Purpose { get; init; }

Property Value

string

RecoveryAttempts

Gets the number of recovery operations performed on this escrow.

public int RecoveryAttempts { get; init; }

Property Value

int

State

Gets the current state of the escrow.

public required EscrowState State { get; init; }

Property Value

EscrowState

TenantId

Gets the tenant identifier for multi-tenant scenarios.

public string? TenantId { get; init; }

Property Value

string