DemoAttestation

Contract shared between the collector app (client) and the collector backend (verifier).

Keeping the endpoint paths here guarantees both sides agree, since at.asitplus.warden.collector.shared depends on supreme-common, the app adds supreme-client and the backend adds supreme-verifier.

Both sides use real system time; the verifier's default verificationTimeOffset leeway absorbs normal client/server clock skew.

Properties

Link copied to clipboard
const val ATTEST_PATH: String

POST endpoint the app submits the attestation proof to (embedded in the challenge by the backend).

Link copied to clipboard

GET endpoint the app fetches the attestation challenge from.

Link copied to clipboard

Download path of the release APK embedded in the backend.

Link copied to clipboard
const val VERSION_PATH: String

GET endpoint exposing the version code of the bundled Android app.