How to Install the CAP file on the Java Card

Hi guys. I've already written and tested a java card applet. Now i want to put the CAP file on the card. Could anyone please tell me the procedures or direct me to where i can find the procedures on how to do this?
Thanks

I suggest you search this forum. That question has been answered a lot.
1) If you are using a pure Java Card use scriptgen tool and send those commands to the card.
2) If you are using a Java Card with Global Platform
A) Follow the Global Platform specs and authenticate to the card with developer keyset(0x40,0x41,0x42,0x43...0x4f)
b) Get a kit
Since you are a beginner, I recommend you get the a kit like JCOP or one from card vendors like G&D, Gemplus, etc.

Similar Messages

  • Manually upload .cap file on a java card

    Hi
    I wonder how to manually upload a .cap file on a java card. I do know that it must be an or more APDUs that contain the file and so on.
    What I wonder is how to convert a .cap file into a byte array (byte array that on-card installer can read and understand) without using JCOP or any other tools? Does (must) this array have a special format or something?
    I am interested in the process of taking a.cap file and convert it to byte array (nothing else).
    Thanks in advance!
    /Lyudmila

    The .cap file uploading mechanism depends if you have a java card or a GlobalPlatform card.Java Card cards are GlobalPlatform based.
    If you have a java card you can use the same mechanism that it is used with Cref (see Java Card Kit - Development Kit - Chapter 11): .cap file is divided in n apdus, one or more (if a component not fit in one apdu, for example method component) for component (first:Header.cap, second:directory.cap, third:import.cap, etc).
    If you use a GlobalPlatform card, the mechanism is more complex:
    first you have to create a session using a specific protocol (SCP01, SCP02, etc) through INITIALIZE UPDATE and EXTERNAL AUTHENTICATE commands, then an INSTALL FOR LOAD command and n LOAD commads as they are necessary.
    To use GlobalPlatform mechanism, see GlobalPlatform Specification 2.1.1.The JCRE spec does not define the applet loader and CREF has a basic version of an applet loader that is not GP compliant, but this is not the Java Card standard. To load onto any physical Java Card you will need to follow the GlobalPlatform specification.
    - Shane

  • Qosmio F20: How to install the bluetooth card?

    Hello,
    Can you help please ? I have ordered few weeks ago an usb bluetooth but on the phone the seller told me that the version that I ordered has been replaced by a new one PA3477U-28TM but it's a bluetooth card and I don't know how to install it. Does anyboby could help me?
    Thanks in advance
    Sisi

    Hello Sisi
    According the notebook specification BT on your notebook is not available and it means your Qosmio is not BT upgradeable. Only solution for you is usage of external USB BT stick.

  • How to install the Java XML libraries in the appropriate location in JDK1.3

    Hi,
    I'm new to XML. just wondering how to install xml libraries into the appropriate place. I'm useing jdk1.3
    Thanks a lot in advance for your help!
    JH

    Hi JaiDeep
    Thanks for the valid reply
    Finally i have decided to install the CE7.1 SP 3 version.
    But which version of jdk is supported by SP3 is not given at the site.
    Do u have any idea, if i install the CE7.1 SP3. and then can i install the SAP widget Foundation  also along with that.
    This tool requireds
    JAVA 1.6
    SUCUDE  PSE management install
    In the SAP Widget foundation guide has given the steps for the installation.
    But the url it has given will be going open in the SAP networkonly.
    http://nvpal168.pal.sap.corp:1080/wfws/foundationWS.jnlp
    What is difference in  SAP Widget Foundation Installation and SAP Widget Foundation as a Standalone Application ?
    How i need to proceed for the SAP Widget Foundation installation?
    where do we get the SUCUDE PSE management install?
    whether  the CE7.1 sp3 supports the java1.6 version?
    Regards
    Vijay
    Edited by: Vijay Krishna Meda on Jan 23, 2008 6:55 PM

  • How to install the airport card to my macbook?, How to install the airport card to my macbook?

    One time when i was browsing using my macbook, it suddenly hanged. I waited for several minutes for it to return to its normal function to no avail. What i did was removed the battery then switched it on again. It worked again. But could not access the wifi anymore. When i clicked the wifi icon, it says, no airport card  installed.  What should i do?

    I'm guessing there is a language issue here.  The graphics card is the actual hardware (chip) in your computer that allows it to create graphics and show them on your display.  There is no way to disable the graphics card on your Air because there would be no way to use it (it would not be able to display anything on any display).  This is a little different on machines with multiple graphics processors, but that's not the case with your Air.  I'd imagine you know what you want to do, we're just having trouble understanding your question.

  • Running the Java Card 2.1.2 Development on win98

    Hi,
    I just installed the Java Card(TM) Development Kit Version 2.1.2 on my windows 98 OS with jdk 1.3.1.
    I set all the Environment Variables for Windows.
    I also compiled the demos, but I'm unable to run the apdutool. I get a "Bad command or file name".
    I read in the readme file that one of the Supported Platforms is Windows NT 4.0 , but it doesn't say windows 98, can this be my problem ? do I have to reinstall my computer with window NT to develop a java card applet ? can I use windows 2000 ?

    Hello.No, there is no need to test this toolkit under Windows 2000.It supposed that this packages is working under Windows 98.
    I think the problem is that you did not set right the PATH and CLASSPATH of the JC 2.1.2 in the autoexec.Try the followings(see if it is working):
    ///PATH
    set PATH=c:\jc212\bin;%PATH%
    if the jc212 is the directory that you installed this package.
    ///CLASSPATH
    set CLASSPATH=%CLASSPATH%;C:\jc212\lib\api21.jar
    set CLASSPATH=%CLASSPATH%;c:\jc212\lib\converter.jar
    If you still have problems try to add te following line in the autoexec.bat
    set CLASSPATH=%CLASSPATH%;c:\jc212\samples
    I think this will help you.

  • How to Install .CAP file in the Java Card?

    Hi Friends..
    How to install *.CAP* file in the Java Card?..
    I've GPShell script as follows :
    mode_211
    enable_trace
    establish_context
    card_connect -readerNumber 2
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f
    install_for_load -pkgAID a00000006203010c01 -nvCodeLimit 500  -sdAID A000000003000000
    load -file HelloWorld.cap
    card_disconnect
    release_contextwith that script i can load HelloWorld.cap file successfully..
    Now, how to install the HelloWorld.cap file?..
    if i add script : load -file HelloWorld.cap i got this error :
    install -file HelloWorld.cap
    file name HelloWorld.cap
    Command --> 80E602001B09A00000006203010C0107A00000015100000006EF04C60201A80000
    Wrapped command --> 84E602002309A00000006203010C0107A00000015100000006EF04C60201
    A80030C859793049B85300
    Response <-- 6985
    install_for_load() returns 0x80206985 (6985: Command not allowed - Conditions of
    use not satisfied.)i ask this question because when i tried to select the applet through its AID, by this script :
    establish_context
    card_connect -readerNumber 2
    select -AID a00000006203010c0101i got this message error : select_application() returns 0x80216A82 (6A82: The application to be selected could not be found.)
    but there's exactly any that AID in my Java Card..
    here's is the list of AID from My Java Card :
    C:\GPShell-1.4.2>GPShell listgp211.txt
    mode_211
    enable_trace
    establish_context
    card_connect -readerNumber 3
    * reader name OMNIKEY CardMan 5x21-CL 0
    select -AID a000000003000000
    Command --> 00A4040008A000000003000000
    Wrapped command --> 00A4040008A000000003000000
    Response <-- 6F108408A000000003000000A5049F6501FF9000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4
    f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
    Command --> 80CA006600
    Wrapped command --> 80CA006600
    Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864
    886FC6B03640B06092A864886FC6B040215650B06092B8510864864020102660C060A2B060104012
    A026E01029000
    Command --> 8050000008AAF7A87C6013BC0300
    Wrapped command --> 8050000008AAF7A87C6013BC0300
    Response <-- 0000715457173C2A8FC1FF0200937A55C288805D8F2A04CCD43FA7E69000
    Command --> 848201001023CA18742D36165ED992CFF2146C3D51
    Wrapped command --> 848201001023CA18742D36165ED992CFF2146C3D51
    Response <-- 9000
    get_status -element 10
    Command --> 80F21000024F0000
    Wrapped command --> 84F210000A4F004FF8BE1492F7275400
    Response <-- 0CF0544C00004D4F44554C415201000009A00000006203010C010100010AA000000
    06203010C01019000
    GP211_get_status() returned 2 items
    List of Ex. Load File (AID state Ex. Module AIDs)
    f0544c00004d4f44554c4152        1
    a00000006203010c01      1
            a00000006203010c0101
    card_disconnect
    release_contextPlease help me..
    And please correct me if i'm wrong,,
    Thanks in advance..

    Any suggestions for my question?..
    Please help me..
    Thanks in advance..

  • How to install new font file in the device when deploying J2ME application?

    i would like to know how to install the new font file in the device when deploying J2ME application, side-by-side.
    Is that possible to seamlessly install the new font file with the application .jar package.
    thnx.

    No, there is no way of installing new fonts.

  • Operating Firefox 3.6.3 on a new net book w/windows8. How to install the .json file that I exported from home machine

    Operating Firefox 3.6.3 on a new net book w/windows8. How to install the .json file that I exported from home machine

    I have the same problem
    Use Bookmarks > Organize Bookmarks -> Import & Backup - Restore = Choose file....
    i have backup of 6 .json files
    when i choose 1st one
    This will replace all of your current bookmarks with the backup. Are you sure?
    then i click on ok
    but there is no chage in my new bookmark
    please help
    thanks in advance

  • How to install the SAPRouter service on a Windows 2003 Server?

    Hi, can someone please either provide me with the instructions or point me to a URL or a SAP note that describes how to install the SAPRouter service on a Windows 2003 32-bit server?
    This is fairly urgent so your assistance here would be much appreciated.
    Many thanks
    Sharon

    I tried this and I get the following error...
    'ntscmgr' is not recognized as an internal or external command, operable program or batch file.
    Any further suggestions?
    S

  • How to install the same copy of creative suite on the second computer?

    Basically I am using a Macbook Pro and upgraded my hard disk. A
    After I have recovered the data using time machine, I was unable to access my CS6 applications, which all became trial version. So I would like to know how to install the same copy of creative suite on the new drive.

    Transferring does not usually work - you need to install using installation files, the same way you originally installed the program(s).
    Download and Installation Help -
    https://helpx.adobe.com/download-install.html

  • How to install the Sample Apps in Hyperion Financial Management 11.1.2.2?

    Hi,
    Could please anybody tell me how to install the Sample Applications in Hyperion Financial Management 11.1.2.2?
    The following is written in the Administration guide:
    If you did not install the sample files, you can obtain them by reinstalling Financial Management
    and selecting the Sample Applications component.
    I cannot find the “Sample Applications component” among components during installation process.
    There are only “Financial Management ADM driver”, “Financial Management Web Application” and “Financial Management: services”.
    Hope this helps,
    Thank you,
    Vadim

    After you install the sample application, all of the application extracts can be found under the below location.
    Oracle_Home\Middleware\EPMSystem11R1\products\FinancialManagement\Sample Apps and Starter Kits\Sample Apps

  • How to install the musegrid audio widget?

    Does anyone know how to install the MuseGrid Audio Widget. Once I get in in the library I drag it onto the page, preview it and nothing show in the browser. I have the assets folder that comes with it but have no clue how to connect the widgets assets to the audio player. As well as how to connect the mp3 file to the audio player.
    There are no clear cut instructions about the install and even on the page I downloaded it from the video tutorial does not play. I think I gave away $9..Please Help

    Unfortunately I can't help with that particular widget, however I will mention that we do also have an audio widget over @ MuseThemes.com. There is a training video on this page that explains how our Audio Widget works - you might have some luck getting your downloaded widget to work by using a similar method as we use...
    Adobe Muse MP3 Audio Player Widget
    Cheers
    SH

  • How to install the SAP Java Connector

    Hi,
    I am unsure how to install the SAP Java Connector on Linux (Suse Linux Enterprise 10). The SAP Integration Kit install and admin guide says:
    ===
    u2022 Copy the librfccm library and the libsapjcorfc library to busines
    sobjects_root/enterprise120/PLATFORM_PATH, where busines
    sobjects_root is the full path to your businessobjects directory,
    and PLATFORM_PATH is your platform. For example, PLATFORM_PATH
    is solaris_sparc for an installation on Solaris.
    u2022 Use symbolic links for the location of the librfccm library and the lib
    sapjcorfc library.
    u2022 Add the location of the librfccm library and the libsapjcorfc library
    to the library path.
    ===
    Do I have to do all 3 steps or is the 1st one (copying of files) enough?
    On the other hand, the SAP Java Connector guide says:
    ===
    Then add {sapjco-install-path} to the LD_LIBRARY_PATH environment variable.
    Finally, add {sapjco-install-path}/sapjco.jar to your CLASSPATH environment variable.
    ===
    So, what to do?
    Thanks!

    Thanks for your help. So i copied the 2 files as mentioned in point 1.
    Where do I have to copy the file sapjco.jar to? There is no shared lib folder after installing BO Edge 3.1 on a Linux system.
    I copied the sapjco.jar to /bobje/tomcat/common/lib but still get the message that the Java Connector files are not in the correct directory.
    I already copied the files librfccm.so and libsapjcorfc.so to /bobje/enterprise120/linux_x86 .
    Thanks again!
    Edit: problem solved: Copying the sapjco.so to tomcat/shared/lib is correct, if the directory doesn't exist then just create it (mkdir). The message is just plain information 7 hint.

  • How to install the CMS

    Hi i am trying to create track
    i installed Netweaver 7.0 with SP14. 
    I configured the sld and its working fine
    now i am in the stage to create the Track for development.
    In the process of crating the track its asking the CMS URL and User Id and Password.
    Please let meknow
    1 .how to install the CMS server and ?
    2. What is the URL and UID /Password.
    3. I am not able to see the NWDI roles in my server
    Please let me know how to achive that.
    Thanks
    MMukesh

    Hi,
    See It depends upon your landscape..
    If you want to transfer the Dev to Quality..
    --The basis team should create the all respective track..
    --After activating your Objects in IR ,ID  you will get another option in change list there you have to rclick and click on transport automatically transfered to QA..
    The other way is through file you can transfer..export ,import... options..
    -- this is you have to export the objects by SWCV or namesapce wise .. the all object will be stored under one path in server .. next you have to prepare the excel sheet you objects ..then the basis team will transfer the tpz file to qa and there it will be imported..
    Please see the CMS transfer links..
    Please see the below links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b8d8f7b2-0701-0010-b09a-cda4cca2c98e
    Where can I get installation files of DTR, CBS, and CMS?
    https://websmp201.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202 -> How to Guide on
    'How ToTransport XI Content Using CMS'.
    /people/sap.india5/blog/2005/11/28/xi-software-logistics-solution-iii-cms
    Regards
    Chilla..

  • How to install the db2 9.1 license

    hi friend
    how to install the db2 9.1 licence   in aix 5.3.
    enviroment 
    os             :  aix 5.3
    data base  : db2 9.1
    sap componets  : ecc + ep
    regards
    raja

    Hi,
    Just check out the snote 816773 which speaks about valid license to use DB2
    1. You are an SAP customer and you already have DB2 licenses from IBM or IBM sales partners. In this case, your IBM license documentation is used to verify usage entitlement. You will continue to use the DB2 licenses you obtained from IBM in your SAP system.
    2. You are an SAP customer with a DB2 OEM license issued by SAP. In this case, your SAP license agreement includes the right to install the DB2 OEM software from IBM together with the SAP system for which you have a license. You can obtain the DB2 OEM licenses from SAP.
    If situation 2:-
    Version 9 of DB2 for UNIX and Windows:
    1. Go to http://service.sap.com/swcenter-3pmain
    2. Choose "DB2 for Unix and Windows"
    3. Choose "DB2 Version 9.1 software download"
    4. Choose "Installation"
    5. Choose "DB2 UDB"
    6. Download the "01200615322000000718" object (License files for DB2 9 LUW)
    7. Unpack the zip file using a suitable unpacking program
    8. Install the license as the db2<dbsid> user by using the following  commands:
                  db2licm -a db2ese_c.lic
                  db2licm -a db2dpf.lic
                  db2licm -a db2so.lic
    9. Use the following command to check whether you correctly installed the license:
                  db2licm -l
                  You must have installed a permanent license for the "DB2 Enterprise Server Edition" product that has the following features:
    DB2 database partitioning
    DB2 storage optimization
    Rgds
    Radhakrishna D S

