JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
convert my CAP file into sequence of APDU
convert my CAP file into sequence of APDU
Hi all,
I want to know how to convert my CAP file into sequence of APDU. Then I can use these APDU to download my applet into my smart card.
Is there anyone that know this? Many thanks..
Cheers,
Jpita
I want to know how to convert my CAP file into sequence of APDU. Then I can use these APDU to download my applet into my smart card.
Is there anyone that know this? Many thanks..
Cheers,
Jpita
Re: convert my CAP file into sequence of APDU
You can refer to JCVM and GP specification. The JCVM spec defines the order in which the components of the CAP file should be put together and then it is multiple LOAD APDU's to send the data to the card.
- lostsiwonlw
- Posts: 55
- Joined: Fri Jul 31, 2015 9:09 pm
- Points :358
- Contact:
Re: convert my CAP file into sequence of APDU
Check GP pecification "9. APDU Command Reference"
Searching for meaning...
Re: convert my CAP file into sequence of APDU
Thanks for your help!
The section you mentioned only defines the structure of the Load File, but not the way of converting .cap file into a sequence of APDUs data block.
The section you mentioned only defines the structure of the Load File, but not the way of converting .cap file into a sequence of APDUs data block.
Re: convert my CAP file into sequence of APDU
Jpita wrote:Thanks for your help!
The section you mentioned only defines the structure of the Load File, but not the way of converting .cap file into a sequence of APDUs data block.
Use the order for creating a binary blob of data from the cap file and then use the GP LOAD command.
A CAP file is a JAR file with the actual CAP file components. You extract them from the JAR and concatenate the raw data into one large blob. The components are joined in that order.
Re: convert my CAP file into sequence of APDU
Thanks for all your help! I will have a try!
Who is online
Users browsing this forum: Bing [Bot] and 20 guests