Class Audit
Checking a chain of audit records that has already arrived.
public static class Audit
- Inheritance
-
Audit
- Inherited Members
Methods
VerifyChain(ReadOnlySpan<byte>, IReadOnlyList<AuditEntry>)
Checks a whole chain that has already arrived.
public static void VerifyChain(ReadOnlySpan<byte> publicKey, IReadOnlyList<AuditEntry> entries)
Parameters
publicKeyReadOnlySpan<byte>The 32-byte key the records were signed with.
entriesIReadOnlyList<AuditEntry>The records, in the order they were written.
Exceptions
- PamojaException
The chain does not hold: a record whose signature fails, or one that does not follow the record before it. The message says which.