Knox Tizen Wearable SDK
knox_attestation.h
1 /*
2  * Copyright (c) 2000-2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * PROPRIETARY/CONFIDENTIAL
5  *
6  * This software is the confidential and proprietary information of
7  * SAMSUNG ELECTRONICS ("Confidential Information").
8  * You shall not disclose such Confidential Information and shall
9  * use it only in accordance with the terms of the license agreement
10  * you entered into with SAMSUNG ELECTRONICS.
11  * SAMSUNG make no representations or warranties about the suitability
12  * of the software, either express or implied, including but not
13  * limited to the implied warranties of merchantability, fitness for
14  * a particular purpose, or non-infringement.
15  * SAMSUNG shall not be liable for any damages suffered by licensee as
16  * a result of using, modifying or distributing this software or its derivatives.
17 
18  */
19 
20 #ifndef __KNOX_ATTESTATION_H__
21 #define __KNOX_ATTESTATION_H__
22 
23 #include "knox_attestation_error_type.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
60 EXPORT_API int knox_attestation_get_attestation_blob(const unsigned char* nonce, int size, unsigned char** blob_data, int* blob_data_size);
61 
83 EXPORT_API int knox_attestation_get_attestation_device_id(unsigned char** device_id, int* size);
84 
89 #ifdef __cplusplus
90 }
91 #endif
92 
93 #endif
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.
EXPORT_API int knox_attestation_get_attestation_device_id(unsigned char **device_id, int *size)
Get device id for attestation.