Broken

data class Broken(val brokenAtId: String, val brokenAtTs: Long, val expectedPrevHash: String, val actualPrevHash: String) : ChainVerificationResult

The audit chain has a break.

An event was found whose prevHash doesn't match the hash of the preceding event. This indicates tampering or data corruption.

Constructors

Link copied to clipboard
constructor(brokenAtId: String, brokenAtTs: Long, expectedPrevHash: String, actualPrevHash: String)

Properties

Link copied to clipboard

The hash that was found.

Link copied to clipboard

ID of the event where the chain breaks.

Link copied to clipboard

Timestamp of the broken event.

Link copied to clipboard

The hash that was expected.