authenticationemvcdaddasda

EMV choose crypto method between SDA/DDA/CDA


I'm a newbie in emv world.

I'm trying to follow this flow: emv flow chart

I'm in the third step. I have to manage the Offline Data Authentication.

How can I negotiate the correct way (SDA, DDA or CDA) with the ICC to perform offline auth?


Solution

  • I got it. You have to the AIP field as follows: enter image description here

    To retrieve the AIP, according to "EMV Book 3 - Application Specification", use te Tag 0x80 Format 1 reply for GET PROCESSING OPTIONS contained:

    x82: Application Interchange Profile (AIP),

    x94: Application File Locator (AFL).