Operations
Core operations for device authentication and management
📄️ Provision a host
Creates a user-device-id and keys in host. Returns true if the host was provisioned, or false if it wasn't (presumably it was provisioned in the past)
📄️ Check if host is provisioned
Returns true if the host has been provisioned with the data needed to authenticate/assert payloads
📄️ Create device attestation
Provisions the host with a user-device-id, public keys, and nonce, and creates an initial payload that can be used to enroll the device in the Vouch backend
📄️ Create assertion payload
Returns a payload that can be authenticated by the Vouch backend. The payload is a CBOR encoded map that includes a digital signature created with one of the keys stored in host
📄️ Reset host data
Removes all the device data from host