FCI Proprietary Template
What it is
Where it appears
How tag A5 is encoded
EMV data objects are BER-TLV: tag, then length, then value. A5 is a 1-byte, context-specific class, constructed tag (tag number 5), so its value is itself a series of TLV objects that a parser has to walk in turn.
A510100101Bits 8–7 = 10: context-specific class. Bit 6 = 1: constructed. Bits 5–1 give tag number 5.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