Module talktosc::apdus

source ·
Expand description

Module apdus helps to create new APDUs. We have many create_* functions to help to create predefined APDU structs.

Structs

Creates APDU to be used inside of our project.

Functions

Creates a new APDU to change the PW1 pin. This can be used to reset the counter and set a pin.
Creates a new APDU to change the PW3 admin pin
Creates big APDU to put algorithm attributes data in to the card
Creates new APDU for decryption operation
Creates new APDU only for reading more data from the card
Creates the APDU to get the AID (16 bytes) from the card. See the table 4.2.1 in the SPEC 3.4.1 pdf
Creates a new APDU to get all the Application related data from the card
Creates a new APDU to get all security template information from the card
Creates a new APDU to fetch the public key URL from the card
Creates Management config reading APDU
Creates Management selection APDU
Creates a new APDU to select the personal information from the card.
Creates a new APDU to select the OpenPGP applet in the card.
Creates a new APDU to verify the PW1 for other commands. You should use this before trying to decrypt any data.
Creates a new APDU to verify the PW1 for signing. You should use this before trying to sign any data.
Creates a new APDU to verify the PW3 for admin commands.
Creates APDU to disable OTP application
Creates APDU to enable OTP application