Encrypted magneprint data, Device serial number, Track 1 masked data length – MagTek MagneSafe V5 User Manual

Page 22: Track 2 masked data length, Track 3 masked data length, Masked track data

Advertising
background image

MagneSafe V5

14

Encrypted MagnePrint Data

This 128 byte Binary field contains the MagnePrint data. Only the number of bytes specified in
the MagnePrint data length field are valid. The least significant bit of the first byte of data in this
field corresponds to the first bit of MagnePrint data. If the Enable/Disable MagnePrint property
is set to disable MagnePrint, this field will not be sent.

Device Serial Number

This 16-byte ASCII field contains the device serial number. The device serial number is a NUL
(zero) terminated string. So the maximum length of the device serial number, not including the
null terminator, is 15 bytes. This device serial number can also be retrieved and set with the
device serial number property explained in the property section of this document. This field is
stored in non-volatile memory, so it will persist when the unit is power cycled.

Track 1 Masked Data Length

This one-byte value indicates how many bytes of decoded card data are in the track 1 Masked
Data field. This value will be zero if there was no data on the track or if there was an error
decoding the track.

Track 2 Masked Data Length

This one-byte value indicates how many bytes of decoded card data are in the track 2 Masked
Data field. This value will be zero if there was no data on the track or if there was an error
decoding the track.

Track 3 Masked Data Length

This one-byte value indicates how many bytes of decoded card data are in the track 3 Masked
Data field. This value will be zero if there was no data on the track or if there was an error
decoding the track.

Masked Track Data

If decodable track data exists for a given track, it is located in the Masked Track Data field that
corresponds to the track number. The length of each Masked Track Data field is fixed at 112
bytes, but the length of valid data in each field is determined by the Masked Track Data Length
field that corresponds to the track number. Masked Track Data located in positions greater than
indicated in the Masked Track Data Length field are undefined and should be ignored. The HID
specification requires that reports be fixed in size but the number of bytes encoded on a card may
vary. Therefore, the Input Report always contains the maximum amount of bytes that can be
encoded on the card and the number of valid bytes in each track is indicated by the Masked
Track Data Length field.

The Masked Track Data is decoded and converted to ASCII and then it is “masked.” The
Masked Track Data includes all data starting with the start sentinel and ending with the end
sentinel. Much of the data is “masked;” a specified mask character is sent instead of the actual
character read from the track. Which characters are masked depends on the format of the card.
Only ISO/ABA (Financial Cards with Format Code B) and AAMVA cards are selectively

Advertising