25 lines
577 B
C#
25 lines
577 B
C#
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; } = [];
|
|
}
|