Forum › MIFARE SDK › DESFire EV1 Invalid MAC SecurityException › Reply To: DESFire EV1 Invalid MAC SecurityException
You said, to only read amount of bytes that is needed and not all. But reading a portion of an encrypted file results to an invalid checksum exception in my desfireEV2. Therefore, I am forced to read all of the bytes.
Secondly, I hardcode the file size because I know the value. But in case if I don't, how do I get the file size? There is none in the API that can tell me the file size.
Secondly, I hardcode the file size because I know the value. But in case if I don't, how do I get the file size? There is none in the API that can tell me the file size.
+ 0
|
- 0