Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1102131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:08:18+00:00 2026-05-17T01:08:18+00:00

I am currentlly on a project that requires me to load a JavaCard application

  • 0

I am currentlly on a project that requires me to load a JavaCard application Applet ( a .cap ) file to a JavaCard. Our framework is based on Visual C++ and PCSC, so we need to load the same applet to a series of JavaCards. Does anyone know how this can be processed? I mean, where should I start. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T01:08:19+00:00Added an answer on May 17, 2026 at 1:08 am

    You are correct that this is not a trivial job.

    There are differences between different javacards, but generally you need to do 4 things:

    • initialize secure communications with the card (because many javacards are “global platform” cards they require a secure channel)
    • send a command saying “i wanna install an applet”
    • send the binary data for the applet to be installed
    • send a command to “instantiate” the applet after the binary data is sent

    I’d recommend using the eclipse plugin to install the applet initially, because you can see the APDUs generated by the plugin to do the steps above. Once you know the APDU commands you must send to install your applet, you can directly send these commands using the PCSC interface from your C++ code to automate installation on a large number of cards.

    My company makes a web browser plugin called Card Boss for doing this kind of thing (card communications via pcsc) from a browser – there’s a web page you can use where you can type your own APDUs and send them to the card at the follwing URL:

    https://cardboss.cometway.com/content.agent?page_name=Card+Boss+Lab

    If you use our tool, your applet installation script should look something like this (note that this is a script for a JCOP card using the default jcop keys)

        MESSAGE BOX Installing applets...
    
        INIT CHANNEL 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f, 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
    
        // INSTALL CAP: 
        SEND 80 E6 02 00 1D 10 A0 00 00 00 09 00 03 FF FF FF FF 89 10 71 00 01 08 A0 00 00 00 03 00 00 00 00 00 00 
    
        // LOADING CAP: 
        SEND 80 E8 00 00 FA C4 82 01 03 01 00 25 DE CA FF (snip, I removed a bunch 
    of binary data representing the cap file to shorten this post, and you might
    need multiple SEND commands because of limits on the size of APDUS)
    
        // INSTANTIATING Applet
        SEND 80 E6 0C 00 1E 05 63 6F 6D 65 74 07 63 6F 6D 65 74 00 01 05 00 00 00 00 00 01 00 06 C9 04 68 2C 00 03 00 00 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently working on a project that is building a java-based desktop application to
I have a C# application (project A) that requires X.dll. I have added the
Currently am working on a project that requires me to create some XML for
I'm currently involved in a research project that requires me to access a Windows
I'm currently working on a java project that requires me to make a system
I am currently working on a project for the iPhone that requires accessing a
Currently I have a simple maven project that is building a jar file and
I am currently working on a project that requires the use of a semi-colon
I'm currently working on a project that requires me to do some sampling with
I am working on a project that requires that i implement a mechanism for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.