Reply To: Trying to read DESFire EV1 Card, requires Authentication.

Forum MIFARE SDK Trying to read DESFire EV1 Card, requires Authentication. Reply To: Trying to read DESFire EV1 Card, requires Authentication.

Re: Trying to read DESFire EV1 Card, requires Authentication.

19. May 2016 at 19:08
I can select the app.
I would like to readData but need to authenticate before (am I right?).
Is the the right way to do it?
objDESFireEV1.selectApplication(65536);

objDESFireEV1.authenticate(DESFireEV1.AuthType.AES, keyNo, version, cardkeyNo, IKeyConstants.DIV_OPTION_NODIVERSIFICATION, null);

dataCashlessCode = objDESFireEV1.readData(fileNo, 0, 0, DESFireEV1.CommunicationType.Enciphered, dataCashlessCode.length);
Thanks.
+ 0  |  - 0