Search code examples
javasmartcardsmartcard-reader

eVRC reader get EF.Registration length


How can I get the exact length of EF.Registration? After I select the EF.Registration_A (D001) I read the FCP response with the length of EF. But the length is always the same 4096. I would like to get the exact lenght of data which is filled in EF.


Solution

  • Sometimes the sizes of the EF's are predetermined before personalization (so you are sure everything fits). In that case you need to establish the size of the EF from the EF itself. Can you post the first 20 bytes or so of EF.Registration?