Table of Contents

Class BackupVerificationResult

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

Result of verifying a master key backup.

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

Properties

BackupCreatedAt

Gets the timestamp when the backup was created.

public DateTimeOffset? BackupCreatedAt { get; init; }

Property Value

DateTimeOffset?

BackupExpiresAt

Gets the timestamp when the backup expires.

public DateTimeOffset? BackupExpiresAt { get; init; }

Property Value

DateTimeOffset?

Errors

Gets error messages if validation failed.

public IReadOnlyList<string>? Errors { get; init; }

Property Value

IReadOnlyList<string>

FormatSupported

Gets a value indicating whether the backup format is supported.

public bool FormatSupported { get; init; }

Property Value

bool

IntegrityCheckPassed

Gets a value indicating whether the integrity check passed.

public bool IntegrityCheckPassed { get; init; }

Property Value

bool

IsExpired

Gets a value indicating whether the backup has expired.

public bool IsExpired { get; init; }

Property Value

bool

IsValid

Gets a value indicating whether the backup is valid and can be restored.

public required bool IsValid { get; init; }

Property Value

bool

KeyId

Gets the identifier of the key in the backup.

public required string KeyId { get; init; }

Property Value

string

KeyVersion

Gets the version of the key in the backup.

public required int KeyVersion { get; init; }

Property Value

int

Warnings

Gets any warnings about the backup.

public IReadOnlyList<string>? Warnings { get; init; }

Property Value

IReadOnlyList<string>