MrSID Decode SDK for Raster Reference Manual 9.5.5.5244
lt_encryptStatus.h
Go to the documentation of this file.
1//
2// This code is property of Celartem, Inc dba Extensis.
3// Copyright (c) 1995-2023. All rights reserved.
4// Use permitted only under license from Extensis.
5//
6/* PUBLIC */
7
8
9#ifndef ENCRYPTSTATUS_H
10#define ENCRYPTSTATUS_H
11
12// lt_lib_base
13#include "lt_base.h"
14
15#if (!defined LT_BUILDING_ENCRYPT) && (!defined LT_SUPPORT_ENCRYPTED_MRSIDS)
16#errror "you should not include this file"
17#endif
18
19#define LT_STS_EncryptBase 4000
21
22#define LT_STS_EncryptDISABLED 4001
24
25#define LT_STS_EncryptLOCK_ALREADY_LOCKED 4002
26LT_STATUSSTRING_ADD(LT_STS_EncryptLOCK_ALREADY_LOCKED, "can't lock an already-locked image")
27#define LT_STS_EncryptUNLOCK_NOT_LOCKED 4003
28LT_STATUSSTRING_ADD(LT_STS_EncryptUNLOCK_NOT_LOCKED, "can't unlock an unlocked imaged")
29#define LT_STS_EncryptLOCK_NEED_KEY 4004
30LT_STATUSSTRING_ADD(LT_STS_EncryptLOCK_NEED_KEY, "can't lock an image without a key")
31
32#define LT_STS_EncryptUNLOCK_NEED_KEY 4005
33LT_STATUSSTRING_ADD(LT_STS_EncryptUNLOCK_NEED_KEY, "can't unlock a locked image without a key")
34#define LT_STS_EncryptUNLOCK_WRONG_KEY 4006
35LT_STATUSSTRING_ADD(LT_STS_EncryptUNLOCK_WRONG_KEY, "key is valid but doesn't match image's lock")
36#define LT_STS_EncryptINVALID_LICENSE 4007
38#define LT_STS_EncryptBAD_PASSWORD 4008
40#define LT_STS_EncryptBAD_KEY 4009
41LT_STATUSSTRING_ADD(LT_STS_EncryptBAD_KEY, "key is invalid (violates definition of key)")
42#define LT_STS_EncryptLOCK_NO_KEY_PROVIDER 4010
43LT_STATUSSTRING_ADD(LT_STS_EncryptLOCK_NO_KEY_PROVIDER, "can't lock without a key provider")
44#define LT_STS_EncryptUNLOCK_NO_KEY_PROVIDER 4011
45LT_STATUSSTRING_ADD(LT_STS_EncryptUNLOCK_NO_KEY_PROVIDER, "can't unlock without a key provider")
46#define LT_STS_EncryptTYPE_KEY_PROVIDER_DEFINED 4012
47LT_STATUSSTRING_ADD(LT_STS_EncryptTYPE_KEY_PROVIDER_DEFINED, "UNLOCK_WRONG_KEY with KeyProvider specific msg")
48#define LT_STS_EncryptPromptToENCRYPT 4013
50#define LT_STS_EncryptPromptToDECRYPT 4014
52#define LT_STS_EncryptUnused4015 4015
53
54#define LT_STS_EncryptInternalError 4100
56
57#define LT_STS_EncryptMax 4999
59
60
61#endif // ENCRYPTSTATUS_H
Include file for all LizardTech sources.
#define LT_STATUSSTRING_ADD(NUM, STR)
Definition: lt_define.h:114
#define LT_STS_EncryptBase
#define LT_STS_EncryptUNLOCK_NO_KEY_PROVIDER
#define LT_STS_EncryptTYPE_KEY_PROVIDER_DEFINED
#define LT_STS_EncryptLOCK_NEED_KEY
#define LT_STS_EncryptPromptToDECRYPT
#define LT_STS_EncryptInternalError
#define LT_STS_EncryptUNLOCK_NOT_LOCKED
#define LT_STS_EncryptBAD_PASSWORD
#define LT_STS_EncryptMax
#define LT_STS_EncryptBAD_KEY
#define LT_STS_EncryptLOCK_ALREADY_LOCKED
#define LT_STS_EncryptPromptToENCRYPT
#define LT_STS_EncryptLOCK_NO_KEY_PROVIDER
#define LT_STS_EncryptDISABLED
#define LT_STS_EncryptUNLOCK_NEED_KEY
#define LT_STS_EncryptUNLOCK_WRONG_KEY
#define LT_STS_EncryptINVALID_LICENSE

Extensis