blob: 6c9952391f0bc555318f15904cdb8599ef02a610 [file] [log] [blame]
/** @addtogroup CMP
* @{
*
* @file
* TlCm error return code definitions.
* Definition of all possible TlCm rror return codes.
*
* <!-- Copyright Giesecke & Devrient GmbH 2009-2012 -->
*
* 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. The name of the author may not be used to endorse or promote
* products derived from this software without specific prior
* written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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 TLCMERROR_H_
#define TLCMERROR_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_DEVICE_ALREADY_BOUND 0xE0000080
#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_INTERNAL_ERROR 0xE0001000
#define RET_ERR_EXT_UNSPECIFIED 0xEEEEEEEE
#endif // TLCMERROR_H_
/** @} */