ERFID_NotificationAndErrorCodes

This page covers the description of the ERFID_NotificationAndErrorCodes enumeration

ERFID_NotificationAndErrorCodes enumeration contains a set of notification and error codes returned to the user application by calling the callback-function:

Constant

Description

RfidNotificationError

error

RfidNotificationDocumentReady

event of appearance of RFID-chip in the scope of the reader antenna or its moving away from the scope of the reader

RfidNotificationReadProtocol4

event of the beginning/end of data reading from the RFID-chip via ISO/IEC 14443-4 protocol when working in the batch mode

RfidNotificationReadProtocol3

event of the beginning/end of data reading from the RFID-chip via ISO/IEC 14443-3 protocol.

RfidNotificationProgress

indication of the progress of execution of data reading operation

RfidNotificationTaStep

indication of the next step of terminal authentication in Online-authentication mode

RfidNotificationSmRequired

event of detection of the need to organize a secure communication channel

RfidNotificationIsoError

event informing the user application on detection of data in compliance processed with the regulations of normative documents, errors when executing the current operation

RfidNotificationPaRequest

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

RfidNotificationSmEstablished

event of the result of the opening of a secure communication channel

RfidNotificationPcscReaderDisconnected

event of unplugging of the RFID-chip reader

RfidNotificationPcscReaderListChanged

event of the end of reorganization of the list of RFID-readers, working under PC/SC-driver control

RfidNotificationPcscBytesReceived

transfer of the total amount of information received from the RFID-chip to the user application during execution of data reading operation

RfidNotificationPcscTotalReadingTime

transfer of the total time of execution of data reading operation to the user application

RfidNotificationPcscDataReceived

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

RfidNotificationPcscBytesSent

transfer of the total amount of information transmitted to the RFID-chip to the user application during execution of data reading operation

RfidNotificationPcscTotalReadingSpeed

transfer of the average data reading rate to the user application

RfidNotificationPcscTotalProcessTime

transfer of the total time of execution of data reading procedure to the user application

RfidNotificationPcscReaderListChanging

event of the beginning of reorganization of the list of RFID-readers, working under PC/SC-driver control

RfidNotificationPcscExtLengthSupport

event of detection of extended length reading commands support by the RFID-chip

RfidNotificationPaCertificateChain

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

RfidNotificationPaCertificateChainItem

event that indicates a type of the current analyzed element of the certificate chain being composed

RfidNotificationScenario

a request from the user application of some data or actions in a certain step of the scenario

RfidNotificationPcscReadingDatagroup

event of the beginning/end of file reading

RfidNotificationPcscFileNotFound

event of detection of file absence

RfidNotificationPcscEndOfFile

event of reaching the file end when performing its reading

RfidNotificationPcscFileAccessDenied

event of detection of absence of the file access rights

RfidNotificationPcscApplicationSelected

event of the application selection operation

RfidNotificationAcProcedureStart

event of the beginning of the authentication or secure data access procedure

RfidNotificationAcProcedureFinish

event of the end of the authentication or secure data access procedure

RfidNotificationPaSecurityObjectCheck

event of the data security object verification as part of PA

RfidNotificationPaFileCheck

event of the file data integrity checking as part of PA

RfidNotificationPcscUpdatingDatagroup

event of the procedure of file contents updating

RfidNotificationAuxiliaryDataValidation

event of the auxiliary data verification

RfidNotificationRiSectorId

event of the receiving of the sector identifier data during RI

RfidNotificationBiometricsEmptyPlaceholder

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]

RfidErrorNoError

successful operation

RfidErrorAlreadyDone

requested operation has already been performed

RfidLayer6FileEof1

attempt of reading outside the end of the file

RfidLayer6PwdDeactivated

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

RfidLayer6PwdBlocked

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

RfidLayer6PwdSuspended

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

RfidLayer6PwdBlocked2

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

RfidLayer6PwdDeactivated2

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

RfidLayer6PwdSuspended2

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

RfidLayer6MseSetAtFailure

error of MSE:Set AT APDU-command execution when performing the procedures:

  • PACE

  • TA

  • CA

  • RI

