Table of Contents

Class ApplicationMutationManifestVerifier

Namespace
ProjectTemplate.Infrastructure.Data.Auditing
Assembly
ProjectTemplate.Infrastructure.dll

Verifies retained application audit records against a canonical mutation manifest digest.

public sealed class ApplicationMutationManifestVerifier : IApplicationMutationManifestVerifier
Inheritance
ApplicationMutationManifestVerifier
Implements
Inherited Members

Constructors

ApplicationMutationManifestVerifier(IApplicationMutationManifestBuilder, IApplicationMutationManifestHasher)

Verifies retained application audit records against a canonical mutation manifest digest.

public ApplicationMutationManifestVerifier(IApplicationMutationManifestBuilder manifestBuilder, IApplicationMutationManifestHasher manifestHasher)

Parameters

manifestBuilder IApplicationMutationManifestBuilder
manifestHasher IApplicationMutationManifestHasher

Methods

Verify(ApplicationMutationAuditReceipt, IReadOnlyCollection<AuditRecord>)

Rebuilds the canonical manifest and verifies its digest and record count.

public bool Verify(ApplicationMutationAuditReceipt receipt, IReadOnlyCollection<AuditRecord> auditRecords)

Parameters

receipt ApplicationMutationAuditReceipt
auditRecords IReadOnlyCollection<AuditRecord>

Returns

bool