Generic Card API (external)

Latest version 2.0.0

As part of the Card Layer, the Generic Card API provides the low-level functionality used to exchange raw APDUs with any card, without the API interpreting their content.

The complete, versioned reference — types, operations, behaviour, diagrams and constraints — is maintained in the Generic Card API specification. This page is only a short overview.


What it provides

  • Raw commands — an APDU is prepared as supplied by the application, then processed with the other prepared commands.

  • Command identification — a command may carry an identifier, used to retrieve its response or to name the offending command when processing fails.

  • Execution-time control — a command may carry a maximum duration, which brings the timing countermeasure down to the level of the individual command.


Learn more

→ Read the full Generic Card API specification