RfidLayer6IncorrectParams

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).

RfidLayer6FileNotFound

file not found

RfidLayer6NoReferenceData

unavailable data, pointed to by the APDU-command parameters

RfidLayer6FileEof2

attempt of reading outside the file end of the

RFIDErrorGraphManager

connection error

RfidErrorNoChipDetected

RFID-chip is absent in the scope of the reader

RfidErrorNotAvailable

requested operation unavailable

RfidErrorInvalidParameter

incorrect command parameter

RfidErrorNotInitialized

SDK control library was not initialized

RFIDErrorNotEnoughMemory

insufficient memory for command execution

RfidErrorInvalidDirectory

incorrect directory name

RfidErrorUnknownCommand

unknown command

RfidErrorFileIoError

file input/output error

RfidErrorBusy

SDK control library is busy. Execution of the command is impossible

RfidErrorOldFirmware

it is required to update reader’s firmware

RfidErrorPcscFailed

error of command of data exchange with RFID-chip execution (common case)

RfidErrorPcscReaderNotAvailable

RFID-chip reader unavailable

RfidErrorPcscCantConnectCard

failed to connect with RFID-chip

RfidErrorPcscCardIsNotConnected

no active RFID-chip

RfidErrorPcscOperationCancelled

data reading operation cancelled by the user

RfidErrorPcscCardIsBusy

data exchange with RFID-chip takes place. Execution of the command is impossible

RfidErrorPcscFailedSCard

error of SCard service when data exchanging with RFID-chip

RfidErrorPcscExtLeFailed

error of executing command of extended length reading. Full reinitialization of RFID-chip is required

RfidLayer6PwdFailed

error of the execution of MSE:Set AT when performing PACE procedure or General Authenticate

