smartcard - I can't select MF on credit card -
i'm trying following apdu:
00 a4 00 00 02 3f 00 00
everything according iso 7816-4 (7.1.1), execution fails sw 0x6a86 (incorrect parameters p1-p2)
why? i'm doing wrong?
standard states follows:
if p1 set '00', card knows whether file select mf, df or ef, either because of specific encoding of file identifier, or because of command processing context.
...
if p2 set '00' , command data field absent or set '3f00', mf shall selected.
i checked visa/mc cards , apdu fails on of them.
your idea correct, difficult understand without background:
smartcard either native cards (these have file system including mf, of course) or javacards / open plattform cards (which have none). select command both types share, select aid (application id), i. e. selecting application (p1 = 4, command data field contains aid). emv compliant cards can realized on both, apparently have latter.
Comments
Post a Comment