USB Reader/Java Card RMI

Hi everybody,
I am using ACS USB Smart card Reader.
1) I am using apdutool for downloading scripts into card.
But that is working just for Serial Ports and not USB ports.
Can anybody help me out in this issue?
2) If i deploy my applet by other programs than also selectApplet()
method gives SEstablishConnection Exception.
3) Also, should we use JavaCardRMI for developing card apps, as it hides us from all low level issues? I'vent seen anybody discussing about JCRMI so far in this forum. I dont know abt current trend. Can u plz guide me?
Can anybody answer me in this issue..
Thx in advance.
Nikunj.

Thx very much Joseph !!!
Now I am able to send some apdu and obtaining responses from it !!
But I've made my whole application(server+client) by using JCRMI, which i am running on simulator cref.exe.
1)It runs fine with simulator. But how to deploy my Card Applet on the ACS U30 MicoController card ??
I failed to use both of following ways:
A) apdutool does not accept option for USB port.
B) If i send script generated by scriptgen to the card
it fails on the very first Applet Selection APDU:
APDU: 00 A4 A4 00 00 AID...
RESPONSE: 6E 00 Fail :-((
Can you plzz tell am i on the right path?
2)Regarding design point of view, can't I use JCRMI fully and never use CardFileServices etc.. Is JCRMI card specific? How can i know my card is supporting it?
3)KeyBuilder,Cipher etc.. These cryptographic classes are implemented by JCDK or Card Vendor? Are they Card specific?
Thx in advance!!

