MrSID Decode SDK for Raster Reference Manual
9.5.1.4427
|
00001 /* $Id$ */ 00002 /* ////////////////////////////////////////////////////////////////////////// 00003 // // 00004 // This code is Copyright (c) 2005 LizardTech, Inc, 1008 Western Avenue, // 00005 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution // 00006 // prohibited. Access to and use of this code is permitted only under // 00007 // license from LizardTech, Inc. Portions of the code are protected by // 00008 // US and foreign patents and other filings. All Rights Reserved. // 00009 // // 00011 /* PUBLIC */ 00012 00013 00014 #ifndef ENCRYPTSTATUS_H 00015 #define ENCRYPTSTATUS_H 00016 00017 // lt_lib_base 00018 #include "lt_base.h" 00019 00020 00021 #define LT_STS_EncryptBase 4000 00022 LT_STATUSSTRING_ADD(LT_STS_EncryptBase, "BASE") 00023 00024 #define LT_STS_EncryptDISABLED 4001 00025 LT_STATUSSTRING_ADD(LT_STS_EncryptDISABLED, "security disabled") 00026 00027 #define LT_STS_EncryptLOCK_ALREADY_LOCKED 4002 00028 LT_STATUSSTRING_ADD(LT_STS_EncryptLOCK_ALREADY_LOCKED, "can't lock an already-locked image") 00029 #define LT_STS_EncryptUNLOCK_NOT_LOCKED 4003 00030 LT_STATUSSTRING_ADD(LT_STS_EncryptUNLOCK_NOT_LOCKED, "can't unlock an unlocked imaged") 00031 #define LT_STS_EncryptLOCK_NEED_KEY 4004 00032 LT_STATUSSTRING_ADD(LT_STS_EncryptLOCK_NEED_KEY, "can't lock an image without a key") 00033 00034 #define LT_STS_EncryptUNLOCK_NEED_KEY 4005 00035 LT_STATUSSTRING_ADD(LT_STS_EncryptUNLOCK_NEED_KEY, "can't unlock a locked image without a key") 00036 #define LT_STS_EncryptUNLOCK_WRONG_KEY 4006 00037 LT_STATUSSTRING_ADD(LT_STS_EncryptUNLOCK_WRONG_KEY, "key is valid but doesn't match image's lock") 00038 #define LT_STS_EncryptINVALID_LICENSE 4007 00039 LT_STATUSSTRING_ADD(LT_STS_EncryptINVALID_LICENSE, "License is invalid") 00040 #define LT_STS_EncryptBAD_PASSWORD 4008 00041 LT_STATUSSTRING_ADD(LT_STS_EncryptBAD_PASSWORD, "Password is invalid") 00042 #define LT_STS_EncryptBAD_KEY 4009 00043 LT_STATUSSTRING_ADD(LT_STS_EncryptBAD_KEY, "key is invalid (violates definition of key)") 00044 #define LT_STS_EncryptLOCK_NO_KEY_PROVIDER 4010 00045 LT_STATUSSTRING_ADD(LT_STS_EncryptLOCK_NO_KEY_PROVIDER, "can't lock without a key provider") 00046 #define LT_STS_EncryptUNLOCK_NO_KEY_PROVIDER 4011 00047 LT_STATUSSTRING_ADD(LT_STS_EncryptUNLOCK_NO_KEY_PROVIDER, "can't unlock without a key provider") 00048 #define LT_STS_EncryptTYPE_KEY_PROVIDER_DEFINED 4012 00049 LT_STATUSSTRING_ADD(LT_STS_EncryptTYPE_KEY_PROVIDER_DEFINED, "UNLOCK_WRONG_KEY with KeyProvider specific msg") 00050 #define LT_STS_EncryptPromptToENCRYPT 4013 00051 LT_STATUSSTRING_ADD(LT_STS_EncryptPromptToENCRYPT, "Prompt to encrypt") 00052 #define LT_STS_EncryptPromptToDECRYPT 4014 00053 LT_STATUSSTRING_ADD(LT_STS_EncryptPromptToDECRYPT, "Prompt to decrypt") 00054 #define LT_STS_EncryptUnused4015 4015 00055 00056 #define LT_STS_EncryptInternalError 4100 00057 LT_STATUSSTRING_ADD(LT_STS_EncryptInternalError, "Internal error") 00058 00059 #define LT_STS_EncryptMax 4999 00060 LT_STATUSSTRING_ADD(LT_STS_EncryptMax, "MAX") 00061 00062 00063 #endif // ENCRYPTSTATUS_H