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)

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)

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.