Help: How to download the applet by script file (generate by SCRIPTGEN)
Hi allMy card have Javacard 2.1.1 GP 2.0.1. I built a PAC file and generate SCRIPT file in SCRIPTGEN tool.
This is my script:
0 x 80 0xB0 0x00 0x00 0 x 00 0x7F;
JavaCard/Header.cap
0 x 80 0xB2 0x01 0x00 0 x 00 0x7F;
0 x 80 0xB4 0x01 0x00 0x13 0x01 0x00 0 x 10 0xDE 0xCA 0xFF 0xED 0x01 0x02 0x04 0x00 0x01 0x06 0x11 0 x 22 x 0 33 0 x 44 0 x 55 0 x 66 0x7F;
0 x 80 0xBC 0x01 0x00 0 x 00 0x7F;
JavaCard/Directory.cap
0 x 80 0xB2 0x02 0x00 0 x 00 0x7F;
0 x 80 0xB4 0x02 0x00 0x20 0x02 0 x 00 0x1F 0x00 0x10 0 x 00 0x1F 0 x 00 0x0A 0x0B 00 x 0 0 x 00 0x1E 0 x 00 0x0C 0 x 00 0x3D 0 x 00 0x0A 0 x 00 0x0B 0x00 0x00 0 x 00 0x4D 0x00 0x00 0x00 0x00 0x00 0x00 0 x 01 0x7F;
0 x 80 0xB4 0x02 0x00 0x02 0x01 0 x 00 0x7F;
0 x 80 0xBC 0x02 0x00 0 x 00 0x7F;
JavaCard/Import.cap
0 x 80 0xB2 0x04 0x00 0 x 00 0x7F;
0 x 80 0xB4 0x04 0 x 00 0x0E 0x04 0 x 00 0x0B 0x01 0x00 0x01 0 x 07 0xA0 0x00 0x00 0x00 0 x 62 0x01 0 x 01 0x7F;
0 x 80 0xBC 0x04 0x00 0 x 00 0x7F;
JavaCard/Applet.cap
0 x 80 0xB2 0x03 0x00 0 x 00 0x7F;
0 x 80 0xB4 0x03 0 x 00 0x0D 0x03 0 x 00 0x0A 0x01 0x06 0x11 0 x 22 x 0 33 0 x 44 0 x 55 0 x 67 0x00 0 x 08 0x7F;
0 x 80 0xBC 0x03 0x00 0 x 00 0x7F;
JavaCard/Class.cap
0 x 80 0xB2 0x06 0x00 0 x 00 0x7F;
0 x 80 0xB4 0x06 0 x 00 0x0F 0x06 0 x 00 0x0C 0x00 0x80 0x03 0 x 00-0xFF 0x00 0x07 0x01 0x00 0x00 0 x 00 0x1C 0x7F;
0 x 80 0xBC 0x06 0x00 0 x 00 0x7F;
JavaCard/Method.cap
0 x 80 0xB2 0x07 0x00 0 x 00 0x7F;
0 x 80 0xB4 0x07 0x00 0x20 0x07 0 x 00 0x3D 0x00 0x01 0x10 0 x 18 0x8C 0x00 0 x 01 0x7A 0x05 0 x 30 0x8F 0x00 0 x 06 0x3D 0x8C 0x00 0x05 0 x 18 0x1D 0x04 0x41 0 x 18 0x1D 0 x 25 0x8B 0x00 0 x 02 0x7A 0 x 02 0x7F;
0 x 80 0xB4 0x07 0x00 0x20 0x21 0 x 18 0x8B 0x00 0x03 0 x 60 0 x 03 0x7A 0 x 19 0x8B 0x00 0 x 04 0x2D 0x1A 0x04 0 25 x 0 x 73 0x00 0 x 09 0x00 0x00 0x00 0x00 0 x 00 0x0F 0 x 11 0x6D 0 x 00 0x8D 0x00 0 x 00 0x7A 0x7F;
0 x 80 0xBC 0x07 0x00 0 x 00 0x7F;
JavaCard/StaticField.cap
0 x 80 0xB2 0x08 0x00 0 x 00 0x7F;
0 x 80 0xB4 0x08 0 x 00 0x0D 0x08 0 x 00 0x0A 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0 x 00 0x7F;
0 x 80 0xBC 0x08 0x00 0 x 00 0x7F;
JavaCard/ConstantPool.cap
0 x 80 0xB2 0x05 0x00 0 x 00 0x7F;
0 x 80 0xB4 0x05 0x00 0x20 0x05 0 x 00 0x1E 0x00 0x07 0x06 0x80 0x07 0x01 0x06 0x80 0x03 0x00 0x03 0x80 0x03 0x02 0x03 0x80 0x03 0x03 0x03 0 x 80 0x0A 0x01 0x06 0x00 0x00 0x01 0x01 0x00 0 x 00 0x7F;
0 x 80 0xB4 0x05 0x00 0x01 0 x 00 0x7F;
0 x 80 0xBC 0x05 0x00 0 x 00 0x7F;
JavaCard/RefLocation.cap
0 x 80 0xB2 0 x 09 0x00 0 x 00 0x7F;
0 x 80 0xB4 09 x 0 0 x 00 0x0E 09 x 0 0 x 00 0x0B 0x00 0x00 0x00 0x07 0x05 0x06 0 x 04 0x0A 0x07 0x07 0 x 13 0x7F;
0 x 80 0xBC 0 x 09 0x00 0 x 00 0x7F;
0 x 80 0xBA 0x00 0x00 0 x 00 0x7F;
Then, when upload in the card, what would we do?
In my case, something must be below:
(1) //select of INSTALLATION
0 x 00 0xa4 0x04 0x00 0 x 08 0xA0 0x00 0x00 0x00 0x03 0x00 0x00 0 x 00 0x7F;
(2) //set key to open a secure channel
button Set 255/1 /-BCE / 404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
== > Real APDU of this command? Please suggest me!
(3) / / init-updated 255
0x80 0 x 50 0x00 0x00 0 x 08 0x9A 0xE5 0x80 0 x 27 0x9D 0 x 71 0xE9 0 x 98 0x00
Ext-auth plain
84 X 0 0 X 82 0X00 0X00 0X10 0X81 0 X 49 0X27 0XBE 2 54 17 26 17 14 1 77 15 E6 B0 AF
(4) / / upload file CAP
(5) / / install the CAP file
* In step (2), i.e. the data should be ecrypt before downloading, it's true? *
So, when I check in the SCRIPT file and file CAP, I saw that the data do not yet have encrypt
== > what tool can I use to encrypt and these step were full?
Published by: hoaibaotre on March 2, 2011 09:23
I don't know if I fully understand your question, but when you open a secure channel in GPShell, the rest of the session (until you doing something that ends the secure session), the APDU is sent by using appropriate encryption and kidnapped, according to the security level.
-Security parameter give the level of security required for the secure session. This is described in the README file.
-x 0 security: clear, 1: MAC, 3: MAC + ENC
See you soon,.
Shane
Tags: Java
Similar Questions
-
How to download the Windows 7 iso file with service pack
Where I can get the download links for windows 7 ultimate 64-bit with sp & all updates until now.
Hey Danny,
Please contact Microsoft Community.Please refer to the suggestions of Andre Da Costa responded on 16 August 2012Note: Microsoft recommends not downloads from third-party Web sites. Ensure that you download the software from a source/website is legitimate.
I hope this helps. Back to us for assistance on Windows.
-
Hi, I, m need Adobe Photoshop CC 2015 offline trial version Installer. Please help me. How to download the version from the adobe web site offline?
First read the important instructions on this page.
-
I just bought a new computor. I got Lightroom 5.7 on the old computor and need to know how to download the program on my new computor. Thanks for any help you can provide.
Lightroom - all versions
Windows
http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Windows
Mac
http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh
-
Inspiron 3521: How to download the utility Miracast on Inspiron 15-3521
Hello. I just bought a laptop Inspiron 3521 Win8 OS with Dell Wireless 1705 (pilot: 10.0.0.222) in the United States. I just wonder where & how to download the Miracast utility on my laptop. Thank you.
Hi harry_yxb,
Miracast Utility is only available for the following wireless cards as your system inspiron 3521 provided with Dell Wireless card from 1705. This utility is not compatible with it.
- Dell Wireless 1601
- Dell Wireless 1601 A2
- Mini Wireless card WLAN 1601 half
Please let me know iif that helps.
-
I need to download my application of newsletter to customers at the apple store. They already have an app problem multi with previous editions of the newsletter. How to download the new edition to this multi app problem?
All you need to do is post the folio to Folio Producer. See https://helpx.adobe.com/digital-publishing-suite/help/publish-folios-distribution-service. html
Neil
-
How to download the podcast on Apple Watch
How to download the podcast on Apple Watch? you want to play on exhausted by phone. Thank you
Hello
The built-in on Apple Watch software does not currently support podcasts.
If you want to suggest that Apple considers adding this as a new feature, you can do it here:
-
How to download the HP software to scan a document and save it to editable word format in windows 7
Hi surrendernot,
It is possible that one) you use different software of scans other than HP software for scanning or b) the HP software is different on Windows 7, on Windows XP, because they are completely different operating systems and may be a more recent version of the software.
Other methods of analysis lies in this guide to scanning, how HP Multifunction printers - how Scan: Windows 7, you can try scanning without HP software as well.
I hope that answers your question!
-
How to download the windows aero & know if my computer is compatible?
How to download the windows aero & know if my computer is compatible?
Hello
You do not download Aero; It is part of Vista, with the exception of Vista Basic.
Windows Aero
Windows Aero is the experience of office available for PCs using a compatible graphics card and running editions Home Premium, Business, Ultimate, or Windows Vista Enterprise. Windows Aero offers a user experience that makes it easier to visualize and work with your information, and it provides a smoother, more stable desktop experience.
You must have the graphic material correct, consistent as explained above and below to use Aero.
Here are the system requirements for Vista:
http://Windows.Microsoft.com/en-us/Windows-Vista/products/system-requirements
See you soon.
-
I don't know how to download the new msn Messenger.
I don't know how to download the new msn Messenger, whenever I download it go back mode. and do not have to install the program this is happing to 4 on my computer and won't let me use msn messenger I have there say this update is done I need a fix.this is by Microsoft live essentials download
Start here: http://explore.live.com/windows-live-messenger
You will find support for Windows Live Messenger in these forums: http://windowslivehelp.com/forums.aspx?productid=2
-
How to download the upgrade for windows 10
I have Windows 7 SP1 Home premium, when I click on the link to upgrade to 10 windows it gives me a link to download windows 7 ISO. Why do I need win 7 ISO when I have already installed? How to get windows 10 then, I do not understand?
Hello
If you can't get Windows 10 to get 10 app windows or Windows update, you always have the option of ISO to upgrade.
Download Windows 10 media creation tool
Simply select this option of PC/improvement.
After you download the Windows 10 installation files using this tool, you can upgrade your existing 10 Windows operating system, or you can create the bootable USB drive or DVD to install Windows 10 key later. You can also save the installation files to the ISO in offline mode file format, if you wish.
(Askvg.com)
-
How to download the trial version of indesign CS5.5?
How to download the trial version of indesign CS5.5?
Download Adobe Creative Suite 5.5 products
Mylenium
-
How to download the creative cloud for my new desktop PC?
How to download the creative cloud for my new desktop PC?
Cloud license allows 2 activations http://www.adobe.com/legal/licenses-terms.html
-Install on a 2nd computer http://forums.adobe.com/thread/1452292?tstart=0
-Windows or Mac has no importance... 2 on the same operating system or 1 on each
-Two activations on one account CAN NOT be used at the same time (to be noted in the link above of the license)
-An individual account is for one person and may not be shared with anyone else
-
I have paid the monthly fee and have been using Acrobat Pro DC. I had a problem where I broke my previous laptop and want to continue to use this product. I bought another laptop, and I don't know how to download the program without having to pay again. I pay $14,99 per month for this service, how can I download it without having to pay again?
Hello
Please download Acrobat Pro ms of the here. After you download the application, install and activate it by providing your Adobe ID
Thank you
Abhishek
-
How to integrate the police Segoe Script in a saved pdf file?
When I save a file .psd in .PDF (with Photoshop elements 12), two of the three fonts do appear fine in the .pdf file, but not the third (Segoe Script). I open the PDF with Adobe Reader XI.
How to integrate the police Segoe Script in the .pdf file? (Depending on the printer, it must be there.)
Thank you.
Yes you will not be able to use either the distorted text.
(these kinds of properties do not appear in this font)
If you want to tilt the text as it would be for the italicized text, you can use Image > transform > Skew.
Maybe you are looking for
-
Cannot paste URL for my Google calendar because location to stick disappears
I go through the steps to link my Google calendar to the lightning, but when I try to choose Google Calendar option in the parameters of lightning the place to paste link disappears. This does not happen when you select the other options. How can I a
-
Is there a way to stop the iPad get empty while I have a recipe to use?
When I find a recipe ethat I want to use and pull up, I would like the iPad screen to stay while I prepare the recipe. Is there a way to do this? Thank you jbacinti
-
Equium M50: Problems with white screen at startup-> solved
I posted a request on this issue on 5 March 2007 that has since been locked. http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=20992 For anyone having the same problem, I discovered this is a temperature problem. I live in a plac
-
Windows vista service pack 2 80070017 error
When I try to download the vista service pack 2 update, I get the 80070017 error. This has also caused my windows media player to stop working. Carrie
-
Vista Task Scheduler - task image is corrupt or has been tampered with.
I have a whole series of these messages everytime I open Task Scheduler. More precisely:. AD RMS rights policy templates (manual) management. AD RMS rights policy templates management (automated). SystemTask. Microsoft-Windows-DiskDiagnosticResolver