Module iso7816_chain

A pcsc_apdu_transform implementation which handles ISO7816 command and response chaining.

Behaviours: pcsc_apdu_transform.

Description

A pcsc_apdu_transform implementation which handles ISO7816 command and response chaining.

With this transformation enabled, you can send long APDUs using a single iso7816:apdu_cmd() record containing all of the concatenated data. The transformation will handle breaking it up into a series of chained smaller APDUs.

When a card replies with the 61XX "continue" response code, this transformation will also take over and issue GET_RESPONSE commands as needed until the full length has been read, giving you a single iso7816:apdu_reply() record containing all of the data and the final status word.

Generated by EDoc