# eRFID\_NotificationAndErrorCodes

`eRFID_NotificationAndErrorCodes` enumeration contains a set of notification and error codes returned to the user application by calling the callback-function.

```java
public class eRFID_NotificationAndErrorCodes {
    public static final int RFID_NOTIFICATION_ERROR = 65536;
    public static final int RFID_NOTIFICATION_DOCUMENT_READY = 65537;
    public static final int RFID_NOTIFICATION_READ_PROTOCOL4 = 65539;
    public static final int RFID_NOTIFICATION_READ_PROTOCOL3 = 65546;
    public static final int RFID_NOTIFICATION_PROGRESS = 65547;
    public static final int RFID_NOTIFICATION_TA_STEP = 65550;
    public static final int RFID_NOTIFICATION_SM_REQUIRED = 65551;
    public static final int RFID_NOTIFICATION_ISO_ERROR = 69632;
    public static final int RFID_NOTIFICATION_PA_REQUEST = 77824;
    public static final int RFID_NOTIFICATION_SM_ESTABLISHED = 81935;
    public static final int RFID_NOTIFICATION_PCSC_READER_DISCONNECTED = 131072;
    public static final int RFID_NOTIFICATION_PCSC_READER_LIST_CHANGED = 131073;
    public static final int RFID_NOTIFICATION_PCSC_BYTES_RECEIVED = 131074;
    public static final int RFID_NOTIFICATION_PCSC_TOTAL_READING_TIME = 131075;
    public static final int RFID_NOTIFICATION_PCSC_DATA_RECEIVED = 131076;
    public static final int RFID_NOTIFICATION_PCSC_BYTES_SENT = 131077;
    public static final int RFID_NOTIFICATION_PCSC_TOTAL_READING_SPEED = 131078;
    public static final int RFID_NOTIFICATION_PCSC_TOTAL_PROCESS_TIME = 131079;
    public static final int RFID_NOTIFICATION_PCSC_READER_LIST_CHANGING = 131080;
    public static final int RFID_NOTIFICATION_PCSC_EXT_LENGTH_SUPPORT = 131088;
    public static final int RFID_NOTIFICATION_PA_CERTIFICATE_CHAIN = 131089;
    public static final int RFID_NOTIFICATION_PA_CERTIFICATE_CHAIN_ITEM = 131090;
    public static final int RFID_NOTIFICATION_SCENARIO = 131104;
    public static final int RFID_NOTIFICATION_PCSC_READING_DATAGROUP = 196608;
    public static final int RFID_NOTIFICATION_PCSC_FILE_NOT_FOUND = 262144;
    public static final int RFID_NOTIFICATION_PCSC_END_OF_FILE = 327680;
    public static final int RFID_NOTIFICATION_PCSC_FILE_ACCESS_DENIED = 393216;
    public static final int RFID_NOTIFICATION_PCSC_APPLICATION_SELECTED = 458752;
    public static final int RFID_NOTIFICATION_AC_PROCEDURE_START = 524288;
    public static final int RFID_NOTIFICATION_AC_PROCEDURE_FINISH = 589824;
    public static final int RFID_NOTIFICATION_PA_SECURITY_OBJECT_CHECK = 655360;
    public static final int RFID_NOTIFICATION_PA_FILE_CHECK = 720896;
    public static final int RFID_NOTIFICATION_PCSC_UPDATING_DATAGROUP = 786432;
    public static final int RFID_NOTIFICATION_AUXILIARY_DATA_VALIDATION = 851968;
    public static final int RFID_NOTIFICATION_RI_SECTOR_ID = 917504;
    public static final int RFID_NOTIFICATION_BIOMETRICS_EMPTY_PLACEHOLDER = 983040;
    public static final int RFID_ERROR_NO_ERROR = 1;
    public static final int RFID_ERROR_ALREADY_DONE = 2;
    public static final int RFID_LAYER6_FILE_EOF1 = -2147458430;
    public static final int RFID_LAYER6_PWD_DEACTIVATED = -2147458429;
    public static final int RFID_LAYER6_PWD_BLOCKED = -2147458112;
    public static final int RFID_LAYER6_PWD_SUSPENDED = -2147458111;
    public static final int RFID_LAYER6_PWD_BLOCKED_2 = -2147456637;
    public static final int RFID_LAYER6_PWD_DEACTIVATED_2 = -2147456636;
    public static final int RFID_LAYER6_PWD_SUSPENDED_2 = -2147456635;
    public static final int RFID_LAYER6_MSE_SET_AT_FAILURE = -2046819578;
    public static final int RFID_LAYER6_INCORRECT_PARAMS = -2147456384;
    public static final int RFID_LAYER6_FILE_NOT_FOUND = -2147456382;
    public static final int RFID_LAYER6_NO_REFERENCE_DATA = -2147456376;
    public static final int RFID_LAYER6_FILE_EOF2 = -2147456256;
    public static final int RFID_Error_GraphManager = -2147418112;
    public static final int RFID_ERROR_NO_CHIP_DETECTED = -2147418111;
    public static final int RFID_ERROR_NOT_AVAILABLE = -2147418110;
    public static final int RFID_ERROR_INVALID_PARAMETER = -2147418108;
    public static final int RFID_ERROR_NOT_INITIALIZED = -2147418107;
    public static final int RFID_Error_NotEnoughMemory = -2147418106;
    public static final int RFID_ERROR_INVALID_DIRECTORY = -2147418104;
    public static final int RFID_ERROR_UNKNOWN_COMMAND = -2147418103;
    public static final int RFID_ERROR_FILE_IO_ERROR = -2147418102;
    public static final int RFID_ERROR_BUSY = -2147418101;
    public static final int RFID_ERROR_OLD_FIRMWARE = -2147418100;
    public static final int RFID_ERROR_PCSC_FAILED = -2147352576;
    public static final int RFID_ERROR_PCSC_READER_NOT_AVAILABLE = -2147352575;
    public static final int RFID_ERROR_PCSC_CANT_CONNECT_CARD = -2147352574;
    public static final int RFID_ERROR_PCSC_CARD_IS_NOT_CONNECTED = -2147352573;
    public static final int RFID_ERROR_PCSC_OPERATION_CANCELLED = -2147352572;
    public static final int RFID_ERROR_PCSC_CARD_IS_BUSY = -2147352571;
    public static final int RFID_ERROR_PCSC_FAILED_S_CARD = -2147352570;
    public static final int RFID_ERROR_PCSC_EXT_LE_FAILED = -2147352560;
    public static final int RFID_LAYER6_PWD_FAILED = -2146409536;
    public static final int RFID_ERROR_NOT_PERFORMED = -2097152000;
    public static final int RFID_ERROR_SESSION_IS_CLOSED = -2097151999;
    public static final int RFID_ERROR_SESSION_TERMINAL_UNSUPPORTED_OPERATION = -2097151998;
    public static final int RFID_ERROR_SESSION_TERMINAL_TYPE_UNKNOWN = -2097151984;
    public static final int RFID_ERROR_SESSION_TERMINAL_TYPE_BAD_CERTIFICATE = -2097151983;
    public static final int RFID_ERROR_SESSION_TERMINAL_TYPE_NOT_SET = -2097151982;
    public static final int RFID_ERROR_SESSION_PROCEDURE_TYPE_UNKNOWN = -2097151981;
    public static final int RFID_ERROR_SESSION_PROCEDURE_TYPE_UNSUPPORTED = -2097151980;
    public static final int RFID_ERROR_SESSION_PROCEDURE_TYPE_NOT_SET = -2097151979;
    public static final int RFID_ERROR_SESSION_ACCESS_KEY_UNKNOWN_TYPE = -2097151978;
    public static final int RFID_ERROR_SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE = -2097151977;
    public static final int RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_SM_TYPE = -2097151976;
    public static final int RFID_ERROR_SESSION_ACCESS_KEY_RESTRICTED = -2097151975;
    public static final int RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_DATA = -2097151974;
    public static final int RFID_ERROR_SESSION_ACCESS_KEY_NOT_SET = -2097151973;
    public static final int RFID_ERROR_SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED = -2097151972;
    public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_UNKNOWN_TYPE = -2097151968;
    public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_SM = -2097151967;
    public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_PACE = -2097151966;
    public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS = -2097151965;
    public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_TA = -2097151964;
    public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA = -2097151963;
    public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA = -2097151962;
    public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_CA_FAILED = -2097151961;
    public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_TA_FAILED = -2097151960;
    public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_AA_FAILED = -2097151959;
    public static final int RFID_ERROR_SESSION_ACCESS_CONTROL_RI_FAILED = -2097151958;
    public static final int RFID_ERROR_SESSION_PA_SIGNATURE_CHECK_FAILED = -2097151952;
    public static final int RFID_ERROR_SESSION_PA_HASH_CHECK_FAILED = -2097151951;
    public static final int RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY = -2097151936;
    public static final int RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH = -2097151935;
    public static final int RFID_ERROR_SESSION_INVALID_AUX_DATA_COMMUNITY_ID = -2097151934;
    public static final int RFID_ERROR_SESSION_E_SIGN_REQUIRES_APP_SELECTION = -2097151920;
    public static final int RFID_ERROR_SESSION_E_SIGN_PIN_NOT_SET = -2097151919;
    public static final int RFID_ERROR_SESSION_E_SIGN_PIN_NOT_VERIFIED = -2097151918;
    public static final int RFID_ERROR_SESSION_INCORRECT_DATA = -2097151904;
    public static final int RFID_ERROR_SESSION_FILE_NOT_ENOUGH_DATA = -2097086464;
    public static final int RFID_ERROR_SESSION_FILE_INCORRECT_DATA = -2097020928;
    public static final int RFID_ERROR_SESSION_FILE_UNEXPECTED_DATA = -2096955392;
    public static final int RFID_ERROR_SESSION_FILE_CONTENTS_UNEXPECTED_DATA = -2096889856;
    public static final int RFID_ERROR_SESSION_FILE_WRONG_TAG = -2096824320;
    public static final int RFID_ERROR_SESSION_FILE_CANT_USE_DATA = -2096758784;
    public static final int RFID_ERROR_SESSION_FILE_CANT_READ_DATA = -2096693248;
    public static final int RFID_ERROR_SESSION_FILE_ACCESS_DENIED = -2096627712;
    public static final int RFID_LAYER6_SECURITY_MANAGER = -2046820352;
    public static final int RFID_LAYER6_APP_SELECTION_FAILURE = -2046820351;
    public static final int RFID_LAYER6_MUTUAL_AUTH_MAC_FAIL = -2046820096;
    public static final int RFID_LAYER6_MUTUAL_AUTH_ENC_FAIL = -2046820095;
    public static final int RFID_LAYER6_MUTUAL_AUTH_FAILURE = -2046820094;
    public static final int RFID_LAYER6_SM_DO8E_MISSING = -2046819840;
    public static final int RFID_LAYER6_SM_DO87_MISSING = -2046819839;
    public static final int RFID_LAYER6_SM_DO99_MISSING = -2046819838;
    public static final int RFID_LAYER6_SM_MAC_INCORRECT = -2046819837;
    public static final int RFID_LAYER6_SM_DO87_INCORRECT = -2046819836;
    public static final int RFID_LAYER6_NON_TLV_RESPONSE_DATA = -2046819584;
    public static final int RFID_LAYER6_WRONG_RND_ICC_LENGTH = -2046819583;
    public static final int RFID_LAYER6_INT_AUTH_FAILURE = -2046819582;
    public static final int RFID_LAYER6_MSE_SET_KAT_FAILURE = -2046819581;
    public static final int RFID_LAYER6_MSE_SET_DST_FAILURE = -2046819580;
    public static final int RFID_LAYER6_PSO_CERTIFICATE_FAILURE = -2046819579;
    public static final int RFID_LAYER6_GET_CHALLENGE_FAILURE = -2046819577;
    public static final int RFID_LAYER6_EXT_AUTH_FAILURE = -2046819576;
    public static final int RFID_LAYER6_GENERAL_AUTH_FAILURE = -2046819575;
    public static final int RFID_ERROR_FAILED = -1;
}
```

