[−][src]Module talktosc::apdus
Module apdus helps to create new APDUs. We have many create_*
functions to help to create
predefined APDU structs.
Structs
APDU | Creates APDU to be used inside of our project. |
APDUIterator |
Functions
create_apdu_change_pw1 | Creates a new APDU to change the PW1 pin. This can be used to reset the counter and set a pin. |
create_apdu_change_pw3 | Creates a new APDU to change the PW3 admin pin |
create_apdu_for_algo_attributes | Creates big APDU to put algorithm attributes data in to the card |
create_apdu_for_decryption | Creates new APDU for decryption operation |
create_apdu_for_reading | Creates new APDU only for reading more data from the card |
create_apdu_get_aid | 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 |
create_apdu_get_application_data | Creates a new APDU to get all the Application related data from the card |
create_apdu_get_url | Creates a new APDU to fetch the public key URL from the card |
create_apdu_personal_information | Creates a new APDU to select the personal information from the card. |
create_apdu_select_openpgp | Creates a new APDU to select the OpenPGP applet in the card. |
create_apdu_verify_pw1_for_others | Creates a new APDU to verify the PW1 for other commands. You should use this before trying to decrypt any data. |
create_apdu_verify_pw1_for_sign | Creates a new APDU to verify the PW1 for signing. You should use this before trying to sign any data. |
create_apdu_verify_pw3 | Creates a new APDU to verify the PW3 for admin commands. |