stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace StellaOps.AuditPack.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Result of verifying an audit bundle envelope.
|
||||
/// </summary>
|
||||
public sealed record AuditBundleVerificationResult
|
||||
{
|
||||
public bool Success { get; init; }
|
||||
public string? PayloadDigest { get; init; }
|
||||
public VerifiedSignatureInfo[]? VerifiedSignatures { get; init; }
|
||||
public string? Error { get; init; }
|
||||
|
||||
public static AuditBundleVerificationResult Failed(string error) => new()
|
||||
{
|
||||
Success = false,
|
||||
Error = error
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user