| Constant                                                         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **RFID\_NOTIFICATION\_ERROR**                                    | error                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **RFID\_NOTIFICATION\_DOCUMENT\_READY**                          | event of appearance of RFID-chip in the scope of the reader antenna or its moving away from the scope of the reader                                                                                                                                                                                                                                                                                                                                     |
| **RFID\_NOTIFICATION\_READ\_PROTOCOL4**                          | event of the beginning/end of data reading from the RFID-chip via ISO/IEC 14443-4 protocol when working in the batch mode                                                                                                                                                                                                                                                                                                                               |
| **RFID\_NOTIFICATION\_READ\_PROTOCOL3**                          | event of the beginning/end of data reading from the RFID-chip via ISO/IEC 14443-3 protocol.                                                                                                                                                                                                                                                                                                                                                             |
| **RFID\_NOTIFICATION\_PROGRESS**                                 | indication of the progress of execution of data reading operation                                                                                                                                                                                                                                                                                                                                                                                       |
| **RFID\_NOTIFICATION\_TA\_STEP**                                 | indication of the next step of terminal authentication in *Online-authentication* mode                                                                                                                                                                                                                                                                                                                                                                  |
| **RFID\_NOTIFICATION\_SM\_REQUIRED**                             | event of detection of the need to organize a secure communication channel                                                                                                                                                                                                                                                                                                                                                                               |
| **RFID\_NOTIFICATION\_ISO\_ERROR**                               | event informing the user application on detection of data in compliance processed with the regulations of normative documents, errors when executing the current operation                                                                                                                                                                                                                                                                              |
| **RFID\_NOTIFICATION\_PA\_REQUEST**                              | request of the user-defined DS-certificate prior to the procedure of digital signature verification of EF.SOD document security object in the batch mode                                                                                                                                                                                                                                                                                                |
| **RFID\_NOTIFICATION\_SM\_ESTABLISHED**                          | event of the result of the opening of a secure communication channel                                                                                                                                                                                                                                                                                                                                                                                    |
| **RFID\_NOTIFICATION\_PCSC\_READER\_DISCONNECTED**               | event of unplugging of the RFID-chip reader                                                                                                                                                                                                                                                                                                                                                                                                             |
| **RFID\_NOTIFICATION\_PCSC\_READER\_LIST\_CHANGED**              | event of the end of reorganization of the list of RFID-readers, working under PC/SC-driver control                                                                                                                                                                                                                                                                                                                                                      |
| **RFID\_NOTIFICATION\_PCSC\_BYTES\_RECEIVED**                    | transfer of the total amount of information received from the RFID-chip to the user application during execution of data reading operation                                                                                                                                                                                                                                                                                                              |
| **RFID\_NOTIFICATION\_PCSC\_TOTAL\_READING\_TIME**               | transfer of the total time of execution of data reading operation to the user application                                                                                                                                                                                                                                                                                                                                                               |
| **RFID\_NOTIFICATION\_PCSC\_DATA\_RECEIVED**                     | transfer of the total amount of information and service groups data received from the RFID-chip to the user application during execution of data reading operation                                                                                                                                                                                                                                                                                      |
| **RFID\_NOTIFICATION\_PCSC\_BYTES\_SENT**                        | transfer of the total amount of information transmitted to the RFID-chip to the user application during execution of data reading operation                                                                                                                                                                                                                                                                                                             |
| **RFID\_NOTIFICATION\_PCSC\_TOTAL\_READING\_SPEED**              | transfer of the average data reading rate to the user application                                                                                                                                                                                                                                                                                                                                                                                       |
| **RFID\_NOTIFICATION\_PCSC\_TOTAL\_PROCESS\_TIME**               | transfer of the total time of execution of data reading procedure to the user application                                                                                                                                                                                                                                                                                                                                                               |
| **RFID\_NOTIFICATION\_PCSC\_READER\_LIST\_CHANGING**             | event of the beginning of reorganization of the list of RFID-readers, working under PC/SC-driver control                                                                                                                                                                                                                                                                                                                                                |
| **RFID\_NOTIFICATION\_PCSC\_EXT\_LENGTH\_SUPPORT**               | event of detection of extended length reading commands support by the RFID-chip                                                                                                                                                                                                                                                                                                                                                                         |
| **RFID\_NOTIFICATION\_PA\_CERTIFICATE\_CHAIN**                   | event of the start/end of the certificate chain formation for the document security object digital signature verification as a part of passive authentication procedure                                                                                                                                                                                                                                                                                 |
| **RFID\_NOTIFICATION\_PA\_CERTIFICATE\_CHAIN\_ITEM**             | event that indicates a type of the current analyzed element of the certificate chain being composed                                                                                                                                                                                                                                                                                                                                                     |
| **RFID\_NOTIFICATION\_SCENARIO**                                 | a request from the user application of some data or actions in a certain step of the scenario                                                                                                                                                                                                                                                                                                                                                           |
| **RFID\_NOTIFICATION\_PCSC\_READING\_DATAGROUP**                 | event of the beginning/end of file reading                                                                                                                                                                                                                                                                                                                                                                                                              |
| **RFID\_NOTIFICATION\_PCSC\_FILE\_NOT\_FOUND**                   | event of detection of file absence                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **RFID\_NOTIFICATION\_PCSC\_END\_OF\_FILE**                      | event of reaching the file end when performing its reading                                                                                                                                                                                                                                                                                                                                                                                              |
| **RFID\_NOTIFICATION\_PCSC\_FILE\_ACCESS\_DENIED**               | event of detection of absence of the file access rights                                                                                                                                                                                                                                                                                                                                                                                                 |
| **RFID\_NOTIFICATION\_PCSC\_APPLICATION\_SELECTED**              | event of the application selection operation                                                                                                                                                                                                                                                                                                                                                                                                            |
| **RFID\_NOTIFICATION\_AC\_PROCEDURE\_START**                     | event of the beginning of the authentication or secure data access procedure                                                                                                                                                                                                                                                                                                                                                                            |
| **RFID\_NOTIFICATION\_AC\_PROCEDURE\_FINISH**                    | event of the end of the authentication or secure data access procedure                                                                                                                                                                                                                                                                                                                                                                                  |
| **RFID\_NOTIFICATION\_PA\_SECURITY\_OBJECT\_CHECK**              | event of the data security object verification as part of PA                                                                                                                                                                                                                                                                                                                                                                                            |
| **RFID\_NOTIFICATION\_PA\_FILE\_CHECK**                          | event of the file data integrity checking as part of PA                                                                                                                                                                                                                                                                                                                                                                                                 |
| **RFID\_NOTIFICATION\_PCSC\_UPDATING\_DATAGROUP**                | event of the procedure of file contents updating                                                                                                                                                                                                                                                                                                                                                                                                        |
| **RFID\_NOTIFICATION\_AUXILIARY\_DATA\_VALIDATION**              | event of the auxiliary data verification                                                                                                                                                                                                                                                                                                                                                                                                                |
| **RFID\_NOTIFICATION\_RI\_SECTOR\_ID**                           | event of the receiving of the sector identifier data during RI                                                                                                                                                                                                                                                                                                                                                                                          |
| **RFID\_NOTIFICATION\_BIOMETRICS\_EMPTY\_PLACEHOLDER**           | event of the detection of real biometric data absence in DG3 or DG4 and random filling data usage \[35, R7-p1\_v2\_sIII\_0057, R7-p3\_v2\_sIII\_0011]                                                                                                                                                                                                                                                                                                   |
| **RFID\_ERROR\_NO\_ERROR**                                       | successful operation                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **RFID\_ERROR\_ALREADY\_DONE**                                   | requested operation has already been performed                                                                                                                                                                                                                                                                                                                                                                                                          |
| **RFID\_LAYER6\_FILE\_EOF1**                                     | attempt of reading outside the end of the file                                                                                                                                                                                                                                                                                                                                                                                                          |
| **RFID\_LAYER6\_PWD\_DEACTIVATED**                               | error of the execution of MSE:Set AT (when performing PACE). It means that the selected password is deactivated. It is required to perform a procedure of password activation                                                                                                                                                                                                                                                                           |
| **RFID\_LAYER6\_PWD\_BLOCKED**                                   | error of the execution of MSE:Set AT (when performing PACE) or *General Authenticate* (variants of appearance are analogue to  *RFID\_LAYER6\_GE- NERAL\_AUTH\_ FAILURE).* It means that the selected password is blocked. It is required to perform a procedure of password unblocking                                                                                                                                                                 |
| **RFID\_LAYER6\_PWD\_SUSPENDED**                                 | error of the execution of MSE:Set AT (when performing PACE) or General Authenticate (variants of appearance are analogue to *RFID\_LAYER6\_GE- NERAL\_AUTH\_ FAILURE).* It means that the selected password is suspended. It is required to perform a procedure of password resuming                                                                                                                                                                    |
| **RFID\_LAYER6\_PWD\_BLOCKED\_2**                                | error of the execution of *General Authenticate* APDU-command or commands of work with *eSign* application. It means that the selected password is blocked. It is required to perform procedure of password unblocking                                                                                                                                                                                                                                  |
| **RFID\_LAYER6\_PWD\_DEACTIVATED\_2**                            | error of the execution of *General Authenticate* APDU-command when performing PACE procedure or commands of work with *eSign* application. It means that the selected password is deactivated. It is required to perform procedure of password activation                                                                                                                                                                                               |
| **RFID\_LAYER6\_PWD\_SUSPENDED\_2**                              | error of *General Authenticate* APDU-command execution when performing PACE. It means that the selected password is suspended. It is required to perform procedure of password resuming                                                                                                                                                                                                                                                                 |
| **RFID\_LAYER6\_MSE\_SET\_AT\_FAILURE**                          | <p>error of MSE:Set AT APDU-command execution when performing the procedures:</p><ul><li>PACE</li><li>TA</li><li>CA</li><li>RI</li></ul>                                                                                                                                                                                                                                                                                                                |
| **RFID\_LAYER6\_INCORRECT\_PARAMS**                              | error of the execution of MSE:Set AT (variants of appearance – see *RFID\_LAYER6\_- MSE\_SET\_AT\_- FAILURE* description) or *General Authenticate* (variants of appearance – see *RFID\_LAYER6\_- GENERAL\_AUTH\_- FAILURE* description).                                                                                                                                                                                                              |
| **RFID\_LAYER6\_FILE\_NOT\_FOUND**                               | file not found                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **RFID\_LAYER6\_NO\_REFERENCE\_DATA**                            | unavailable data, pointed to by the APDU-command parameters                                                                                                                                                                                                                                                                                                                                                                                             |
| **RFID\_LAYER6\_FILE\_EOF2**                                     | attempt of reading outside the file end of the                                                                                                                                                                                                                                                                                                                                                                                                          |
| **RFID\_Error\_GraphManager**                                    | connection error                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **RFID\_ERROR\_NO\_CHIP\_DETECTED**                              | RFID-chip is absent in the scope of the reader                                                                                                                                                                                                                                                                                                                                                                                                          |
| **RFID\_ERROR\_NOT\_AVAILABLE**                                  | requested operation unavailable                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **RFID\_ERROR\_INVALID\_PARAMETER**                              | incorrect command parameter                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **RFID\_ERROR\_NOT\_INITIALIZED**                                | SDK control library was not initialized                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **RFID\_Error\_NotEnoughMemory**                                 | insufficient memory for command execution                                                                                                                                                                                                                                                                                                                                                                                                               |
| **RFID\_ERROR\_INVALID\_DIRECTORY**                              | incorrect directory name                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **RFID\_ERROR\_UNKNOWN\_COMMAND**                                | unknown command                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **RFID\_ERROR\_FILE\_IO\_ERROR**                                 | file input/output error                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **RFID\_ERROR\_BUSY**                                            | SDK control library is busy. Execution of the command is impossible                                                                                                                                                                                                                                                                                                                                                                                     |
| **RFID\_ERROR\_OLD\_FIRMWARE**                                   | it is required to update reader’s firmware                                                                                                                                                                                                                                                                                                                                                                                                              |
| **RFID\_ERROR\_PCSC\_FAILED**                                    | error of command of data exchange with RFID-chip execution (common case)                                                                                                                                                                                                                                                                                                                                                                                |
| **RFID\_ERROR\_PCSC\_READER\_NOT\_AVAILABLE**                    | RFID-chip reader unavailable                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **RFID\_ERROR\_PCSC\_CANT\_CONNECT\_CARD**                       | failed to connect with RFID-chip                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **RFID\_ERROR\_PCSC\_CARD\_IS\_NOT\_CONNECTED**                  | no active RFID-chip                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **RFID\_ERROR\_PCSC\_OPERATION\_CANCELLED**                      | data reading operation cancelled by the user                                                                                                                                                                                                                                                                                                                                                                                                            |
| **RFID\_ERROR\_PCSC\_CARD\_IS\_BUSY**                            | data exchange with RFID-chip takes place. Execution of the command is impossible                                                                                                                                                                                                                                                                                                                                                                        |
| **RFID\_ERROR\_PCSC\_FAILED\_S\_CARD**                           | error of *SCard* service when data exchanging with RFID-chip                                                                                                                                                                                                                                                                                                                                                                                            |
| **RFID\_ERROR\_PCSC\_EXT\_LE\_FAILED**                           | error of executing command of extended length reading. Full reinitialization of RFID-chip is required                                                                                                                                                                                                                                                                                                                                                   |
| **RFID\_LAYER6\_PWD\_FAILED**                                    | <p>error of the execution of MSE:Set AT when performing PACE procedure or <em>General Authenticate</em></p><p>(variants of appearance are analogue to RFID\_ LAYER6\_GENERA L\_AUTH\_FAILURE ). It means that incorrect password value has been used. Low order 8 bits of code contain the remaining number of attempts for this password. The user application may try to repeat an attempt of performing the required procedure with other values</p> |
| **RFID\_ERROR\_NOT\_PERFORMED**                                  | operation was not performed                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **RFID\_ERROR\_SESSION\_IS\_CLOSED**                             | session closed, operation impossible                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **RFID\_ERROR\_SESSION\_TERMINAL\_UNSUPPORTED\_OPERATION**       | operation is not supported by the current type of terminal                                                                                                                                                                                                                                                                                                                                                                                              |
| **RFID\_ERROR\_SESSION\_TERMINAL\_TYPE\_UNKNOWN**                | unknown type of terminal                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **RFID\_ERROR\_SESSION\_TERMINAL\_TYPE\_BAD\_CERTIFICATE**       | error of reading or analysis of the terminal certificate data                                                                                                                                                                                                                                                                                                                                                                                           |
| **RFID\_ERROR\_SESSION\_TERMINAL\_TYPE\_NOT\_SET**               | terminal type was not defined for the current session                                                                                                                                                                                                                                                                                                                                                                                                   |
| **RFID\_ERROR\_SESSION\_PROCEDURE\_TYPE\_UNKNOWN**               | unknown authentication procedure type                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **RFID\_ERROR\_SESSION\_PROCEDURE\_TYPE\_UNSUPPORTED**           | defined type terminal does not support this type of procedure                                                                                                                                                                                                                                                                                                                                                                                           |
| **RFID\_ERROR\_SESSION\_PROCEDURE\_TYPE\_NOT\_SET**              | type of authentication procedure was not set for the current session                                                                                                                                                                                                                                                                                                                                                                                    |
| **RFID\_ERROR\_SESSION\_ACCESS\_KEY\_UNKNOWN\_TYPE**             | unknown access key type                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **RFID\_ERROR\_SESSION\_ACCESS\_KEY\_UNSUPPORTED\_SM\_TYPE**     | unsupported type of secure data access procedure                                                                                                                                                                                                                                                                                                                                                                                                        |
| **RFID\_ERROR\_SESSION\_ACCESS\_KEY\_INCORRECT\_SM\_TYPE**       | secure data access procedure does not allow to use the given key type                                                                                                                                                                                                                                                                                                                                                                                   |
| **RFID\_ERROR\_SESSION\_ACCESS\_KEY\_RESTRICTED**                | key type is not supported by the current terminal type, or the rights to its use are insufficient                                                                                                                                                                                                                                                                                                                                                       |
| **RFID\_ERROR\_SESSION\_ACCESS\_KEY\_INCORRECT\_DATA**           | incorrect key contents (empty or zero string)                                                                                                                                                                                                                                                                                                                                                                                                           |
| **RFID\_ERROR\_SESSION\_ACCESS\_KEY\_NOT\_SET**                  | secure data access key was not set for the current session                                                                                                                                                                                                                                                                                                                                                                                              |
| **RFID\_ERROR\_SESSION\_PWD\_MANAGEMENT\_NOT\_AUTHORIZED**       | operation of password management is not authorized for the current terminal type                                                                                                                                                                                                                                                                                                                                                                        |
| **RFID\_ERROR\_SESSION\_ACCESS\_CONTROL\_UNKNOWN\_TYPE**         | unknown type of the procedure of authentication or secure data access                                                                                                                                                                                                                                                                                                                                                                                   |
| **RFID\_ERROR\_SESSION\_ACCESS\_CONTROL\_REQUIRES\_SM**          | preliminary opening of the secure data access session is required (PACE or BAC)                                                                                                                                                                                                                                                                                                                                                                         |
| **RFID\_ERROR\_SESSION\_ACCESS\_CONTROL\_REQUIRES\_PACE**        | preliminary opening of the secure data access session is required (PACE)                                                                                                                                                                                                                                                                                                                                                                                |
| **RFID\_ERROR\_SESSION\_ACCESS\_CONTROL\_REQUIRES\_CA\_KEYS**    | execution of TA preliminary step (for version 2) is required – computing CA ephemeral public keys                                                                                                                                                                                                                                                                                                                                                       |
| **RFID\_ERROR\_SESSION\_ACCESS\_CONTROL\_REQUIRES\_TA**          | preliminary TA procedure is required                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **RFID\_ERROR\_SESSION\_ACCESS\_CONTROL\_REQUIRES\_CA**          | preliminary CA procedure is required                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **RFID\_ERROR\_SESSION\_ACCESS\_CONTROL\_INCORRECT\_OPTION\_CA** | discrepancy between the selected CA variant on the preliminary and main stages                                                                                                                                                                                                                                                                                                                                                                          |
| **RFID\_ERROR\_SESSION\_ACCESS\_CONTROL\_CA\_FAILED**            | CA procedure failed                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **RFID\_ERROR\_SESSION\_ACCESS\_CONTROL\_TA\_FAILED**            | TA procedure failed                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **RFID\_ERROR\_SESSION\_ACCESS\_CONTROL\_AA\_FAILED**            | AA procedure failed                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **RFID\_ERROR\_SESSION\_ACCESS\_CONTROL\_RI\_FAILED**            | RI procedure failed                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **RFID\_ERROR\_SESSION\_PA\_SIGNATURE\_CHECK\_FAILED**           | document security object digital signature verification failed                                                                                                                                                                                                                                                                                                                                                                                          |
| **RFID\_ERROR\_SESSION\_PA\_HASH\_CHECK\_FAILED**                | informational data group integrity verification failed                                                                                                                                                                                                                                                                                                                                                                                                  |
| **RFID\_ERROR\_SESSION\_INVALID\_AUX\_DATA\_DATE\_OF\_EXPIRY**   | verification of auxiliary data (*date of expiry*) failed                                                                                                                                                                                                                                                                                                                                                                                                |
| **RFID\_ERROR\_SESSION\_INVALID\_AUX\_DATA\_DATE\_OF\_BIRTH**    | verification of auxiliary data (*age*) failed                                                                                                                                                                                                                                                                                                                                                                                                           |
| **RFID\_ERROR\_SESSION\_INVALID\_AUX\_DATA\_COMMUNITY\_ID**      | verification of auxiliary data (*Community ID*) failed                                                                                                                                                                                                                                                                                                                                                                                                  |
| **RFID\_ERROR\_SESSION\_E\_SIGN\_REQUIRES\_APP\_SELECTION**      | selection of *eSign* application is required to access its functionality                                                                                                                                                                                                                                                                                                                                                                                |
| **RFID\_ERROR\_SESSION\_E\_SIGN\_PIN\_NOT\_SET**                 | it is required to set the value of *eSign-PIN* for the current session                                                                                                                                                                                                                                                                                                                                                                                  |
| **RFID\_ERROR\_SESSION\_E\_SIGN\_PIN\_NOT\_VERIFIED**            | it is required to execute verification of *eSign-PIN* for the current session                                                                                                                                                                                                                                                                                                                                                                           |
| **RFID\_ERROR\_SESSION\_INCORRECT\_DATA**                        | incorrect session object data                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **RFID\_ERROR\_SESSION\_FILE\_NOT\_ENOUGH\_DATA**                | no sufficient data for creation of the file contents ASN.1 object.                                                                                                                                                                                                                                                                                                                                                                                      |
| **RFID\_ERROR\_SESSION\_FILE\_INCORRECT\_DATA**                  | incorrect data of the file contents ASN.1 object                                                                                                                                                                                                                                                                                                                                                                                                        |
| **RFID\_ERROR\_SESSION\_FILE\_UNEXPECTED\_DATA**                 | in compliance of the structure of the file contents ASN.1 object with the structure given in the respective specification                                                                                                                                                                                                                                                                                                                               |
| **RFID\_ERROR\_SESSION\_FILE\_CONTENTS\_UNEXPECTED\_DATA**       | in compliance of the structure of the formed ASN.1-objects with the requirements of specification (in the context of specific file)                                                                                                                                                                                                                                                                                                                     |
| **RFID\_ERROR\_SESSION\_FILE\_WRONG\_TAG**                       | incorrect value of the data group tag                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **RFID\_ERROR\_SESSION\_FILE\_CANT\_USE\_DATA**                  | use of the read data is impossible                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **RFID\_ERROR\_SESSION\_FILE\_CANT\_READ\_DATA**                 | error of physical data reading                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **RFID\_ERROR\_SESSION\_FILE\_ACCESS\_DENIED**                   | error of access to the protected data groups                                                                                                                                                                                                                                                                                                                                                                                                            |
| **RFID\_LAYER6\_SECURITY\_MANAGER**                              | secure communication channel organization is required to access data                                                                                                                                                                                                                                                                                                                                                                                    |
| **RFID\_LAYER6\_APP\_SELECTION\_FAILURE**                        | error of executing APDU-command of *Master File* or application selection                                                                                                                                                                                                                                                                                                                                                                               |
| **RFID\_LAYER6\_MUTUAL\_AUTH\_MAC\_FAIL**                        | error of the cryptogram checksum validation during BAC procedure                                                                                                                                                                                                                                                                                                                                                                                        |
| **RFID\_LAYER6\_MUTUAL\_AUTH\_ENC\_FAIL**                        | error of the cryptogram validation during BAC                                                                                                                                                                                                                                                                                                                                                                                                           |
| **RFID\_LAYER6\_MUTUAL\_AUTH\_FAILURE**                          | <p>one of the errors of the APDU-commands:</p><ul><li>Mutual Authenticate - performing the BAC</li><li>General Authenticate - at the 4th step of PACE performance</li><li>General Authenticate - performing the CA</li></ul>                                                                                                                                                                                                                            |
| **RFID\_LAYER6\_SM\_DO8E\_MISSING**                              | absence of the checksum in the protected APDU-response from the RFID-chip (SM '8E' data object)                                                                                                                                                                                                                                                                                                                                                         |
| **RFID\_LAYER6\_SM\_DO87\_MISSING**                              | absence of the data padding object in the protected APDU-response from the RFID-chip (SM '87' data object)                                                                                                                                                                                                                                                                                                                                              |
| **RFID\_LAYER6\_SM\_DO99\_MISSING**                              | absence of the command execution status in the protected APDU-response from the RFID- chip (SM '99' data object)                                                                                                                                                                                                                                                                                                                                        |
| **RFID\_LAYER6\_SM\_MAC\_INCORRECT**                             | error of the checksum validation of the protected APDU-response from the RFID-chip                                                                                                                                                                                                                                                                                                                                                                      |
| **RFID\_LAYER6\_SM\_DO87\_INCORRECT**                            | incorrect contents of the data padding object in the protected APDU-response from the RFID-chip (SM '87' data object)                                                                                                                                                                                                                                                                                                                                   |
| **RFID\_LAYER6\_NON\_TLV\_RESPONSE\_DATA**                       | response to *Read Binary* APDU-command, using 'B1' parameter for file data reading with an offset >32767, is not represented in the TLV-format                                                                                                                                                                                                                                                                                                          |
| **RFID\_LAYER6\_WRONG\_RND\_ICC\_LENGTH**                        | incorrect length of the data received as a result of *Get Challenge* APDU-command execution                                                                                                                                                                                                                                                                                                                                                             |
| **RFID\_LAYER6\_INT\_AUTH\_FAILURE**                             | error of *Internal Authenticate* APDU-command execution when performing AA procedure                                                                                                                                                                                                                                                                                                                                                                    |
| **RFID\_LAYER6\_MSE\_SET\_KAT\_FAILURE**                         | error of MSE:Set KAT APDU-command execution when performing CA procedure, version 1                                                                                                                                                                                                                                                                                                                                                                     |
| **RFID\_LAYER6\_MSE\_SET\_DST\_FAILURE**                         | error of MSE:Set DST APDU-command execution when performing TA procedure                                                                                                                                                                                                                                                                                                                                                                                |
| **RFID\_LAYER6\_PSO\_CERTIFICATE\_FAILURE**                      | error of *PSO:Verify Certificate* APDU-command execution when performing TA procedure                                                                                                                                                                                                                                                                                                                                                                   |
| **RFID\_LAYER6\_GET\_CHALLENGE\_FAILURE**                        | error of *Get Challenge* APDU-command execution                                                                                                                                                                                                                                                                                                                                                                                                         |
| **RFID\_LAYER6\_EXT\_AUTH\_FAILURE**                             | error of *External Authenticate* APDU-command execution when performing TA procedure                                                                                                                                                                                                                                                                                                                                                                    |
| **RFID\_LAYER6\_GENERAL\_AUTH\_FAILURE**                         | error of *General Authenticate* APDU-command execution when performing PACE procedure at steps 1-3                                                                                                                                                                                                                                                                                                                                                      |
| **RFID\_ERROR\_FAILED**                                          | error of operation execution (common case)                                                                                                                                                                                                                                                                                                                                                                                                              |