Maybe you are looking for

  • Receiving the error message while executing the Real Time DTP

    Hi, I am receiving the error message while executing the Real time DTP for Billing data. Error Message - Record filtered in advance as error records with the same key exist     RSM2     722 When I check the logs below is the message I am able to see.

  • What are the best external backup battery choices for the iPod Touch 4G?

    Hello, I am so disappointed with the battery life on my iPod Touch 4G, even when I turn off location services and notifications and put it in airplane mode.  As such, I realize that I am going to have to get an external backup battery, even though I

  • Problem acessing webdynpro applications deployed using SDM

    Dear All, We have two seperate boxes for ECC 5.0 and (WEBAS + EP). I am trying to run ESS and MSS on portal. I downloaded BP for ESS/MSS 100(for souce cose) and ESS/MSS 60.1(iview and other content) both. I deployed them both through SDM. I maintaine

  • I  want to write data in 10th line or 20th line in sap scripts

    i  want to write data in 10th line or 20th line in sap scripts,how can write it

  • Problem In BAPI Call

    Dear All, error is generated while calling Following FM invalid parameter PO_ITEMS. SOURCE CODE IS AS BELOW.    DATA : BEGIN OF i_poitem OCCURS 0.         INCLUDE STRUCTURE bapiekpo. DATA : END OF i_poitem. PARAMETERS p_ebeln TYPE ekko-ebeln. CALL FU