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
EscrowId
Gets the unique identifier of this escrow record.
public required string EscrowId { get; init; }
Property Value
EscrowedAt
Gets the timestamp when the key was escrowed.
public required DateTimeOffset EscrowedAt { get; init; }
Property Value
ExpiresAt
Gets the timestamp when the escrow expires, if applicable.
public DateTimeOffset? ExpiresAt { get; init; }
Property Value
IsRecoverable
Gets a value indicating whether the escrow is still valid for recovery.
public bool IsRecoverable { get; }
Property Value
KeyId
Gets the unique identifier of the escrowed key.
public required string KeyId { get; init; }
Property Value
LastRecoveryAttempt
Gets the timestamp of the last recovery attempt, if any.
public DateTimeOffset? LastRecoveryAttempt { get; init; }
Property Value
Purpose
Gets the purpose or scope of this escrow.
public string? Purpose { get; init; }
Property Value
RecoveryAttempts
Gets the number of recovery operations performed on this escrow.
public int RecoveryAttempts { get; init; }
Property Value
State
Gets the current state of the escrow.
public required EscrowState State { get; init; }
Property Value
TenantId
Gets the tenant identifier for multi-tenant scenarios.
public string? TenantId { get; init; }