(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

RfidErrorNotPerformed

operation was not performed

RfidErrorSessionIsClosed

session closed, operation impossible

RfidErrorSessionTerminalUnsupportedOperation

operation is not supported by the current type of terminal

RfidErrorSessionTerminalTypeUnknown

unknown type of terminal

RfidErrorSessionTerminalTypeBadCertificate

error of reading or analysis of the terminal certificate data

RfidErrorSessionTerminalTypeNotSet

terminal type was not defined for the current session

RfidErrorSessionProcedureTypeUnknown

unknown authentication procedure type

RfidErrorSessionProcedureTypeUnsupported

defined type terminal does not support this type of procedure

RfidErrorSessionProcedureTypeNotSet

type of authentication procedure was not set for the current session

RfidErrorSessionAccessKeyUnknownType

unknown access key type

RfidErrorSessionAccessKeyUnsupportedSmType

unsupported type of secure data access procedure

RfidErrorSessionAccessKeyIncorrectSmType

secure data access procedure does not allow to use the given key type

RfidErrorSessionAccessKeyRestricted

key type is not supported by the current terminal type, or the rights to its use are insufficient

RfidErrorSessionAccessKeyIncorrectData

incorrect key contents (empty or zero string)

RfidErrorSessionAccessKeyNotSet

secure data access key was not set for the current session

RfidErrorSessionPwdManagementNotAuthorized

operation of password management is not authorized for the current terminal type

RfidErrorSessionAccessControlUnknownType

unknown type of the procedure of authentication or secure data access

RfidErrorSessionAccessControlRequiresSm

preliminary opening of the secure data access session is required (PACE or BAC)

RfidErrorSessionAccessControlRequiresPace

preliminary opening of the secure data access session is required (PACE)

RfidErrorSessionAccessControlRequiresCaKeys

execution of TA preliminary step (for version 2) is required – computing CA ephemeral public keys

RfidErrorSessionAccessControlRequiresTa

preliminary TA procedure is required

RfidErrorSessionAccessControlRequiresCa

preliminary CA procedure is required

RfidErrorSessionAccessControlIncorrectOptionCa

discrepancy between the selected CA variant on the preliminary and main stages

RfidErrorSessionAccessControlCaFailed

CA procedure failed

RfidErrorSessionAccessControlTaFailed

TA procedure failed

RfidErrorSessionAccessControlAaFailed

AA procedure failed

RfidErrorSessionAccessControlRiFailed

RI procedure failed

RfidErrorSessionPaSignatureCheckFailed

document security object digital signature verification failed

RfidErrorSessionPaHashCheckFailed

informational data group integrity verification failed

RfidErrorSessionInvalidAuxDataDateOfExpiry

verification of auxiliary data (date of expiry) failed

RfidErrorSessionInvalidAuxDataDateOfBirth

verification of auxiliary data (age) failed

RfidErrorSessionInvalidAuxDataCommunityId

verification of auxiliary data (Community ID) failed

RfidErrorSessionESignRequiresAppSelection

selection of eSign application is required to access its functionality

RfidErrorSessionESignPinNotSet

it is required to set the value of eSign-PIN for the current session

RfidErrorSessionESignPinNotVerified

it is required to execute verification of eSign-PIN for the current session

RfidErrorSessionIncorrectData

incorrect session object data

RfidErrorSessionFileNotEnoughData

no sufficient data for creation of the file contents ASN.1 object.

RfidErrorSessionFileIncorrectData

incorrect data of the file contents ASN.1 object

RfidErrorSessionFileUnexpectedData

in compliance of the structure of the file contents ASN.1 object with the structure given in the respective specification

RfidErrorSessionFileContentsUnexpectedData

in compliance of the structure of the formed ASN.1-objects with the requirements of specification (in the context of specific file)

RfidErrorSessionFileWrongTag

incorrect value of the data group tag

RfidErrorSessionFileCantUseData

use of the read data is impossible

RfidErrorSessionFileCantReadData

error of physical data reading

RfidErrorSessionFileAccessDenied

error of access to the protected data groups

RfidLayer6SecurityManager

secure communication channel organization is required to access data

RfidLayer6AppSelectionFailure

error of executing APDU-command of Master File or application selection

RfidLayer6MutualAuthMacFail

error of the cryptogram checksum validation during BAC procedure

RfidLayer6MutualAuthEncFail

error of the cryptogram validation during BAC

RfidLayer6MutualAuthFailure

one of the errors of the APDU-commands:

  • Mutual Authenticate - performing the BAC

  • General Authenticate - at the 4th step of PACE performance

  • General Authenticate - performing the CA

RfidLayer6SmDo8eMissing

absence of the checksum in the protected APDU-response from the RFID-chip (SM '8E' data object)

RfidLayer6SmDo87Missing

absence of the data padding object in the protected APDU-response from the RFID-chip (SM '87' data object)

RfidLayer6SmDo99Missing

absence of the command execution status in the protected APDU-response from the RFID- chip (SM '99' data object)

RfidLayer6SmMacIncorrect

error of the checksum validation of the protected APDU-response from the RFID-chip

RfidLayer6SmDo87Incorrect

incorrect contents of the data padding object in the protected APDU-response from the RFID-chip (SM '87' data object)

RfidLayer6NonTlvResponseData

response to Read Binary APDU-command, using 'B1' parameter for file data reading with an offset >32767, is not represented in the TLV-format

RfidLayer6WrongRndIccLength

incorrect length of the data received as a result of Get Challenge APDU-command execution

RfidLayer6IntAuthFailure

error of Internal Authenticate APDU-command execution when performing AA procedure

RfidLayer6MseSetKatFailure

error of MSE:Set KAT APDU-command execution when performing CA procedure, version 1

RfidLayer6MseSetDstFailure

error of MSE:Set DST APDU-command execution when performing TA procedure

RfidLayer6PsoCertificateFailure

error of PSO:Verify Certificate APDU-command execution when performing TA procedure

RfidLayer6GetChallengeFailure

error of Get Challenge APDU-command execution

RfidLayer6ExtAuthFailure

error of External Authenticate APDU-command execution when performing TA procedure

RfidLayer6GeneralAuthFailure

error of General Authenticate APDU-command execution when performing PACE procedure at steps 1-3

RfidErrorFailed

error of operation execution (common case)