Class GovernanceEvidenceRecordVerification
- Namespace
- ReferenceApplication.Web.Governance
- Assembly
- ReferenceApplication.Web.dll
Represents the canonical-hash verification result for one decision ledger record.
public sealed record GovernanceEvidenceRecordVerification : IEquatable<GovernanceEvidenceRecordVerification>
- Inheritance
-
GovernanceEvidenceRecordVerification
- Implements
- Inherited Members
Constructors
GovernanceEvidenceRecordVerification(string, string, string?, string?, string?)
Represents the canonical-hash verification result for one decision ledger record.
public GovernanceEvidenceRecordVerification(string RecordId, string Status, string? StoredHash, string? ComputedHash, string? HashAlgorithm)
Parameters
RecordIdstringThe ledger record identifier.
StatusstringOne of the stable GovernanceEvidenceVerificationStatuses values.
StoredHashstringThe hash stored with the record, when present.
ComputedHashstringThe hash recomputed from the current canonical record, when verification was possible.
HashAlgorithmstringThe algorithm used to recompute the hash.
Properties
ComputedHash
The hash recomputed from the current canonical record, when verification was possible.
public string? ComputedHash { get; init; }
Property Value
HashAlgorithm
The algorithm used to recompute the hash.
public string? HashAlgorithm { get; init; }
Property Value
RecordId
The ledger record identifier.
public string RecordId { get; init; }
Property Value
Status
One of the stable GovernanceEvidenceVerificationStatuses values.
public string Status { get; init; }
Property Value
StoredHash
The hash stored with the record, when present.
public string? StoredHash { get; init; }