8 9 10 11
12
13
14
15
16
17
405 406
407 408 409 410 411 412 413 414 415 416 417 418 420 421 422 423
424 425 426 427 428 429 430 431 432 433 434 435
SP_ERR_IMPORT_FUNCTION_ERROR The name of the imported function in the DLL is longer than the maximum length allowed (400 bytes). SP_ERR_X64_SHELL_ENGINE Failed to initialize the shell engine for x64 applications. SP_ERR_STRONG_NAME .NET applications signed with strong names can't be protected. SP_ERR_FRAMEWORK_10 .NET Framework 1.0 is required to protect .NET 1.0 applications. SP_ERR_FRAMEWORK_SDK_10 .NET Framework SDK 1.0 is required to protect .NET 1.0 applications. SP_ERR_FRAMEWORK_11 .NET Framework 1.1 is required to protect .NET 1.1 applications. SP_ERR_FRAMEWORK_SDK_11 .NET Framework SDK 1.1 is required to protect .NET 1.1 applications. SP_ERR_FRAMEWORK_20 .NET Framework 2.0 is required to protect .NET 2.0 or 3.0 applications. SP_ERR_FRAMEWORK_SDK_20 .NET Framework SDK 2.0 is required to protect .NET 2.0 or 3.0 applications. SP_ERR_APP_NOT_SUPPORTED This version of .NET application is not supported. SP_ERR_FILE_COPY Failed to copy the appropriate DLLs into the destination directory. SP_ERR_HEADER_SIZE_EXCEED Shelling failed due to file Header Size exceeded the limit.
461 462
SP_ERR_SHELL_OPTION_FILE_FORMAT The shell option file is not in the proper format. SP_ERR_SHELL_OPTION_FILE_INVALID The shell option file contains some incorrect/invalid value for some tag. SP_ERR_DELETE_LICENSE Failed to delete the license from the token. SP_ERR_FILE_CREATE_FAILED Failed to create the Shell option XML file. SP_ERR_SHELL_FILES_LIMIT The number of source files to be shelled, specified in the shell option XML file exceeded the maximum number of files that can be shelled. SP_ERR_SINGLE_INSTANCE_ERROR Either the Toolkit, or the command line shell is already running on the same machine. SP_ERR_NO_EXE_FILE Returns this error when the user is specifying the use of shell option file and the source file does not contain even a single .exe, or .dll file.
468 469
Code
Description Sentinel Keys Client Library-specific Error Codes The function executed successfully. One or more input parameters are wrong. Please verify the values specified. Any or all of the following: o The software key format is wrong. You can find the appropriate software key in the header file for your template. o The software key is for some other Sentinel Key. o Unable to find a license for the license ID specified. You can find the license ID in the header file for your template. Invalid license handle. The license timed-out.
SP_ERR_INVALID_PARAMETER SP_ERR_SOFTWARE_KEY
203
SP_ERR_INVALID_LICENSE
The feature ID specified is wrong. Unable to find the desired Sentinel Key. Make sure you are sending the correct developer ID. The Sentinel Key is emptydoes not contain the requested license. The size of the buffer is not sufficient to hold the expected data. Please allocate sufficient memory or limit the data to match the buffer size. Any or all of the following: o The public key used for verification is incorrect. o The signed content is tampered.
208
SP_ERR_VERIFY_FAILED
209
SP_ERR_CANNOT_OPEN_DRIVER
Unable to communicate with the key probably because the Sentinel System Driver is not installed properly or not loaded.
210
SP_ERR_ACCESS_DENIED
211
SP_ERR_INVALID_DEVICE_RESPONSE
212
SP_ERR_COMMUNICATIONS_ERROR
You attempted to perform an illegal action on a feature. For example, you may have tried to read an AES or ECC feature or write a read-only feature. Unable to communicate with the key. Please verify if the key is attached properly. You may even plug-in the key again, after plugging-out. Unable to communicate with the Sentinel Key. Make sure of the following: o The Sentinel System Driver is installed and running. o The client and the Sentinel Keys Server use the same protocol. o The Sentinel Key is attached properly. o There is no network-related problem (for example, network congestion or break-down). You tried to decrement a counter that is already zero. The Sentinel Key memory is corrupt. You tried using some functionality that the feature does not support. See the topic Feature Attributes to understand the functionality for various features. The Sentinel System Driver is currently busy. Try the operation again. The client library has an older version. It needs to be updated. The operation timed out. Please try it again. The digital signature or content of the encrypted packet are not valid. The feature has not been activated. The feature cannot use the API function. Probably, the corresponding feature attribute was not selected when creating the feature. For example, SFNTEncrypt is called when Encrypt attribute was not selected while adding the AES feature. The Sentinel Key has been plugged-out. Please re-attach it and call the function again. For non-RTC keys The system clock has been tampered or the cheat counter has reached zero. For RTC key, the RTC time has been tampered. An invalid command is specified in the API function. Unable to complete the request. Insufficient resources (such as memory) are available. The specified Sentinel Key is not found. The number of executions allowed for the application/feature has finished. The query sent exceeds 112 bytes. Please send a shorter query. User Authentication required. The License ID you specified, already exists The decryption process failed. The checksum value not matching. The license image is corrupt. Insufficient memory in key to load a license.
222 223
SP_ERR_DEVICE_RESET SP_ERR_TIME_CHEAT
224 225 226 227 228 229 230 231 232 233 234
SP_ERR_INVALID_COMMAND SP_ERR_RESOURCE SP_ERR_UNIT_NOT_FOUND SP_ERR_DEMO_EXPIRED SP_ERR_QUERY_TOO_LONG SP_ERR_USER_AUTH_REQUIRED SP_ERR_DUPLICATE_LIC_ID SP_ERR_DECRYPTION_FAILED SP_ERR_BAD_CHKSUM SP_ERR_BAD_LICENSE_IMAGE SP_ERR_INSUFFICIENT_MEMORY
301
SP_ERR_SERVER_PROBABLY_NOT_UP
302
SP_ERR_UNKNOWN_HOST
The Sentinel Keys Server that the application is trying to contact is not running. The name specified for Sentinel Keys Server does not exist. If you are using IP/IPX protocol, try using the IP/IPX address instead of the host name of the system. The client is unable to parse the message received from the Sentinel Keys Server. The hard limit or user limit has been exhausted. An unsupported API function is called. Encountered an internal error. The protocol set is not installed. The Sentinel Keys Server is not able to parse the message received from client. Encountered an error in socket operations (such as, the socket initialization failed). No Sentinel Keys Server in the subnet responded. This error code is returned by the SFNTEnumServer API function.
503
SP_ERR_DLL_LOAD_ERROR The Secure Update library not found, which is: SecureUpdate.DLL for Windows libSecureUpdate32.so for Linux libSecureUpdate32.dylib for Macintosh SP_ERR_NO_CONFIG_FILE Update wizard not able to locate the configuration file. SP_ERR_INVALID_CONFIG_FILE Not a valid Configuration file. SP_ERR_UPDATE_WIZARD_NOT_FOUND Could not find UpdateWizard.exe. SP_ERR_UPDATE_WIZARD_SPAWN_ERROR There was an error in spawning the Update Wizard. SP_ERR_EXCEPTION_ERROR An exception error occurred within the Update Wizard. SP_ERR_INVALID_CLIENT_LIB Not a valid Secure Update DLL. SP_ERR_CABINET_DLLThe CABINET.DLL is not found on target system. SP_ERR_INSUFFICIENT_REQ_CODE_BUFFER The size of the request buffer is not sufficient to hold the request code. SP_ERR_UPDATE_WIZARD_USER_CANCELLED The application was canceled when the try/buy option is shown. Applicable only to applications that use Sentinel Update Wizard and are protected using Shell. SP_ERR_INVALID_DLL_VERSION The Secure Update DLL version is invalid. SP_ERR_INVALID_FILE_TYPE The type of the file is invalid. File types can be .upw or .nlf. SP_ERR_COMMUNICATIONS_ERROR Unable to communicate with the Sentinel Key. Make sure of the following: The Sentinel System Driver is installed and running. The client and the Sentinel Keys Server use the same protocol. The Sentinel Key is attached properly. There is no network-related problem (for example, network congestion or break-down). SP_ERR_UNIT_NOT_FOUND The specified Sentinel Key is not found. /* Common error codes for Secure Update and Key Programming Library*/
226
SP_ERR_DUPLICATE_LIC_ID The License ID you specified, already exists. SP_ERR_DECRYPTION_FAILED The decryption process failed. SP_ERR_BAD_CHKSUM The checksum value not matching. SP_ERR_BAD_LICENSE_IMAGE The license image is corrupt. SP_ERR_INSUFFICIENT_MEMORY Insufficient memory in key to load a license.