stabilizaiton work - projects rework for maintenanceability and ui livening
This commit is contained in:
24
src/__Libraries/StellaOps.Provcache/Models/SignerInfo.cs
Normal file
24
src/__Libraries/StellaOps.Provcache/Models/SignerInfo.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace StellaOps.Provcache;
|
||||
|
||||
/// <summary>
|
||||
/// Information about signers and attestors.
|
||||
/// </summary>
|
||||
public sealed record SignerInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Hash of the sorted signer set.
|
||||
/// </summary>
|
||||
public required string SetHash { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of signers in the set.
|
||||
/// </summary>
|
||||
public int SignerCount { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Signer certificate information.
|
||||
/// </summary>
|
||||
public IReadOnlyList<SignerCertificate> Certificates { get; init; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user