Card (ICC)Format: nLength: 3
42

Issuer Identification Number (IIN)

Tag ID
42
Format
n
Length (bytes)
3
Source
Card (ICC)

What it is

Number identifying the major industry and card issuer (ISO 7812), forming the leading digits of the PAN.

How tag 42 is encoded

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

4201000010Bits 8–7 = 01: application class. Bit 6 = 0: primitive. Bits 5–1 give tag number 2.

Length

The value is always 3 bytes, so the length field is 03. A complete 42 object starts 42 03 and is 5 bytes long in all.

Value format n

Format n is numeric: BCD, two digits per byte, right-aligned and padded with leading zeros. 3 bytes hold 6 digits.

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