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 codeValueDescriptionSet by functions
SOPAD_ERROR_SUCCESS0No error. 
SOPAD_ERROR_SET_MODE_FAILED1Signature device cannot switch to sign mode.startRead, startCapture
SOPAD_ERROR_KEYS_REQUIRED2Obsolete. 
SOPAD_ERROR_DEVICE_FILTERED_OUT6Device serial number is not in list of allowed serial numbers (i.e. device is filtered out).startRead, startCapture
SOPAD_ERROR_DEVICE_OPENED7Signature device has been physically opened, signing is not possible.startRead, startCapture
SOPAD_ERROR_INVALID_PUBLIC_KEY8Public 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_RESTRICTION9Attached pad cannot be accepted because too strict security level is assigned.startRead, startCapture
SOPAD_ERROR_SIGNATUR_PROCESS10  
SOPAD_ERROR_KEY_GENERATOR11  
SOPAD_ERROR_FNC_FAILED12  
SOPAD_ERROR_FNC_NOT_SUPPORTED13  
SOPAD_ERROR_DEVICE_NOT_FOUND14 device not found 
SOPAD_ERROR_RESOURCE_NOT_FOUND15resource not found