Current command:
emv genac --help
Generate Application Cryptogram command. It returns data in TLV format. Needs a EMV applet to be selected and GPO to be executed. usage: emv genac [-hkcpmatw] [-d <aac|tc|arqc>] <hex> [<hex>]... options: -h, --help This help -k, --keep Keep field ON for next command -c, --cda Executes CDA transaction. Needs to get SDAD in results. -d, --decision <aac|tc|arqc> Terminal decision. aac - declined, tc - approved, arqc - online authorisation requested -p, --params Load parameters from `emv_defparams.json` file for CDOLdata making from CDOL and parameters -m, --make Make CDOLdata from CDOL (tag 8C and 8D) and parameters (def: use default parameters) -a, --apdu Show APDU requests and responses -t, --tlv TLV decode results of selected applets -w, --wired Send data via contact (iso7816) interface. (def: Contactless interface) <hex> CDOLdata/CDOL examples/notes: emv genac -k 0102 -> generate AC with 2-byte CDOLdata and keep field ON after command emv genac -t 01020304 -> generate AC with 4-byte CDOL data, show result in TLV emv genac -Daac 01020304 -> generate AC with 4-byte CDOL data and terminal decision 'declined' emv genac -pmt 9F 37 04 -> load params from file, make CDOL data from CDOL, generate AC with CDOL, show result in TLV