-
Notifications
You must be signed in to change notification settings - Fork 26
/
Instructions.txt
75 lines (74 loc) · 7.43 KB
/
Instructions.txt
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
[Instructions]
44=INS=44 (ACTIVATE FILE, Reversibly unblock a file, ISO/IEC 7816-9)(REACTIVATE FILE, Unblock a file, ISO/IEC 7816-9)(REHABILITATE, Unblock a file, TS 51.011 EN)
A4=INS=A4 (SELECT, Select a file, TS 51.011)(SELECT (FILE), Select a file, ISO/IEC 7816-4)
E2=INS=E2 (APPEND RECORD, Insert a new record in a file with a linear fixed structure, TS 51.011) (CREATE RECORD, Create a new record in a record-oriented file, EN 726-3)
1E=INS=1E (APPLICATION BLOCK, Reversibly block an application, EMV)
18=INS=18 (APPLICATION UNBLOCK, Unblock an application, EMV)
84=INS=84 (ASK RANDOM, Request a random number from the smart card, EN 726-3)(GET CHALLENGE, Request a random number from the smart card, ISO/IEC 7816-4)
24=INS=24 (CHANGE CHV, Change the PIN, TS 51.011)(CHANGE REFERENCE DATA, Change the data used for user identification (e.g., a PIN), ISO/IEC 7816-8)
AC=INS=AC (CLOSE APPLICATION, Reset all attained access condition levels, EN 726-3)
56=INS=56 (CONVERT IEP CURRENCY, Convert currency, EN 1546-3)
E0=INS=E0 (CREATE FILE, Create a new file, ISO/IEC 7816-9)
52=INS=52 (CREDIT IEP, Load the purse (IEP), EN 1546-3)
72=INS=72 (CREDIT PSAM, Pay from IEP to the PSAM, EN 1546-3)
04=INS=04 (DEACTIVATE FILE, Reversibly block a file, ISO/IEC 7816-9)
54=INS=54 (DEBIT IEP, Pay from the purse, EN 1546-)
30=INS=30 (DECREASE, Reduce the value of a counter in a file, EN 726-3)
34=INS=34 (DECREASE STAMPED, Reduce the value of a counter in a file that is protected using a cryptographic checksum, EN 726-3)
E4=INS=E4 (DELETE, Delete a uniquely identifiable object (such as a load file, application or key), OP)(DELETE FILE, Delete a file, ISO/IEC 7816-9)
E2=INS=E2 (DISABLE CHV, Disable PIN queries, TS 51.011) (DISABLE VERIFICATION REQUIREMENT, Disable user identification (e.g., PIN queries), ISO/IEC 7816-8)
28=INS=28 (ENABLE CHV, Enable PIN queries, TS 51.011, EN 726-3)(ENABLE VERIFICATION REQUIREMENT, Enable user identification (e.g., PIN queries), ISO/IEC 7816-8)
C2=INS=C2 (ENVELOPE, Embed a command in a smart card command, EN 726-3, ISO/IEC 7816-4)
0E=INS=0E (ERASE BINARY, Set the content of a file with a transparent structure to the erased state, ISO/IEC 7816-4)
AE=INS=AE (EXECUTE, Execute a file, EN 726-3) (GENERATE AUTHORISATION CRYPTOGRAM, Generate a signature for a payment transaction, EMV)
D4=INS=D4 (EXTEND, Extend a file, EN 726-3)
82=INS=82 (EXTERNAL AUTHENTICATE, Authenticate the outside world with respect to the smart card, ISO/IEC 7816-4)
46=INS=46( GENERATE PUBLIC KEY PAIR, Generate a key pair for an asymmetric cryptographic algorithm, ISO/IEC 7816-8)
CA=INS=CA (GET DATA, Read TLV-coded data objects, ISO/IEC 7816-4)
5A=INS=5A (GET PREVIOUS IEP SIGNATURE, Repeat the computation and output of the last signature received IEP, EN 1546-3)
86=INS=86(GET PREVIOUS PSAM SIGNATURE, Repeat the computation and output of the last signature received from the PSAM, EN 1546-3) (GIVE RANDOM, Send a random number to the smart card, EN 726-3)
C0=INS=C0 (GET RESPONSE, Request data from the smart card (used with the T = 0 transmission protocol), TS 51.011)
F2=INS=F2 (GET STATUS, Read the life-cycle state information of the card manager, application and load file, ISO/IEC 7816-4, OP)
32=INS=32 (INCREASE, Increase the value of a counter in a file, TS 51.011)
36=INS=36 (INCREASE STAMPED, Increase the value of a counter in a file that is protected using a cryptographic checksum, EN 726-3)
50=INS=50 (INITIALIZE IEP, Initialize IEP for a subsequent purse command, EN 1546-3)
70=INS=70 (INITIALIZE PSAM, Initialize PSAM for a subsequent purse command, EN 1546-3)
7C=INS=7C (INITIALIZE PSAM for Offline Collection, Initialize PSAM for offline booking of the amount, EN 1546-3)
76=INS=76 (INITIALIZE PSAM for Online Collection, Initialize PSAM for online booking of the amount, EN 1546-3)
04=INS=04 (INVALIDATE, Reversibly block a file, TS 51.011, EN 726-3)
82=INS=82 (ISSUER AUTHENTICATE, Verify a signature of the card issuer, EMV-2)(MUTUAL AUTHENTICATE, Mutually authenticate the smart card and the terminal, ISO/IEC 7816-8)
E8=INS=E8 (LOAD, Load an application by transferring the load file, OP)
22=INS=22 (MANAGE SECURITY ENVIRONMENT, Change the parameters for using cryptographic algorithms in the smart card, ISO/IEC 7816-8)
10=INS=10 (PERFORM SCQL OPERATION, Execute an SCQL instruction, ISO/IEC 7816-7)
2A=INS=2A (PERFORM SECURITY OPERATION, Execute a cryptographic algorithm in the smart card, ISO/IEC 7816-8)
12=INS=12 (PERFORM TRANSACTION OPERATION, Execute an SCQL transaction instruction, ISO/IEC 7816-7)
14=INS=14 (PERFORM USER OPERATION, Manage users in the context of SCQL, ISO/IEC 7816-7)
78=INS=78 (PSAM COLLECT, Execute PSAM online booking of an amount, EN 1546-3)
7A=INS=7A (PSAM COLLECT, End PSAM online booking of an amount, EN 1546-3)
74=INS=74 (PSAM COMPLETE, End paying the IEP against the PSAM, EN 1546-3)
7E=INS=7E (PSAM VERIFY COLLECTION, End PSAM offline booking of an amount, EN 1546-3)
DA=INS=DA (PUT DATA, Write TLV-coded data objects, ISO/IEC 7816-4)
D8=INS=D8 (PUT KEY, Write one or more new keys or replace existing keys, OP)
B0=INS=B0 (READ BINARY, Read from a file with a transparent structure, TS 51.011)
B4=INS=B4 (READ BINARY STAMPED, Read data from a file with a transparent structure that is secured with a cryptographic checksum, ISO/IEC 7816-4)
B2=INS=B2 (READ RECORD, Read data from a file with a record-oriented structure, TS 51.011) (READ RECORD(S), Read data from a file with a record-oriented structure, ISO/IEC 7816-4)
B6=INS=B6 (READ RECORD STAMPED, Read data from a file with a record-oriented structure that is secured with a cryptographic checksum, EN 726-3)
2C=INS=2C (RESET RETRY COUNTER, Reset an error counter, ISO/IEC 7816-8)
88=INS=88 (RUN GSM ALGORITHM, Execute a GSM-specific cryptographic algorithm, TS 51.011)
A0=INS=A0 (SEARCH BINARY, Search for a text string in a file with a transparent structure, ISO/IEC 7816-9)
A2=INS=A2 (SEARCH RECORD, Search for a text string in a file with a record-oriented structure, ISO/IEC 7816-9)(SEEK, Search for a text string in a file with a record-oriented structure, TS 51.011, EN 726-3)
F0=INS=F0 (SET STATUS, Write life-cycle state data for the card manager, application and load file, OP)
FA=INS=FA (SLEEP, Obsolete command for setting the smart card in a power-saving state, TS 51.011)
F2=INS=F2 (STATUS, Read various data from the currently selected file, TS 51.011)
FE=INS=FE (TERMINATE CARD USAGE, Irreversibly block a smart card, ISO/IEC 7816-9)
E6=INS=E6 (TERMINATE DF, Irreversibly block a DF, ISO/IEC 7816-9)
E8=INS=E8 (TERMINATE EF, Irreversibly block an EF, ISO/IEC 7816-9)
2C=INS=2C (UNBLOCK CHV, Reset a PIN retry counter that has reached its maximum value, TS 51.011 EN)
D6=INS=D6 (UPDATE BINARY, Write to a file with a transparent structure, TS 51.011, ISO/IEC7816-4)
58=INS=58 (UPDATE IEP PARAMETER, Change the general parameters of a purse, EN 1546-3)
84=INS=84 (UPDATE PSAM Parameter (offline), Modify the parameters in the PSAM (offline), EN 1546-3)
82=INS=82 (UPDATE PSAM Parameter (online), Modify the parameters in the PSAM (online), EN 1546-3)
DC=INS=DC (UPDATE RECORD, Write to a file with a linear fixed, linear variable or cyclic structure, TS 51.011, ISO/IEC 7816-4)
20=INS=20 (VERIFY, Verify the transferred data (such as a PIN), ISO/IEC 7816-4, EMV)(VERIFY CHV, Verify the PIN, TS 51.011)
D0=INS=D0 (WRITE BINARY, Write to a file with a transparent structure using a logical AND/OR process, ISO/IEC 7816-4)
D2=INS=D2 (WRITE RECORD, Write to a file with a record-oriented structure using a logical AND/OR process, ISO/IEC 7816-4)