Module common

Source
Expand description

APDU utilities.

Structs§

APDUAnswer
An APDU response is a wrapper around some response bytes. To avoid unnecessary clones, it exposes the retcode and response data as getters.
APDUCommand
An APDU Command packet, used to issue instructions to the smart card. See wikipedia for additional format details
APDUData
APDU data blob, limited to 255 bytes. For simplicity, this data does not support 3-byte APDU prefixes.

Enums§

APDUResponseCodes
APDU Response codes. These are the last 2 bytes of the APDU packet. Please see APDU and Ledger documentation for each error type.