on-internet
← Community

Generate "GET PROCESSING OPTIONS" (GPO) for EMV card (APDU) by PDOL

Stack Overflow ·

GPO Command is defined like this as an APDU command: CLA INS P1 P2 Lc Data Le 80 A8 00 00 Lc Data 00 So the missing parts is Lc & Data which we have to compute from the PDOL (if it is given). If it is not given, we can use: 80 A8 00 00 02 8300 00 That works for mastercards, but for VISA I am given a PDOL & trying to construct the missing APDU part (Lc & Data). STEP 1 - I get this PDOL from my EMV card: 9F66049F02069F03069F1A0295055F2A029A039C019F3704 STEP 2 - Splitting it up by commands: 9F6604 9F0206 9F0306 9F1A02 9505 5F2A02 9A03 9C01 9F3704 STEP 3 - Splitting it again by byte length: 9F66 0

Comments

Sign in or sign up to comment and upvote.

No comments yet.