This is something new and I've never done any coding related to online transaction or debit/credit cards. I was told to study about EMV(EuroPay Master Visa) card to implement it in Android App.
So far, I have collected info about
- APDU
- file structure
- "APDU Command" is sent to get useful info from card.
- APDU fields (CLA, INS, P1, P2, Lc, Data, Le)
- "APDU response" is sent back from card to card reader.
All these processes happen between the card and the card reader. In my case, the card reader is attached to an android device. I may need to display card details to user in android app (Ex: Displaying last 4 digit of card number). My questions are
- what are the possible values in APDU command fields if i want to authenticate card.?
- How to communicate between card reader and device using Java.
PS: I don't need any codes. I just need a simple explanation, I will continue R&D once i understand the concept.