blob: c9d30eea074f46cd1c2b0f217b6a9909b8b3846c [file] [log] [blame]
/** @addtogroup CMP
* @{
*
* @file
* CMTL (Content Management Trustlet) error return code definitions.
* Definition of all possible CMTL error return codes.
*
* Copyright © Trustonic Limited 2013.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of the Trustonic Limited nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef TL_CM_ERROR_H_
#define TL_CM_ERROR_H_
#define SUCCESSFUL 0x00000000
#define RET_ERR_EXT_UNKNOWN_COMMAND 0xE0000000
#define RET_ERR_EXT_SECURITY_STATUS_NOT_SATISFIED 0xE0000010
#define RET_ERR_EXT_SECURE_MESSAGING_FAILED 0xE0000020
#define RET_ERR_EXT_INCORRECT_PARAMETERS 0xE0000030
#define RET_ERR_EXT_REFERENCED_DATA_INVALID 0xE0000040
#define RET_ERR_EXT_REFERENCED_DATA_NOT_FOUND 0xE0000050
#define RET_ERR_EXT_METHOD_BLOCKED 0xE0000060
#define RET_ERR_EXT_CONDITIONS_OF_USE_NOT_SATISFIED 0xE0000070
#define RET_ERR_EXT_ALREADY_REGISTERED 0xE0000090
#define RET_ERR_EXT_ALREADY_ACTIVATED 0xE00000A0
#define RET_ERR_EXT_NOT_REGISTERED 0xE00000B0
#define RET_ERR_EXT_NOT_ACTIVATED 0xE00000C0
#define RET_ERR_EXT_CONTAINER_FULL 0xE00000D0
#define RET_ERR_EXT_NOT_LOCKED 0xE00000E0
#define RET_ERR_EXT_LOCKED 0xE00000F0
#define RET_ERR_EXT_ALREADY_LOCKED 0xE0000100
#define RET_ERR_EXT_INTERNAL_ERROR 0xE0001000
#define RET_ERR_EXT_SIZE 0xE0002000
#define RET_ERR_EXT_UNSPECIFIED 0xEEEEEEEE
#endif // TL_CM_ERROR_H_
/** @} */