EMV tag 9F10 (Issuer Application Data): an introduction

By · published · technically reviewed

Runs in your browser. This page loads no analytics or third-party scripts and does not send what you type.

The Issuer Application Data (tag 9F10) is data the card produces for its issuer. EMV defines the tag and its maximum length (32 bytes); the layout inside it is set by the scheme profile and the cryptogram version. Identify the scheme and the format before interpreting any byte.

What the IAD is for

The card returns the IAD with the cryptogram: in the GENERATE AC response for a contact transaction (contactless cards may return it in the GET PROCESSING OPTIONS response). The terminal does not interpret it. It passes it to the acquirer in the authorisation message (DE 55), and the issuer host parses it.

The IAD usually carries:

  • the Cryptogram Version Number (CVN), which tells the issuer how to verify the cryptogram;
  • a Derivation Key Index (DKI), which identifies the issuer master key;
  • the Card Verification Results (CVR): the card’s own record of what it checked and decided in this transaction and in previous ones;
  • in some formats, counters and issuer-defined data.

Visa formats

Visa’s own profile specifications are licensed, so the layouts below are as documented in public sources: the open-source OpenEMV emv-utils and pyemv implementations and the AWS Payment Cryptography documentation. Visa’s profiles define several IAD formats. The high nibble of the CVN byte gives the format: CVN 0A (CVN 10) is format 0, CVN 12 (CVN 18) is format 1, and a CVN byte 22 is format 2.

Formats 0, 1 and 3 share their first seven bytes:

ByteContent
1Length of the Visa discretionary data, 06
2Derivation Key Index
3Cryptogram Version Number
4–7CVR: a length byte (03) and three bytes of flags
8…Issuer discretionary data, when present

Format 2 is 32 bytes: a length byte (1F), the CVN, the DKI, a 5-byte CVR, an issuer discretionary data option ID and issuer discretionary data.

The CVR flags include the cryptogram types returned in the first and second GENERATE AC, whether offline PIN verification was performed and failed, whether issuer authentication failed, and counters and conditions from earlier transactions (PIN try limit exceeded, velocity limits exceeded, last online transaction not completed). Several of these bit meanings come from public secondary sources rather than from Visa; the decoder marks them as such. Check them against your card profile before relying on them in production.

Mastercard and other profiles

Mastercard M/Chip profiles use a different IAD layout with their own CVR, and EMV’s Common Core Definitions define another. This site’s decoder does not interpret them: it shows them raw rather than guess. Use the scheme’s profile documentation for those.

Reading the CVN for cryptogram verification

The CVN tells you which card key derivation, session key, transaction data and padding to use. For Visa CVN 18, the full IAD is also part of the data the cryptogram is computed over; for CVN 10, the CVR is. A host that reads the CVN from the wrong byte, or uses the wrong part of the IAD in the cryptogram data, cannot verify the ARQC. The ARQC verifier has presets for Visa CVN 10 and CVN 18, and Debugging an ARQC mismatch goes through the checks in order.

Decoder

The value below is the IAD from pyemv’s published VisaCVN18 example, 06 01 12 03 A0 B8 00, wrapped in tag 9F10: format 1, DKI 01, CVN 18, CVR 03 A0 B8 00. The decoder splits the Visa formats into their fields; any other layout is shown raw.

Input

Paste an FCI, GPO response, record dump, or a DOL.

Result

1 data object decoded.

9F10 Issuer Application Data (IAD) [7]
06011203A0B800
→ Visa VIS/VCPS profile, IAD format 1: DKI 01, CVN 18 (12), CVR 03A0B800
· Visa VIS/VCPS profile, IAD format 1 (CVN high nibble 1). Other issuers or schemes may use this tag differently.
· Byte 1 (06): length of the Visa discretionary data
· Byte 2: Derivation Key Index 01
· Byte 3: Cryptogram Version Number 12 (CVN 18)
· Bytes 4–7: Card Verification Results 03 A0 B8 00 (first byte is the CVR length)
· CVR: Second GENERATE AC: not requested
· CVR: First GENERATE AC (contactless: GPO): ARQC
· CVR: Last online transaction not completed (bit meaning from public secondary sources, not a Visa document)
· CVR: Exceeded velocity checking counters (bit meaning from public secondary sources, not a Visa document)
· CVR: New card (bit meaning from public secondary sources, not a Visa document)
· CVR: Issuer authentication failure on last online transaction (bit meaning from public secondary sources, not a Visa document)

To decode a single value without the TLV wrapper, use the tag page for 9F10. See also the tag pages for 9F26 (the cryptogram) and 95 (the TVR), and the EMV transaction walkthrough, where the IAD is built as part of the first GENERATE AC.

References

See also

Related tools