/
Driver error codes
Driver error codes
General information
Some functions return a boolean result and set extended error code in internal variable. This article lists error codes and describes their meanings.
Error codes
Possible error codes are listed in a table.
Error code | Value | Description | Set by functions |
---|---|---|---|
SOPAD_ERROR_SUCCESS | 0 | No error. | |
SOPAD_ERROR_SET_MODE_FAILED | 1 | Signature device cannot switch to sign mode. | startRead, startCapture |
SOPAD_ERROR_KEYS_REQUIRED | 2 | Obsolete. | |
SOPAD_ERROR_DEVICE_FILTERED_OUT | 6 | Device serial number is not in list of allowed serial numbers (i.e. device is filtered out). | startRead, startCapture |
SOPAD_ERROR_DEVICE_OPENED | 7 | Signature device has been physically opened, signing is not possible. | startRead, startCapture |
SOPAD_ERROR_INVALID_PUBLIC_KEY | 8 | Public key of signature device is not in the list of allowed public keys (i.e. device is filtered out). | setPadSettings, startRead, startCapture |
SOPAD_ERROR_SECURITY_RESTRICTION | 9 | Attached pad cannot be accepted because too strict security level is assigned. | startRead, startCapture |
SOPAD_ERROR_SIGNATUR_PROCESS | 10 | ||
SOPAD_ERROR_KEY_GENERATOR | 11 | ||
SOPAD_ERROR_FNC_FAILED | 12 | ||
SOPAD_ERROR_FNC_NOT_SUPPORTED | 13 | ||
SOPAD_ERROR_DEVICE_NOT_FOUND | 14 | device not found | |
SOPAD_ERROR_RESOURCE_NOT_FOUND | 15 | resource not found |