Card (ICC)Format: bLength: var
94

Application File Locator (AFL)

Tag ID
94
Format
b
Length (bytes)
var
Source
Card (ICC)

What it is

The Application File Locator (AFL) lists which records the terminal must read and which of them are included in offline data authentication. Each 4-byte entry encodes an SFI, a first and last record number, and a count of records to feed into the authentication hash.

Where it appears

Returned in GET PROCESSING OPTIONS; drives the READ RECORD loop and authentication.

How tag 94 is encoded

EMV data objects are BER-TLV: tag, then length, then value. 94 is a 1-byte, context-specific class, primitive tag (tag number 20), so its value is plain data rather than nested TLV objects.

9410010100Bits 8–7 = 10: context-specific class. Bit 6 = 0: primitive. Bits 5–1 give tag number 20.

Length

The length varies, so read it from the length field: one byte for values up to 127 bytes, 81 plus one byte up to 255, 82 plus two bytes beyond that.

Value format b

Format b is binary: the bits mean what this tag defines, with no padding or character conversion.

Who supplies it

The card supplies this value. The terminal reads it from the card’s responses during application selection, GET PROCESSING OPTIONS, READ RECORD or GENERATE AC, depending on where the issuer personalised it.

Specification reference

Defined in: EMV 4.x Book 3 (Application Specification), Annex A — Data Element Dictionary

Example values

08010100SFI 1, records 1–1, 0 records signed
10020200SFI 2, records 2–2

Decode & build this tag