-
Notifications
You must be signed in to change notification settings - Fork 10
/
e-rfid-error-codes.yml
351 lines (351 loc) · 12.8 KB
/
e-rfid-error-codes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
openapi: 3.0.3
components:
schemas:
RFIDErrorCodes:
type: integer
description: "Enumeration contains a set of error codes returned by SDK"
enum:
- -2147458430
- -2147458429
- -2147458112
- -2147458111
- -2147456637
- -2147456636
- -2147456635
- -2147456384
- -2147456382
- -2147456376
- -2147456256
- -2147418111
- -2147418110
- -2147418108
- -2147418107
- -2147418106
- -2147418104
- -2147418103
- -2147418102
- -2147418101
- -2147418100
- -2147352576
- -2147352575
- -2147352574
- -2147352573
- -2147352572
- -2147352571
- -2147352570
- -2147352560
- -2146409536
- -2097152000
- -2097151999
- -2097151998
- -2097151984
- -2097151983
- -2097151982
- -2097151981
- -2097151980
- -2097151979
- -2097151978
- -2097151977
- -2097151976
- -2097151975
- -2097151974
- -2097151973
- -2097151972
- -2097151968
- -2097151967
- -2097151966
- -2097151965
- -2097151964
- -2097151963
- -2097151962
- -2097151961
- -2097151960
- -2097151959
- -2097151958
- -2097151952
- -2097151951
- -2097151936
- -2097151935
- -2097151934
- -2097151920
- -2097151919
- -2097151918
- -2097151904
- -2097086464
- -2097020928
- -2096955392
- -2096889856
- -2096824320
- -2096758784
- -2096693248
- -2096627712
- -2080374784
- -2080309248
- -2080243712
- -2080178176
- -2080112640
- -2080047104
- -2079981568
- -2079916032
- -2079850496
- -2079784960
- -2079719424
- -2079653888
- -2079588352
- -2079522816
- -2079457280
- -2079391744
- -2046820352
- -2046820351
- -2046820096
- -2046820095
- -2046820094
- -2046820093
- -2046819840
- -2046819839
- -2046819838
- -2046819837
- -2046819836
- -2046819584
- -2046819583
- -2046819582
- -2046819581
- -2046819580
- -2046819579
- -2046819578
- -2046819577
- -2046819576
- -2046819575
- -1
- 1
- 2
x-enum-descriptions:
- "LAYER6: Reading beyond EOF / Unexpected EOF"
- "LAYER6: PWD deactivated"
- "LAYER6: PWD blocked"
- "LAYER6: PWD suspended"
- "LAYER6: PWD blocked 2"
- "LAYER6: PWD deactivated 2"
- "LAYER6: PWD suspended 2"
- "LAYER6: Incorrect params"
- "LAYER6: File selection failure / file not found"
- "LAYER6: No reference data"
- "LAYER6: Reading beyond EOF / Unexpected EOF"
- "RFID: No chip is detected"
- "RFID: Unavailable"
- "RFID: Invalid parameter in ExecuteCommand() call found"
- "RFID: Device is uninitialized"
- "RFID: Out of memory"
- "RFID: Invalid directory"
- "RFID: Unknown command"
- "RFID File: IO Error"
- "RFID: RFID is busy"
- "RFID: The firmware needs to be updated to a newer version"
- "PCSC: Failed"
- "PCSC: The reader is unavailable"
- "PCSC: The card cannot be connected"
- "PCSC: The card is not connected"
- "PCSC: Operation is cancelled"
- "PCSC: The card is busy"
- "PCSC: Failed Smart Card"
- "PCSC: ExtLe Failed"
- "LAYER6: PWD failed"
- "RFID: Not performed"
- "RFID: Session is closed"
- "RFID: Unsupported terminal operation"
- "RFID: Terminal type unknown"
- "RFID: Terminal type bad certificate"
- "RFID: Terminal type not set"
- "RFID: Unknown procedure type"
- "RFID: Unsupported procedure type"
- "RFID: Procedure type not set"
- "RFID: Access key unknown type"
- "RFID: Access key unsupported SM type"
- "RFID: Access key incorrect SM type"
- "RFID: Access key restricted"
- "RFID: Access key incorrect data"
- "RFID: Access key not set"
- "RFID: PWD management not authorized"
- "RFID: Access control unknown type"
- "RFID: SM required"
- "RFID: PACE required"
- "RFID: CA keys required"
- "RFID: TA required"
- "RFID: CA required"
- "RFID: Incorrect option CA"
- "RFID: CA failed"
- "RFID: TA failed"
- "RFID: AA failed"
- "RFID: RI failed"
- "RFID: SO signature check failed"
- "RFID: Hash check failed"
- "RFID: Invalid aux data - date of expiry"
- "RFID: Invalid aux data - date of birth"
- "RFID: Invalid aux data - community ID"
- "RFID: eSign requires app selection"
- "RFID: eSign PIN not set"
- "RFID: eSign PIN not verified"
- "RFID: Incorrect data"
- "RFID file: Insufficient data"
- "RFID file: Incorrect data"
- "RFID file: Unexpected data"
- "RFID file: Contains unexpected data"
- "RFID file: Wrong tag"
- "RFID file: Cannot use data"
- "RFID file: Cannot read data"
- "RFID file: Access denied"
- "RFID: Layer 34 - No error"
- "RFID: Layer 34 - Timeout"
- "RFID: Layer 34 - Collision"
- "RFID: Layer 34 - CRC"
- "RFID: Layer 34 - Data integrity"
- "RFID: Layer 34 - Data length"
- "RFID: Layer 34 - RFU"
- "RFID: Layer 34 - Too many collision"
- "RFID: Layer 34 - Protocol B"
- "RFID: Layer 34 - Data contents"
- "RFID: Layer 34 - Protocol"
- "RFID: Layer 34 - Globa timeout"
- "RFID: Layer 34 - MIFARE auth"
- "RFID: Layer 34 - SAM error"
- "RFID: Layer 34 - SAM collision"
- "RFID: Layer 34 - SAM acknowledge"
- "LAYER6: Secure Messaging was not activated"
- "LAYER6: ISO7816_A_03 Application selection failure"
- "LAYER6: ISO7816_B_01 Mutual authentication MAC failure"
- "LAYER6: ISO7816_B_02 Mutual authentication encryption failure"
- "LAYER6: ISO7816_B_03 Mutual authentication failure"
- "LAYER6: ISO7816_B_03 Mutual authentication failure data"
- "LAYER6: SM failure – MAC missing"
- "LAYER6: SM failure – cryptogram missing"
- "LAYER6: SM failure – secured status bytes missing"
- "LAYER6: SM failure – incorrect MAC"
- "LAYER6: SM failure – incorrect cryptogram"
- "LAYER6: Not TLV response data"
- "LAYER6: Wrong data length (APDU_INS_GET_CHALLENGE)"
- "LAYER6: APDU_INS_INTERNAL_AUTHENTICATE failure"
- "LAYER6: MSE:Set KAT failure"
- "LAYER6: MSE:Set DST failure"
- "LAYER6: PSO CERTIFICATE failure"
- "LAYER6: MSE:Set AT failure"
- "LAYER6: GET CHALLENGE failure"
- "LAYER6: APDU_INS_EXTERNAL_AUTHENTICATE (external authentication) failure"
- "LAYER6: General Authenticity Failure"
- "RFID: Failed"
- "RFID: No error"
- "RFID: The requested operation is already performed"
x-enum-varnames:
- "RFID_ERROR_LAYER6_FILE_EOF1"
- "RFID_ERROR_LAYER6_PWD_DEACTIVATED"
- "RFID_ERROR_LAYER6_PWD_BLOCKED"
- "RFID_ERROR_LAYER6_PWD_SUSPEND"
- "RFID_ERROR_LAYER6_PWD_BLOCKED2"
- "RFID_ERROR_LAYER6_PWD_DEACTIVATED2"
- "RFID_ERROR_LAYER6_PWD_SUSPEND2"
- "RFID_ERROR_LAYER6_INCORRECT_PARAMS"
- "RFID_ERROR_LAYER6_FILE_NOT_FOUND"
- "RFID_ERROR_LAYER6_NO_REFERENCE_DATA"
- "RFID_ERROR_LAYER6_FILE_EOF2"
- "RFID_ERROR_NO_CHIP_DETECTED"
- "RFID_ERROR_NOT_AVAILABLE"
- "RFID_ERROR_INVALID_PARAMETER"
- "RFID_ERROR_NOT_INITIALIZED"
- "RFID_ERROR_NOT_ENOUGH_MEMORY"
- "RFID_ERROR_INVALID_DIRECTORY"
- "RFID_ERROR_UNKNOWN_COMMAND"
- "RFID_ERROR_FILE_IO_ERROR"
- "RFID_ERROR_BUSY"
- "RFID_ERROR_OLD_FIRMWARE"
- "RFID_ERROR_PCSC_FAILED"
- "RFID_ERROR_PCSC_READER_NOT_AVAILABLE"
- "RFID_ERROR_PCSC_CANT_CONNECT_CARD"
- "RFID_ERROR_PCSC_CARD_IS_NOT_CONNECTED"
- "RFID_ERROR_PCSC_OPERATION_CANCELLED"
- "RFID_ERROR_PCSC_CARD_IS_BUSY"
- "RFID_ERROR_PCSC_FAILED_SCARD"
- "RFID_ERROR_PCSC_EXT_LE_FAILED"
- "RFID_ERROR_LAYER6_PWD_FAILED"
- "RFID_ERROR_NOT_PERFORMED"
- "RFID_ERROR_SESSION_IS_CLOSED"
- "RFID_ERROR_SESSION_TERMINAL_UNSUPPORTED_OPERATION"
- "RFID_ERROR_SESSION_TERMINAL_TYPE_UNKNOWN"
- "RFID_ERROR_SESSION_TERMINAL_TYPE_BAD_CERTIFICATE"
- "RFID_ERROR_SESSION_TERMINAL_TYPE_NOT_SET"
- "RFID_ERROR_SESSION_PROCEDURE_TYPE_UNKNOWN"
- "RFID_ERROR_Session_Procedure_Type_Unsupported"
- "RFID_ERROR_SESSION_PROCEDURE_TYPE_NOT_SET"
- "RFID_ERROR_SESSION_ACCESS_KEY_UNKNOWN_TYPE"
- "RFID_ERROR_SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE"
- "RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_SM_TYPE"
- "RFID_ERROR_SESSION_ACCESS_KEY_RESTRICTED"
- "RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_DATA"
- "RFID_ERROR_SESSION_ACCESS_KEY_NOT_SET"
- "RFID_ERROR_SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED"
- "RFID_ERROR_SESSION_ACCESS_CONTROL_UNKNOWN_TYPE"
- "RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_SM"
- "RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_PACE"
- "RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS"
- "RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_TA"
- "RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA"
- "RFID_ERROR_SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA"
- "RFID_ERROR_SESSION_ACCESS_CONTROL_CA_FAILED"
- "RFID_ERROR_SESSION_ACCESS_CONTROL_TA_FAILED"
- "RFID_ERROR_SESSION_ACCESS_CONTROL_AA_FAILED"
- "RFID_ERROR_SESSION_ACCESS_CONTROL_RI_FAILED"
- "RFID_ERROR_SESSION_PA_SIGNATURE_CHECK_FAILED"
- "RFID_ERROR_SESSION_PA_HASH_CHECK_FAILED"
- "RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY"
- "RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH"
- "RFID_ERROR_SESSION_INVALID_AUX_DATA_COMMUNITY_ID"
- "RFID_ERROR_SESSION_E_SIGN_REQUIRES_APP_SELECTION"
- "RFID_ERROR_SESSION_E_SIGN_PIN_NOT_SET"
- "RFID_ERROR_SESSION_E_SIGN_PIN_NOT_VERIFIED"
- "RFID_ERROR_SESSION_INCORRECT_DATA"
- "RFID_ERROR_SESSION_FILE_NOT_ENOUGH_DATA"
- "RFID_ERROR_SESSION_FILE_INCORRECT_DATA"
- "RFID_ERROR_SESSION_FILE_UNEXPECTED_DATA"
- "RFID_ERROR_SESSION_FILE_CONTENTS_UNEXPECTED_DATA"
- "RFID_ERROR_SESSION_FILE_WRONG_TAG"
- "RFID_ERROR_SESSION_FILE_CANT_USE_DATA"
- "RFID_ERROR_SESSION_FILE_CANT_READ_DATA"
- "RFID_ERROR_SESSION_FILE_ACCESS_DENIED"
- "RFID_ERROR_LAYER34_NO_ERROR"
- "RFID_ERROR_LAYER34_TIME_OUT"
- "RFID_ERROR_LAYER34_COLLISION"
- "RFID_ERROR_LAYER34_CRC"
- "RFID_ERROR_LAYER34_DATA_INTEGRITY"
- "RFID_ERROR_LAYER34_DATA_LENGTH"
- "RFID_ERROR_Layer34_RFU"
- "RFID_ERROR_LAYER34_COLLISION_TOO_MANY"
- "RFID_ERROR_LAYER34_PROTOCOL_B"
- "RFID_ERROR_LAYER34_DATA_CONTENTS"
- "RFID_ERROR_LAYER34_PROTOCOL"
- "RFID_ERROR_LAYER34_GLOBAL_TIME_OUT"
- "RFID_ERROR_LAYER34_MIFARE_AUTH"
- "RFID_ERROR_LAYER34_SAM_ERROR"
- "RFID_ERROR_LAYER34_SAM_COLLISION"
- "RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE"
- "RFID_ERROR_LAYER6_SECURITY_MANAGER"
- "RFID_ERROR_LAYER6_APP_SELECTION_FAILURE"
- "RFID_ERROR_LAYER6_MUTUAL_AUTH_MAC_FAIL"
- "RFID_ERROR_LAYER6_MUTUAL_AUTH_ENC_FAIL"
- "RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE"
- "RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE_DATA"
- "RFID_ERROR_LAYER6_SM_DO_8E_MISSING"
- "RFID_ERROR_LAYER6_SM_DO_87_MISSING"
- "RFID_ERROR_LAYER6_SM_DO_99_MISSING"
- "RFID_ERROR_LAYER6_SM_MAC_INCORRECT"
- "RFID_ERROR_LAYER6_SM_DO_87_INCORRECT"
- "RFID_ERROR_LAYER6_NON_TLV_RESPONSE_DATA"
- "RFID_ERROR_LAYER6_WRONG_RND_ICC_LENGTH"
- "RFID_ERROR_LAYER6_INT_AUTH_FAILURE"
- "RFID_ERROR_LAYER6_MSE_SET_KAT_FAILURE"
- "RFID_ERROR_LAYER6_MSE_SET_DST_FAILURE"
- "RFID_ERROR_LAYER6_PSO_CERTIFICATE_FAILURE"
- "RFID_ERROR_LAYER6_MSE_SET_AT_FAILURE"
- "RFID_ERROR_LAYER6_GET_CHALLENGE_FAILURE"
- "RFID_ERROR_LAYER6_EXT_AUTH_FAILURE"
- "RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE"
- "RFID_ERROR_FAILED"
- "RFID_ERROR_NO_ERROR"
- "RFID_ERROR_ALREADY_DONE"