Knox Tizen Wearable SDK
|
Enumerations |
Functions | |
EXPORT_API int | knox_attestation_get_attestation_blob (const unsigned char *nonce, int size, unsigned char **blob_data, int *blob_data_size) |
Get blob data to check if device is available for authentication. More... | |
EXPORT_API int | knox_attestation_get_attestation_device_id (unsigned char **device_id, int *size) |
Get device id for attestation. More... | |
The KNOX Attestation error types.
Definition at line 33 of file knox_attestation_error_type.h.
EXPORT_API int knox_attestation_get_attestation_blob | ( | const unsigned char * | nonce, |
int | size, | ||
unsigned char ** | blob_data, | ||
int * | blob_data_size | ||
) |
Get blob data to check if device is available for authentication.
[in] | nonce | Random number for device authentication |
[in] | size | Size of nonce |
[out] | blob_data | Blob data |
[out] | blob_data_size | Size of output data |
KNOX_ATTESTATION_ERROR_NONE | Successful |
KNOX_ATTESTATION_ERROR_INVALID_PARAMETER | Invalid parameter |
KNOX_ATTESTATION_ERROR_OUT_OF_MEMORY | Out of memory |
KNOX_ATTESTATION_ERROR_PERMISSION_DENIED | Permission denied |
KNOX_ATTESTATION_ERROR_KEY_ERROR | Knox Key error |
KNOX_ATTESTATION_ERROR_SIGNING_ERROR | Signing data failed |
KNOX_ATTESTATION_ERROR_TZ_ERROR | Trustzone error |
KNOX_ATTESTATION_ERROR_UNKNOWN | Unknown error |
EXPORT_API int knox_attestation_get_attestation_device_id | ( | unsigned char ** | device_id, |
int * | size | ||
) |
Get device id for attestation.
[out] | device_id | Device ID |
[out] | size | Size of device ID |
KNOX_ATTESTATION_ERROR_NONE | Successful |
KNOX_ATTESTATION_ERROR_INVALID_PARAMETER | Invalid parameter |
KNOX_ATTESTATION_ERROR_OUT_OF_MEMORY | Out of memory |
KNOX_ATTESTATION_ERROR_PERMISSION_DENIED | Permission denied |
KNOX_ATTESTATION_ERROR_TZ_ERROR | Trustzone error |
KNOX_ATTESTATION_ERROR_UNKNOWN | Unknown error |