Current command:
hf mfdes createapp --help
Create application. Master key needs to be provided. usage: hf mfdes createapp [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] options: -h, --help This help -a, --apdu Show APDU requests and responses -v, --verbose Verbose output -n, --keyno <dec> Key number -t, --algo <DES|2TDEA|3TDEA|AES> Crypt algo -k, --key <hex> Key for authenticate (HEX 8(DES), 16(2TDEA or AES) or 24(3TDEA) bytes) --kdf <none|AN10922|gallagher> Key Derivation Function (KDF) -i, --kdfi <hex> KDF input (1-31 hex bytes) -m, --cmode <plain|mac|encrypt> Communicaton mode -c, --ccset <native|niso|iso> Communicaton command set --schann <d40|ev1|ev2|lrp> Secure channel --rawdata <hex> Raw data that sends to command --aid <hex> Application ID for create. Mandatory. (3 hex bytes, big endian) --fid <hex> ISO file ID. Forbidden values: 0000 3F00, 3FFF, FFFF. (2 hex bytes, big endian) --dfname <string> ISO DF Name (1..16 chars) --dfhex <hex> ISO DF Name as hex (1..16 bytes) --ks1 <hex> Key settings 1 (1 hex byte). Application Master Key Settings (def: 0x0F) --ks2 <hex> Key settings 2 (1 hex byte). (def: 0x0E) --dstalgo <DES|2TDEA|3TDEA|AES> Application key crypt algo (def: DES) --numkeys <dec> Number of keys 0x00..0x0e (def: 0x0E) --no-auth Execute without authentication examples/notes: option rawdata have priority over the rest settings, and options ks1 and ks2 have priority over corresponded key settings