AndreasFagschlunger / O2Xfs

Java API for accessing CEN/XFS API, EMV Level 2 Kernel
47 stars 28 forks source link

Get Event from Pin #47

Closed azdafirmansyah closed 7 years ago

azdafirmansyah commented 7 years ago

Hi All,

I try to get event from pin but still not success.

  1. What is different between GetPINCommand (I get error WFS_ERR_PIN_KEYNOTSUPPORTED using this) and PINGetDataCommand?
  2. which one to capture all pin event ?

Regards, Azda Firmansyah

AndreasFagschlunger commented 7 years ago

Hello @azdafirmansyah!

The GET_DATA command is used to read user input from the PIN Pad, e.g. to navigate through the application (check PINInputDevice). GET_PIN enables a secure PIN entry, where you're only informed that keys are pressed but not actually which ones. Usually you execute GET_PINBLOCK afterwards to get the encrypted PIN which then can be verified by a ICC or online host (e.g. XfsPINPadImpl).

azdafirmansyah commented 7 years ago

Thanks @AndreasFagschlunger,