Gettrack3, Gettrack1masked, Gettrack2masked – MagTek Audio Reader for Android Devices User Manual

Page 11

Advertising
background image

5

-

public String getTrack2()

Parameters

Return Value

Return stored track2 data string.

getTrack3

Get stored track3 data. This field contains the encrypted track data for track 3.

-

public String getTrack3 ()

Parameters

Return Value

Return stored track3 data string.

getTrack1Masked

Get stored masked track1 data.

-

public String getTrack1Masked()

Parameters

Return Value

Return stored masked track1 data string.

For an ISO/ABA card, the PAN is masked as follows:

• The specified number of initial characters is sent unmasked. The specified

number of trailing characters is sent unmasked. If Mod 10 correction is specified,
all but one of the intermediate characters of the PAN are set to zero; one of them
will be set such that last digit of the PAN calculates an accurate Mod 10 check of
the rest of the PAN as transmitted. If the Mod 10 correction is not specified, all
of the intermediate characters of the PAN are set to the specified mask character.

• The Card Holder’s name and the Expiration Date are transmitted unmasked.

• All Field Separators are sent unmasked.

• All other characters are set to the specified mask character.


For an AAMVA card, the specified mask character is substituted for each of the characters read
from the card.

getTrack2Masked

Get stored masked track2 data.

-

public String getTrack2Masked()

Parameters

Advertising