Table of Contents

Class MasterKeyImportResult

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

Result of importing a master key backup.

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

Properties

ErrorMessage

Gets the error message if the import failed.

public string? ErrorMessage { get; init; }

Property Value

string

ImportedAt

Gets the timestamp when the import was completed.

public required DateTimeOffset ImportedAt { get; init; }

Property Value

DateTimeOffset

KeyId

Gets the identifier of the imported key.

public required string KeyId { get; init; }

Property Value

string

KeyMetadata

Gets the metadata of the imported key.

public KeyMetadata? KeyMetadata { get; init; }

Property Value

KeyMetadata

KeyVersion

Gets the version of the imported key.

public required int KeyVersion { get; init; }

Property Value

int

Success

Gets a value indicating whether the import was successful.

public required bool Success { get; init; }

Property Value

bool

Warnings

Gets any warnings generated during import.

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

Property Value

IReadOnlyList<string>

WasOverwritten

Gets a value indicating whether an existing key was overwritten.

public bool WasOverwritten { get; init; }

Property Value

bool