Similar Messages

  • Java card  rmi install method parameters

    i want to pass parameters in the install mettod that is bytearray offset and length using java rmi
    but i m not able to find the place to initialize this parameters
    public static void install(byte[] aid, short s, byte b) {
            new AuthenticationApplet(aid,s,b);
        can any body please help

    the parameters are passed by the javacard OS from the GP INSTALL FOR INSTALL apdu, in the so called "C9" tag.
    the first parameter is not aid but installdata. there is no problem using any name, but the real contents is not only the AID but (approximately) the complete INSTALL for INSTALL apdu data field.
    the classic gp compliant way to install applets is:
        // Register a new applet instance.
        // This is the javacard "main()", it is called once by the card OS at applet instanciation.
        public static void install(
            byte[]  inData,
            short   inOffset,
            byte    inLength
            MyApplet applet = new MyApplet (inData, inOffset, inLength);
            applet.register(inData, (short)(inOffset + (short) 1), inData[inOffset]);
        } regards
    sebastien

  • Doubt Java Card RMI application

    I tried the sample application of JCRMI present in JCDK kit.
    Now, while executing the code its showing on console -
    Comunication port: 4794
    Security Providers installation...
    Checking crypto providers...
    "DESede/ECB/NoPadding" feature found in provider: "SunJCE"
    DES/3DES feature is ok...
    "RSA/ECB/NoPadding" feature found in provider: "SunJCE"
    RSA feature is ok...
    Getting File System image...done successfully.
    Starting the "R-UIM" card simulation
    Simulator is listening for Pseudo TPDU on port 4794...
    Simulator is listening for TLP224 on port 9025...
    Socket server is running...
    Socket server is running...
    Socket (4797) locked by host: 172.27.47.62
    receiveData fail !
    Socket (4797) connection closed !
    Then I tried to debug it and see then it throws CardTerminalException :
    and stucks at this point
    SmartCard.waitForCard(cr);

    Hi,
    809295 wrote:
    Exactly at the same point I am stuck , Shane . Like how to run this app? what simulators to use?You should be able to run them on the emulators that come with the JCDK. What simulator depends on your situation. Some card manufacturers will supply (or sell) development tools to customers. Sometimes you have to be a big customer with a direct relationship with the card manufacturer to get these tools.
    Here we need to start both the server i.e. card applet and the client app in running condition at the same time
    and in Eclipse how to do that??I think I am going wrong here itself in running two simulators.Right now I was using JCWDE to test it. Please do help.You would only have one simulator for the applet. This would be why you are getting a port conflict. The card should be assumed to be running well before the client application. Once your applet is installed on a card it is "running". In reality, this is at issuance, long before the client even attempts to communicate with it.
    Cheers,
    Shane

  • Java Card and OCF

    I want to procure some Java Card, and on reader side i will be using Java card rmi client framework and OCF.
    I would like to know if a vendor says that its card support Java Card specification 2.2.1 is that enough for card to work with OCF or some thing else is also required.
    regards

    I want to procure some Java Card, and on reader side i will be using Java card rmi client framework and OCF.
    I would like to know if a vendor says that its card support Java Card specification 2.2.1 is that enough for card to work with OCF or some thing else is also required.
    regards

  • Java Card Product and Price List

    Where to find the Java Card, Card Reader to read Java Card and its Price List issued by Sun Microsystems.I want these products and price list.
    What is the tool needed to install the .CAP file in to Java Card?. I have read from the Sun Material, that there will be a off-card installer that loads the binary file of .CAP to Java Card through the CAD device. Where to find the off- card installer?
    I had tested a sample application in Eclipse IDE with JCDK 2.2.2 and EclipseJCDE.
    Please anyone provide me the details
    Edited by: sachindev on Oct 24, 2007 6:22 PM

    Hi there,
    I found this site with everything that you might need, I would say that prices are reasonable (correct me if I am wrong):
    Cards: http://www.smartcardsource.com/cards.htm
    Readers: http://www.smartcardsource.com/readers1.htm
    SDK: http://www.smartcardsource.com/sdk.htm
    Hope it helps...

  • Does Java Card require a USB CCID-compliant smart card reader?

    Hi experts,
    Does Java Card require a USB CCID-compliant smart card reader? I'm currently working with PC/SC usb token and it requires usb CCID-compliant smart card reader, which seems very inconvenient for my clients and I'm wondering if Java Card has the same issue? (I'm thinking about switching the project to Java Card)
    Any help will be much appreciated!
    Z.Zen

    Hi,
    You will still need to install drivers for some card readers to function correctly. I know some work out of the box on Windows and OS X (10.5+ at least) ships with the pcsclite CCID driver from the Muscle card project. When I view my reader in Windows device manager the Manufacturer is "USB CCID Compliant".
    The only real difference between what you are doing with the USB CCID token and Java Card is that the card and reader are separate in the Java Card option where as the USB token has the reader and chip in one package.
    Cheers,
    Shane

  • How to "convert" a PC/SC spec Smart Card (usb token) to a Java Card?

    Hi experts,
    I've got a usb token from OEM and the only thing they told me is that the token is manufactured according to PC/SC spec. OEM didn't say anything about the proccessor, memory, etc. I'm no expert in hardware. But according to what I read on the web, a Java Card must have JCVM in the on-card memory. I'm wondering if there is a way to initialize a JCVM in this PC/SC usb token?
    Any help will be much appreciated!
    Z.Zen

    "PC/SC compatible" is about software on the card as much as "PC compatible" is about the software in your computer. PC/SC deals with sending bytes to and from the token whereas JavaCard deals with working with those byte packets. Unless the token is a JavaCard, there's not much you can do. You need to get the ATR of the token via PC/SC, maybe that gives more information.

  • What is Client-Side API for RMI on the Java Card Platform

    What is Client-Side API for RMI on the Java Card Platform ?
    And what is host software ?

    Your post is weird: you seem not to agree with yourself O_o
    OF COURSE sim cards have CPUs, otherwise how would you run an OS or a java vm on them?
    to drive the wifi there will be a proprietary api, just like mifare access on normal cards.
    the OS should manage the wiki stack in C/asm and expose javacard entry points. only "should" because this is only a press release.

  • Java Card with USB interface

    Hi,
    I'm trying to use a Java Card for a project I'm doing at the university. But one of our requirements is to use a one with a USB interface +(ie: without the need for a separate smart card reader).+
    Have anyone come across such a device that is with a USB interface. If so please provide me with links.
    Thanks in advance.
    Regards,
    NiMaL

    ID-1 Format:
    NXP (Philips) JCOP 41 V2.2.1/72K USB
    http://tinyurl.com/6oz9qq
    OMNIKEY CardMan 1109 USB Connector
    http://tinyurl.com/5zvg34
    ID-0 Format:
    NXP JCOP 41 V2.2.1/72K USB SIM format
    http://tinyurl.com/5abxxj
    Gemalto Reflex 531 USB SIM Token Connector
    http://tinyurl.com/5j9e5p
    SIM card retainer/Surface mount type
    http://tinyurl.com/63buqy

  • Cost of Java Card, Reader, Tools etc

    Hello All..
    I could see old data about cost of Java Card, Reader, tools etc discussed way back in feb 2006..
    Does any one have recent cost data who can share here.
    Like to know approximate cost that i should incur to buy Java Card, Reader, associated tools,IDE etc.
    it would be nice to discuss about vendor details and cost of the product they offer.
    thanks

    The major factor in determining cost is quantity. The more u want, the cheaper they cost. For developer cards, manufacturers already have them "on the shelf" so there's no manufacturing cost involved. But as you move to real-world deployment, then you start getting a different cost model. Then issues of applets, card management systems, infrastructure start to affect the cost of a card. I've had a business model that made the total price of one 32k java card cost $100 due to those factors.
    As far as readers go, it's different. Assuming you want desktop readers, you need to deal with issues of lost readers, PCMCIA or USB. Most deployments I've dealt with went with USB so they are portable to multiple hardware.
    Assuming you mean development tools, JCOP is the king so far. For deployment tools, well that's expensive mainly because the players use a closed proprietary solution. Also, if you are doing PKI deployments, then you'll need a CA and then HSMs come into play and that just recks havoc on costing !!!!!
    Happy Deployment !!!!!

  • SanDisk USB 3.0 Card Reader does not work with OSX Mavericks.

    Since updating to OSX Mavericks (10.9) My  USB 3.0 SanDisk "ImageMate All-in-One" Card Reader has begun to fail.
    It all seems to work proper at first. The memory card shows up in finder and I'm able to browse the files. But when I try to transfer any files it un-mounts from finder and only transfers the first file.
    This does not happen under previous OSX versions. I have tried on other computers since, so the card reader is fine.
    My USB 2.0 card reader saved my life this time. It works totally fine.
    Is this a known problem? Are you guys working on it?

    Solved in this post here:
    https://discussions.apple.com/message/24016337#24016337

  • Where can I buy a Java Card programmer, reader, and some cards

    Greetings,
    I'm working on making some activities for a high school computer science club. I want to do things that are tangible and experiential. Specifically, I'd like to setup some Java card labs to modivate Java programming. Can anyone advise me on where to buy cards, programmers and readers?
    Thanks very much.

    You can buy readers from many companies e.g. Schlumberger/Omnikey/Gemplus & Oberthur.
    Java Cards can be bought from Aspects software in a pack of 5 , see http://www.aspectssoftware.com/shop/products.html and also supply an IDE for development of Java Card applets. You can download an evaluation copy for free 60 days from the web-site at http://www.aspectssoftware.com/devtools/restricted/download.html.

  • How do i get a USB Omnikey 3021 card reader to work?

    I am trying to figure out how to make my USB Omnikey 3021 card reader work with my Macbook Pro. Please help.

    You don't state the nature of your trouble but checking the vendor's web site I see there is a driver for 10.5 and 10.6 Mac OS but not one for 10.7. So perhaps you sneed to contact the vendor hidglobal.

  • How can we interface external usb camera or usb device(storage, card reader) to Ipad 2.What all things are need(any development Kit apart from IOS sdk)

    Hi,
    Before going any further in my research, I want to know the views and opinions about the intent of my work I am about to start.
    AIM : I am trying to interface an external uvc camera with the ipad 2 and iphone .Just like in android there is a node(in unix and linux everythign is a file)which gets created in the /dev/ directory which can be accesses by the application using the native interfaces (JNI) and finally via the android code.I am trying to develop the similair application for the ipad 2 and iphone.
    Can some one plz point out :
    (1) How I can interface external hardware like ( external uvc camera) or any other USB device(a card reader, a storage device, a barometer etc)
    (2) I have googled about Apple's Authentication chip which can be used to interface the external h/w.Can some one point out how useful it is.Is this related to that somehow.
    (3)What are the things similair to JNI, node, /dev/ in the IOS for Ipad 2 and Iphone.
    I will be highly obliged ,if some one could provide me the top pointers on it.
    Thanks and Rgds,
    MangoApple

    1.) See
    External Accessory Programming Topics
    Connecting to an Accessory
    Monitoring Accessory-Related Events
    2.) See the MFi Program

  • Reading java.rmi.server.hostname property

    When try to read java.rmi.server.hostname property within my server I got following exception:
    Exception in thread "main" java.security.AccessControlException: access denied (
    java.util.PropertyPermission java.rmi.server.hostname read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at engine.ComputeEngine.main(ComputeEngine.java:22)
    Any idea how to read this property from program.
    Syed

    Looks as if you need to create a security manager or add a security policy file.
    To create a security manager, add:
    if (System.getSecurityManager() == null) {
    System.setSecurityManager(new RMISecurityManager());
    to the server's 'main' method.
    Then, at program startup, pass in a security policy file:
    java ... -Djava.security.policy=[<pathname>]security.policy [<classpath>]/<RMI server name>
    Where the file security.policy might contain:
    grant {
    // Allow everything for now
    permission java.security.AllPermission;
    Amoong other privileges.

Maybe you are looking for

  • Tree view in collapsed mode by default

    Hello Experts, Could you please explain how to get a tree view collapsed by default? My scenario: When looking for a Marketing Segment, the system displays the result with a tree view in expanded mode, containing all the Profile Sets with their profi

  • How do I add hyperlinks to my video?

    I'm creating a video for a client in which they want hyperlinks to their website and email at the conclusion of the video playback. How do I add these to the final screen?

  • How to convert database in 3NF to Star schema

    Hi Can anyone help me out to convert the database in 3NF to Star schema so that it can be used for Business Intelligence. Our Application will be populating the database in normal 3NF form which may be difficult for the intelligence to generate queri

  • Why pictures, graphics suddenly exgtremely large?

    Pictures on shopping sites (Amazon, eBay, et al.) and in google images pages have greatly increased in size over the last couple of months. Text is also larger and with more white space -- e.g. this page I'm typing into. I've emailed Amazon and eBay

  • Image scaling error on Palm

    I've been using a scaling code for a map application. It scales a 500x500 png image to a 1000x1000 image. It works perfect on a ipaq Pocket. But it doesn't works on plam. (tested on ipaq 6315 with 64MB internal and Treo 600 (22MB with 4 MB free) and