MrSID Decode SDK for Raster Reference Manual  9.5.1.4427
lt_encryptStatus.h
Go to the documentation of this file.
1 /* $Id$ */
2 /* //////////////////////////////////////////////////////////////////////////
3 // //
4 // This code is Copyright (c) 2005 LizardTech, Inc, 1008 Western Avenue, //
5 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution //
6 // prohibited. Access to and use of this code is permitted only under //
7 // license from LizardTech, Inc. Portions of the code are protected by //
8 // US and foreign patents and other filings. All Rights Reserved. //
9 // //
11 /* PUBLIC */
12 
13 
14 #ifndef ENCRYPTSTATUS_H
15 #define ENCRYPTSTATUS_H
16 
17 // lt_lib_base
18 #include "lt_base.h"
19 
20 
21 #define LT_STS_EncryptBase 4000
23 
24 #define LT_STS_EncryptDISABLED 4001
25 LT_STATUSSTRING_ADD(LT_STS_EncryptDISABLED, "security disabled")
26 
27 #define LT_STS_EncryptLOCK_ALREADY_LOCKED 4002
28 LT_STATUSSTRING_ADD(LT_STS_EncryptLOCK_ALREADY_LOCKED, "can't lock an already-locked image")
29 #define LT_STS_EncryptUNLOCK_NOT_LOCKED 4003
30 LT_STATUSSTRING_ADD(LT_STS_EncryptUNLOCK_NOT_LOCKED, "can't unlock an unlocked imaged")
31 #define LT_STS_EncryptLOCK_NEED_KEY 4004
32 LT_STATUSSTRING_ADD(LT_STS_EncryptLOCK_NEED_KEY, "can't lock an image without a key")
33 
34 #define LT_STS_EncryptUNLOCK_NEED_KEY 4005
35 LT_STATUSSTRING_ADD(LT_STS_EncryptUNLOCK_NEED_KEY, "can't unlock a locked image without a key")
36 #define LT_STS_EncryptUNLOCK_WRONG_KEY 4006
37 LT_STATUSSTRING_ADD(LT_STS_EncryptUNLOCK_WRONG_KEY, "key is valid but doesn't match image's lock")
38 #define LT_STS_EncryptINVALID_LICENSE 4007
40 #define LT_STS_EncryptBAD_PASSWORD 4008
41 LT_STATUSSTRING_ADD(LT_STS_EncryptBAD_PASSWORD, "Password is invalid")
42 #define LT_STS_EncryptBAD_KEY 4009
43 LT_STATUSSTRING_ADD(LT_STS_EncryptBAD_KEY, "key is invalid (violates definition of key)")
44 #define LT_STS_EncryptLOCK_NO_KEY_PROVIDER 4010
45 LT_STATUSSTRING_ADD(LT_STS_EncryptLOCK_NO_KEY_PROVIDER, "can't lock without a key provider")
46 #define LT_STS_EncryptUNLOCK_NO_KEY_PROVIDER 4011
47 LT_STATUSSTRING_ADD(LT_STS_EncryptUNLOCK_NO_KEY_PROVIDER, "can't unlock without a key provider")
48 #define LT_STS_EncryptTYPE_KEY_PROVIDER_DEFINED 4012
49 LT_STATUSSTRING_ADD(LT_STS_EncryptTYPE_KEY_PROVIDER_DEFINED, "UNLOCK_WRONG_KEY with KeyProvider specific msg")
50 #define LT_STS_EncryptPromptToENCRYPT 4013
52 #define LT_STS_EncryptPromptToDECRYPT 4014
54 #define LT_STS_EncryptUnused4015 4015
55 
56 #define LT_STS_EncryptInternalError 4100
58 
59 #define LT_STS_EncryptMax 4999
61 
62 
63 #endif // ENCRYPTSTATUS_H
#define LT_STS_EncryptPromptToDECRYPT
#define LT_STS_EncryptBAD_KEY
#define LT_STS_EncryptDISABLED
#define LT_STS_EncryptBAD_PASSWORD
#define LT_STS_EncryptUNLOCK_WRONG_KEY
Include file for all LizardTech sources.
#define LT_STS_EncryptLOCK_ALREADY_LOCKED
#define LT_STS_EncryptUNLOCK_NO_KEY_PROVIDER
#define LT_STS_EncryptBase
#define LT_STS_EncryptPromptToENCRYPT
#define LT_STS_EncryptTYPE_KEY_PROVIDER_DEFINED
#define LT_STS_EncryptLOCK_NEED_KEY
#define LT_STS_EncryptMax
#define LT_STS_EncryptInternalError
#define LT_STS_EncryptUNLOCK_NEED_KEY
#define LT_STATUSSTRING_ADD(NUM, STR)
Definition: lt_define.h:141
#define LT_STS_EncryptUNLOCK_NOT_LOCKED
#define LT_STS_EncryptLOCK_NO_KEY_PROVIDER
#define LT_STS_EncryptINVALID_LICENSE

LizardTech