see a task, pick it, and start by step 0:
IFD
ICC Reader Device (IFD)

http://pcscworkgroup.com/Download/Specifications/pcsc4_v2.01.01.pdf
general authenticate
The GENERAL AUTHENTICATE command is used to establish a Secure Channel session, according to Secure Channel Protocol ’03’ described in GPCS Amendment D [Amd D].
symmetric key
ISO/IEC 11770-2:2018
https://www.iso.org/standard/73207.html

apdu
https://en.wikipedia.org/wiki/Smart_card_application_protocol_data_unit
RND
RND.IFD and RND.ICC are each 16 Bytes
A.IFD
A.IFD = RND.IFD || RND.ICC etc