limousyf / paytools

1 stars 0 forks source link

Add FFI decoder #35

Open limousyf opened 7 years ago

limousyf commented 7 years ago

VCPS 2.2 page 141 Tag 9f6e

limousyf commented 7 years ago

MasterCard page 78 in Paypass MChip requirements (3rd-party data format) Third Party Data Tag ‘9F6E’ Length 5–32 Format b Descriptions The Third Party Data contains proprietary information from a third party and is coded as shown below. If present in the PayPass card, the Third Party Data is returned in the File Control Information Template in response to the SELECT ADF command. The Device Type subfield is present when the most significant bit of byte 1 of the Unique Identifier is set to 0b. In this case, the maximum length of the Proprietary Data field is 26 bytes. Third Party Data may be used to communicate the Device Type to the terminal, even when there is no Proprietary Data being used. In this case a static, default value of ‘0000’ for the Unique Identifier is used. Third Party Data Format Data Field Length Format Value Country Code 2 n 3 Country Code according to [ISO 3166-1] Unique Identifier 2 b Value assigned by MasterCard, or ‘0000’ if no Proprietary Data included. Device Type 0 or 2 an See table below Proprietary Data 1–26 or 28 b Determined by issuer/third party; Default value of ‘00’ if field not used. Device Type Device Types are assigned as follows: Device Value Card 00 (NB ASCII value coded as ‘3030’) Mobile Network Operator (MNO) or controlled removable secure element (SIM or UICC) personalized for use with a Mobile Phone or a Smartphone1 01 Key Fob 02 Watch 03 Mobile Tag 04 Wristband 05 Mobile Phone Case or Sleeve 06 Mobile Phone or Smartphone with a permanent secure element controlled by the MNO, for example CDMA 07 Removable secure element not controlled by the MNO, for example SD Card personalized for use with a Mobile Phone or Smartphone1 08 Mobile Phone or Smartphone with a permanent secure element not controlled by the MNO 09 MNO controlled removable secure element (SIM or UICC) personalized for use with a tablet or eBook 10 Tablet or eBook with a permanent secure element controlled by the MNO 11 Removable permanent element not controlled by the MNO, for example SD Card personalized for use with a tablet or eBook 12 Tablet or eBook with a permanent secure element not controlled by the MNO 13 Reserved for future use 14–99

limousyf commented 7 years ago

Tag 9f67 on Amex: Payment Device Type and Capabilities Indicator

limousyf commented 7 years ago

Apparently there's also a 9f70 on Amex

limousyf commented 7 years ago

Page 106 in ExpressPay mobile specifications

Card Interface Capabilities Byte 1 B8 B7 B6 B5 B4 B3 B2 B1 Meaning 0 1 = Keyed Data Entry Supported (Embossed or Printed PAN) 0 1 = Physical Magnetic Stripe Supported 0 1 = Contact EMV Interface Supported 1 1 = Contactless EMV Interface Supported 1 1 = Mobile Interface Supported 0 0 0 RFU Card Interface Capabilities Byte 2 0 0 0 0 0 0 0 0 RFU