Application_IsDeviceAuthReady function
Header: #include <applibs/application.h>
Verifies that the device authentication and attestation (DAA) certificate for the current device is ready.
int Application_IsDeviceAuthReady(bool *outIsDeviceAuthReady);
Parameters
outIsDeviceAuthReady
A pointer to a Boolean that returns the result. If the value is false, then the DAA certificate for the current device has not yet been authenticated.
Errors
Returns -1 if an error is encountered and sets errno
to the error value.
- EFAULT: The provided parameter is NULL.
Any other errno
may also be specified; such errors aren't deterministic and the same behavior might not be retained through system updates.
Return value
Returns 0 for success, -1 for failure, in which case errno
is set to the error value.