Package-level declarations

Types

Link copied to clipboard
data class AuditChainState(val id: Int = 1, val lastHash: String, val lastTs: Long, val chainGeneration: Int, val eventCount: Long, val prunedThroughSeq: Long = 0, val prunedThroughHash: String = "GENESIS", val lastAckedSeq: Long = 0)

Tracks the current state of the audit chain.

Link copied to clipboard

Data Access Object for audit trail operations.

Link copied to clipboard

Room database for persistent audit trail.

Link copied to clipboard
data class AuditEventEntity(val id: String, val ts: Long, val name: String, val fieldsJson: String, val prevHash: String, val hash: String, val signature: String? = null, val deviceAttestationBlob: ByteArray? = null, val chainGeneration: Int = 1, val userId: String? = null, val seq: Long = 0, val formatVersion: Int = 1)

Room entity for persistent audit events.

Link copied to clipboard

Audit database migrations.

Link copied to clipboard
data class EventNameCount(val name: String, val count: Int)

Result of event name count query.

Link copied to clipboard
data class SeqBounds(val minSeq: Long?, val maxSeq: Long?)

Result of the seq bounds query.