TerminalFormat: bLength: 20
98

Transaction Certificate (TC) Hash Value

Tag ID
98
Format
b
Length (bytes)
20
Source
Terminal

How tag 98 is encoded

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

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

Length

The value is always 20 bytes, so the length field is 14. A complete 98 object starts 98 14 and is 22 bytes long in all.

Value format b

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

Who supplies it

The terminal supplies this value. A card that needs it lists the tag in a data object list (PDOL, CDOL1, CDOL2 or DDOL), and the terminal places the value, at the length the card asked for, in the matching command. In a DOL, 98 appears as 98 14: the tag followed by the length the card wants.

Specification reference

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