Search code examples
smartcardjavacardapduglobalplatform

read package Name,package AID and Applet AID from capFile


How do i want to get the package AID and applet AID from the cap file?

Currently i am using a tool PyApduTool to get the info of the cap file but right now im trying to create my own tool but got stuck on this step.

Glad if anyone can assists me on this.

Thanks


Solution

  • Download Java Card documentation and look into Java Card Virtual Machine specification. It explains every detail of CAP file format and is (to the best of my knowledge) completely correct and contains just one minor error which is not relevant to you.