App Attestation
sidebar_position: 178.66
App Attestation
The app attestation entity represents the attestation of an application instance, currently only supporting iOS app attestation.
A dispatch target can be linked one app attestation and one app attestation can be linked to one dispatch target. This allows to link the attestation of an application instance to a specific dispatch target, for example, to ensure that only a specific app instance on a specific device can receive push notifications for a specific application.
Database table TIDMA_APP_ATTESTATION
| DB attribute | Java data type (max. size), defaults | Description |
|---|---|---|
| app_attestation_id | Long, not NULL | Primary key (uniquely identifies each individual DB entry). |
| name | String(255), nullable | Optional human-readable name of the app attestation entry. |
| user_id | Long, not NULL | Owner of the attestation. Foreign key that links to information in the table TIDMA_USER. |
| counter | Long, nullable | Optional attestation counter used for replay protection/version tracking. |
| public_key | String, not NULL | Public key associated with the attested app instance. |
| receipt | String, not NULL | Platform attestation receipt/payload as provided by the app attestation mechanism. |
| environment | String(100), nullable | Optional attestation environment indicator (for example test/sandbox/production). |
| dispatch_target_id | Long, not NULL | Foreign key that links to information in the table TIDMA_DISPATCH_TARGET. |
| identification | String, not NULL | Canonical identification payload of the app attestation entry. |
| hashed_identification | String(255), nullable | Hash of the identification data for fast lookup/uniqueness checks. |
| modification_comment | String, nullable | Comment of related add/update/delete action. |