You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'6985': 'Wrapped chained command or multiple pass command ongoing.',
4
+
'6a82': 'Application or file not found, currently selected application remains selected.',
5
+
'6a86': 'Wrong parameter P1 and/or P2',
6
+
'6a87': 'Wrong parameter Lc inconsistent with P1-P2',
7
+
'6e00': 'Wrong CLA',
8
+
'6581': 'Memory failure',
9
+
'6982': 'Security status not satisfied',
10
+
'91ca': 'COMMAND_ABORTED',
11
+
'917e': 'LENGTH_ERROR',
12
+
'919e': 'PARAMETER_ERROR',
13
+
'9140': 'NO_SUCH_KEY',
14
+
'919d': 'PERMISSION_DENIED',
15
+
'91ad': 'AUTHENTICATION_DELAY',
16
+
'911e': 'INTEGRITY_ERROR',
17
+
'91f0': 'FILE_NOT_FOUND',
18
+
'91ae': 'AUTHENTICATION_ERROR',
19
+
'91ee': 'MEMORY_ERROR',
20
+
'91be': 'BOUNDARY_ERROR'
21
+
};
22
+
23
+
//NOTE: when new APDU command gets added make sure the error codes are added here
24
+
25
+
26
+
exportconstisoSelectErrorCodes={
27
+
'6700' : 'Wrong or inconsistent APDU length.',
28
+
'6985' : 'Wrapped chained command or multiple pass command ongoing.',
29
+
'6a82' : 'Application or file not found, currently selected application remains selected.',
30
+
'6a86' : 'Wrong parameter P1 and/or P2',
31
+
'6a87' : 'Wrong parameter Lc inconsistent with P1-P2',
32
+
'6e00' : 'Wrong CLA',
33
+
};
34
+
35
+
36
+
exportconstchangeKeyErrorCodes={
37
+
'91ca' : 'COMMAND_ABORTED Chained command or multiple pass command ongoing.',
38
+
'911e' : 'INTEGRITY_ERROR Integrity error in cryptogram or Invalid Secure Messaging MAC (only).',
39
+
'917e' : 'LENGTH_ERROR Command size not allowed.',
40
+
'919e' : 'PARAMETER_ERROR Parameter value not allowed',
41
+
'919d' : 'PERMISSION_DENIED PICC level (MF) is selected. access right Change of targeted file has access conditions set to Fh. Enabling Secure Dynamic Messaging (FileOption Bit 6 set to 1b) is only allowed for FileNo 02h.',
42
+
'91ae' : 'AUTHENTICATION_ERROR At application level, missing active authentication with AppMasterKey while targeting any AppKey.',
43
+
'91ee' : 'MEMORY_ERROR Failure when reading or writing to non-volatile memory.',
44
+
};
45
+
46
+
47
+
exportconstchangeFileSettingsErrorCodes={
48
+
'91ca' : 'COMMAND_ABORTED chained command or multiple pass command ongoing.',
49
+
'911e' : 'INTEGRITY_ERROR Integrity error in cryptogram. Invalid Secure Messaging MAC (only).',
50
+
'917e' : 'LENGTH_ERROR Command size not allowed.',
51
+
'919e' : 'PARAMETER_ERROR Parameter value not allowed',
52
+
'919d' : 'PERMISSION_DENIED PICC level (MF) is selected. access right Change of targeted file has access conditions set to Fh. Enabling Secure Dynamic Messaging (FileOption Bit 6 set to 1b) is only allowed for FileNo 02h.',
53
+
'91f0' : 'FILE_NOT_FOUND F0h File with targeted FileNo does not exist for the targeted application. ',
54
+
'91ae' : 'AUTHENTICATION_ERROR AEh File access right Change of targeted file not granted as there is no active authentication with the required key while the access conditions is different from Fh.',
55
+
'91ee' : 'MEMORY_ERROR EEh Failure when reading or writing to non-volatile memory.',
0 commit comments