Knox Tizen Wearable SDK
knox_attestation_error_type.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 #ifndef __KNOX_ATTESTATION_ERROR_TYPE_H__
20 #define __KNOX_ATTESTATION_ERROR_TYPE_H__
21 
22 #include <tizen.h>
23 
33 typedef enum
34 {
35  KNOX_ATTESTATION_ERROR_NONE = TIZEN_ERROR_NONE,
36  KNOX_ATTESTATION_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER,
37  KNOX_ATTESTATION_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY,
38  KNOX_ATTESTATION_ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR,
39  KNOX_ATTESTATION_ERROR_NO_DATA = TIZEN_ERROR_NO_DATA,
40  KNOX_ATTESTATION_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED,
41  KNOX_ATTESTATION_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED,
42  KNOX_ATTESTATION_ERROR_IPC_FAILED = TIZEN_ERROR_APPLICATION_CLASS | 0x02,
43  KNOX_ATTESTATION_ERROR_TZ_ERROR = TIZEN_ERROR_APPLICATION_CLASS | 0x03,
44  KNOX_ATTESTATION_ERROR_INVALID_NONCE = TIZEN_ERROR_APPLICATION_CLASS | 0x04,
45  KNOX_ATTESTATION_ERROR_SIGNING_ERROR = TIZEN_ERROR_APPLICATION_CLASS | 0x05,
46  KNOX_ATTESTATION_ERROR_KEY_ERROR = TIZEN_ERROR_APPLICATION_CLASS | 0x06,
47  KNOX_ATTESTATION_ERROR_UNKNOWN = TIZEN_ERROR_UNKNOWN,
49 
54 #endif
55 
56 
knox_attestation_error_type_e
The KNOX Attestation error types.