CollectorStore

Filesystem store: one directory per collected attestation under dir.

Constructors

Link copied to clipboard
constructor(dir: File)

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun collect(submittedAtEpochMs: Long, deviceName: String?, result: String, verified: Boolean, statement: String?, proofBytes: ByteArray): String

Writes all artifacts for one submission to <dir>/<id>/ and returns the id. Extraction and file emission happen once, here — the report and downloads just read files afterwards.

Link copied to clipboard

Requests one ZIP build; concurrent requests await the already-running build instead of scheduling another.

Link copied to clipboard