Simulation in Open card framework

hi,all
can any body knows where i can simulate the applications developed in open card Framework.
is JCWDK (provided in java card development kit) is usefull to simulate the application developed in open card framework??.
Thanx in advance
Varun Arora

Hi there,
Hopefully i can help you a little further with this, im literally just embarking on something similar, take at look at this website and see if it can help you at all:
http://myhome.hanafos.com/~rhaos/javacard/javacard.html
Let me know how you get on !
cheers,
tris

Similar Messages

  • NullPointerException in open card framework

    when I want to read a cref file from a open card framework file the next error appear:
    Exception occurred during event dispatching:java.lang.NullPointerException.
    what is happening ?..help me please.

    Hi there,
    Hopefully i can help you a little further with this, im literally just embarking on something similar, take at look at this website and see if it can help you at all:
    http://myhome.hanafos.com/~rhaos/javacard/javacard.html
    Let me know how you get on !
    cheers,
    tris

  • Open Card Framework website

    Where to download the Open Card Framework?
    The www.opencard.org takes to some japanese/chinese website?
    Does Opencard still alive?

    Hi,
    I have had Java 1.3, 1.4 ,5 and 6 all on the one machine and had JCOP work fine. I have successfully used JCOP in eclipse 3.5 running under Java 6. You just need to ensure your compiler settings are correct for the JC converter you are using (1.3 for JC2.2.1 or 5 for JC2.2.2). This is good for working with a JC project and a host application requiring different JVM versions.
    Cheers,
    Shane

  • Talking to jcwde from Open Card

    Hi all!
    Is it possible to talk to jcwde or to C-JCRE from the Open Card Framework? Is there a CardTerminal for this?

    A C-JCRE compatible CardTerminal is available
    for download on the Gemplus Developers Web Site, at:
    http://www.gemplus.fr/developers/technologies/opencard/cardterminals/apduio/download.html
    It looks like it should be compatible with JCWDE. Sources are included.

  • Error while Accessing Smart Card using Open Card Frame Work

    HI
    Using Open Card Frame work I am trying to access GemAlto provided Smart Card (java card). I downloaded the Open Card Frame work from “http://www.openscdp.org/ocf/download.html”.
    I am executing a basic program to access the data stored in smart card.
    public static void main(String[] args)
                        System.out.println("reading smartcard file...");
                        try {
                        SmartCard.start();
                        CardRequest cr = (FileAccessCardService.class);
                        System.out.println("calling waitforCard");
                        SmartCard sc = SmartCard.waitForCard(cr); //Error comes after this line
                        System.out.println("After waitForCard called");
                        FileAccessCardService facs = (FileAccessCardService)
                        sc.getCardService(FileAccessCardService.class, true);
                        CardFile root = new CardFile(facs);
                        CardFile file = new CardFile(root, ":c009");
                        byte[] data = facs.read(file.getPath(), 0,
                        file.getLength() );
                        sc.close();
                        String entry = new String(data);
                        entry = entry.trim();
                        System.out.println(entry);
                        } catch (Exception e) {
                             e.printStackTrace(System.err);
                        System.exit(0);
    The content of the opencard.properties are :
              OpenCard.services = opencard.opt.util.PassThruCardServiceFactory
    OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    OpenCard.trace = opencard:5 com.ibm:4 opencard.opt.database:6
    After the line “ SmartCard sc = SmartCard.waitForCard(cr);”
    the program is expecting a card to be inserted but while inserting Smartcard the following error message come :
              calling waitforCard
              [ERROR    ] com.ibm.opencard.terminal.pcsc10.OCFPCSC1.OCFPCSC1.SCardConnect
    --- message
    --- thread Thread[Thread-0,5,main]
    --- source com.ibm.opencard.terminal.pcsc10.OCFPCSC1@2e7263
    [ERROR    ] com.ibm.opencard.terminal.pcsc10.OCFPCSC1.OCFPCSC1.SCardConnect
    --- message Protocol = 0
    --- thread Thread[Thread-0,5,main
    --- source com.ibm.opencard.terminal.pcsc10.OCFPCSC1@2e7263
    Basically the error is coming from the SCardConnect function of OCFPCSC1.cpp file.
    Please reply to my mail id if any body has any idea how to resolve this issue.
    MAIL-ID : [email protected]
    With Regards
    Swarup
    Finacle Archie
    Infosys Technologies Limited,Bhubaneswar,India

    Sounds like an issue that has to do with JavaScript Origin policy. You'll have to use Domain Relaxing for this. Read all about it here:
    http://help.sap.com/saphelp_nw04/helpdata/en/59/87b54064c2742ae10000000a155106/frameset.htm
    here:
    http://help.sap.com/saphelp_nw04/helpdata/en/5e/473d4124b08739e10000000a1550b0/frameset.htm
    and here:
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/f8751d8c6b254dac189f4029c76112/frameset.htm

  • Simulation of smart card

    Hi ppl,
    I'm a student working on a project of simulation of smart card. It involes no hardware at all so the physical layer transmission is ignored. I'm gonna implement the smart card operation using two programmes "card.c" and "reader.c" in the same computer. Yes, it's C not java, but the idea is the same. I just wanna ask is that the programmes r about the same? I mean what exactly should the reader.c and the card.c do? Is it the reader.c simply sends out commands and then the card.c listens and waits for the commands like the client of a client-server scenario? And then once the card.c receives commands, it extracts the useful data according to the ISO17816-4 and then sends back response and the reader.c again provess the data recoived and sends another commands. And the transmission goes on, is it like that?
    Plz give me some hits on these. Desperate for some help really.
    Thanz sooo much ppl!!
    Franky

    Here's what I'm gonna do in the programs.
    At the very first, the reader sends a reset RST to teh card and waits for repsonse. The card then responses with answer to reset ATR, this gives all the communications protocol used afterwards, so the card will choose like T=1.
    And then the reader sends the GET CHALLENGE command to the card asking for a random number e.g. A and response from the card gives the challenge A to reader.
    Reader then sends the encrypted challenge [A] with the EXTERNAL AUTHENTICATE command to card, the card replies with a YES or NO indicating if the challenges match.
    Reader sends its challenge B with command INTERNAL AUTHENTICATE, card replies with encrypted challenge .
    This finishes the challenge-response operation for mutual authentication. I read from books that the key used to encrypt and decrypt the challenge is the master key. But I have no clue how both entities can get hold of the key beforehand. Maybe there's sth like PKI for that.
    And then, should there be a verification by using the PIN? So after this verification, the real data and message exchange should occur rite? And I read from books that some cards require every access to the card to have a PIN verification. Well, I think that's almost it for the security part. And I'll have to find some source on how to make a read application of the smart card, like a payment card or identification card. I think one of the most popular standards for payment card is EMV, and I dunno much for the identification card.

  • Open cards that I can not seem to see

    I have no visable open cards, I have no access to apps because I have too many open cards, I have nothing but 5 icons on my phone front screen,  the green phone the envelope the contacts calendar and a black arrow that opens applications, there is nothing open on the screen, and nothing to flick, where are these open cards?
    Post relates to: HP TouchPad (WiFi)

    For a device that uses solid state storage with a decent speed, there is no need to keep programs in memory after they are closed.
    From my experience, in terms of use, the webOS is easily the best mobile OS when it comes to the UI, for performance, it falls behind the ios android windows phone 7 and windows mobile
    HP could have had a extremely good tablet if they used a better front facing camera and added a rear facing camera (there not only good for taking pictures but they also work for scanning qr codes)
    Then when designing the OS, have the company which created the CPU, to release a special batch for your developers where the firmware will be altered so that the chip runs at 300MHz max, then install only 128MB ram.
    The reason behind this is, if you can get the developers too design a OS that runs snappy on that hardware, when it is put on the full 1.2GHz hardware with 1GB memory, it will be insanely fast.
    I have attended programming classes in college and the modern programmers are taking a turn for the worst. hardly any effort is put into optimizing code to run fast, instead they rely on faster hardware being used to make up for the poor code.
    In the "old" days, hardware did not have the exponential increase in speed, programmers had to write code that that used as little space as possible as storage was very expensive. Programmers also had to make the code as efficient as possible because processors were slow.
    If programmers kept this mindset today, we wouldn't have operating systems that take 20GB of hard drive space and usee 1GB memory just for them self.
    we also wouldn't have mobile OS that use 300MB memory just on them self.

  • Employ open source framework to existing web application

    Hi everyone,
    Existing application model:
    MySQL, Tomcat, Java 6 SE, so no EJB.
    Own MVC model used (no framework).
    Own data access layer model (no framework).
    Because this is a corporate application, the UI experience
    can not be broken (in terms of new beautifuly deployed pages
    vs old existing pages - developed around 8 years ago). Application
    run on balanced Tomcats, so it's getting more and more difficult
    to synchronize all information.
    Question:
    Is there a way of smooth transition from own developed MVC
    and DAO to open source frameworks to leverage some of the work
    required to do manually as it is currently, like validation,
    access like hibernate instead of manual creation of DAO objects ... ?
    Also, it would be nice to have some reach user interface framework
    employed but I don't know how it would be achieved not to break
    the look and feel (all pages would have to be done at the same time,
    and we are talking here about hundrets of existing screens developed
    in different technologies).
    Application consists of few millions of lines - so it's a real challange.
    Thanks for all tips.

    AdrianSosialuk wrote:
    Hi everyone,
    Existing application model:
    MySQL, Tomcat, Java 6 SE, so no EJB.
    Own MVC model used (no framework).
    Own data access layer model (no framework).
    Because this is a corporate application, the UI experience
    can not be broken (in terms of new beautifuly deployed pages
    vs old existing pages - developed around 8 years ago). What is the exact form of the GUI? Client apps? Html only? what?
    Application run on balanced Tomcats, so it's getting more and more difficult
    to synchronize all information.
    What does that mean? Why are there two of them?
    (all pages would have to be done at the same time,
    and we are talking here about hundrets of existing screens developed
    in different technologies).As a requirement that probably guarantees failure.

  • An open source framework for agile development with Sites

    I am happy to announce the release of a new open source framework for sites development: AgileSites 1.0.0.beta1.
    AgileSites is an open source framework built using standard and documented Sites API provinding a number of features meant to simplify development, mostly to make agile development and offshoring way easier and more manageable.
    Some of the features:
    - MVC with plain Java controller and pure HTML views
    - Templating done in jQuery style (like client-side javascript templating)
    - Integrated unit testing and build system
    - Integrated csdt so everything is source and can be stored in Git or Subversion and rebuilt with jenkins in minutes
    - Hot reloading of java classes, including the url assembler - you code in java without restarting the application server
    - Single jar deployment - all your site code is in a jar that can be easily tracked and moved around
    - A simplified API layer built on top of standard tag assets making development a breeze
    - Complete and unlimited access to the full Sites API
    - Keeps the JSP structure so the framework can be added to another site using JSP
    AgileSites is available in his own dedicated site: www.AgileSites.org with a video showing his capabilites.

    The framework is completely following WebCenter Sites standard. It is built on top of JSP and Java using only documented API and standard Java libraries. It is not different than any other site implementation. It is basically a pre-built site to make easier applying agile development practices. It is as supported by Oracle as any other custom website implementation on top of Sites.

  • Citi EO said can't open cards closed for 90 days, but can they re-use closed terms for other cards

    I used to have a much-loved 5.99% F Citi TYPref  (originally Diamond Preferred Rewards) MC that was closed out by Citi during CARD Act, in 2009, that I have been trying to get re-opened for years now (albeit unsuccessfully)    I finally called the Citi EO number today, mentioning the fact that I have faithfully and responsibly repaid over $12k on it over the past some years, but they said that they cannot open cards that have been closed for longer than 90 days    My question here though is, if Citi cannot re-open an account closed for that long, do you think they might be favorably-inclined to lowering the interest rate a little on my currently-open Citi TYPref which is at 9.24% V, so that it is even just a little closer to my old closed card; I should have asked during the call I guess but I forgot to ask, at the time?  The closed card was prolly my best credit card of all time..."the one that got away", and so I still have quite a bit of nostalgia for it and miss it, to this  day    The only open cards I still have that even come close to this old card are my FNBO Amex at 6.25% V and my BoA Cash Rewards World MC, at 9.99% F.

    galahad15 wrote:
    I used to have a much-loved 5.99% F Citi TYPref  (originally Diamond Preferred Rewards) MC that was closed out by Citi during CARD Act, in 2009, that I have been trying to get re-opened for years now (albeit unsuccessfully)    I finally called the Citi EO number today, mentioning the fact that I have faithfully and responsibly repaid over $12k on it over the past some years, but they said that they cannot open cards that have been closed for longer than 90 days    My question here though is, if Citi cannot re-open an account closed for that long, do you think they might be favorably-inclined to lowering the interest rate a little on my currently-open Citi TYPref which is at 9.24% V, so that it is even just a little closer to my old closed card; I should have asked during the call I guess but I forgot to ask, at the time?  The closed card was prolly my best credit card of all time..."the one that got away", and so I still have quite a bit of nostalgia for it and miss it, to this  day    The only open cards I still have that even come close to this old card are my FNBO Amex at 6.25% V and my BoA Cash Rewards World MC, at 9.99% F.Well, you have the FNBO Amex at 6.25%, the Thank You are 9.24%, the Cash Rewards at 9.99%....all very good APRs for rewards cards. The closed card is 6 years old. I highly doubt they will reopen it or even CAN reopen it, regardless of how stellar of a customer you may be. It probably simply can't be done. You do realize that your FNBO is only 0.26% higher than the card you are so desperately wanting to reopen, right? That makes very, very little difference in terms of actual interest payments. Even the existing Citi card is still not even 4% higher and like I said, 9.24% is a great rate on a rewards card. Personally, I believe you are in better shape APR wise than most of us on rewards cards and you should be happy! I'd forget about this old account. It's gone and I would say you aren't getting it back (or the matching APR).

  • Can't open Cards or Books I have previously created

    I just upgraded to iLife 11 and now can't get into my previously created Cards and Books. Also, I tried creating a new card, but now can not get into that either. I seem to have all my Albums in tact, but can't open any of my Projects (although all are still listed). How to I get into existing projects?

    IIf you forgot your restrictions passcode, you have to restore your devoce using iTunes and you will totally erase the device. There is no way around it. if by some chance you have a backup that does not contain the passcode that you can't remember, you can restore that backup to remove the passcode. Otherwise, restore as new.
    You will have to download your eBooks again. If you are purchasing books for the iBooks store, most of those can be downloaded again at no charge as long as you use the same Apple ID that you bought them with - and as long as they are still available in the iBooks Store.

  • Failure to synchronize simulated PXI 5124 cards, but they synchronize without error on physical hardware.

    I need to create a software development machine based on our existing experimental machine. We use two PXI 5124 cards mounted in a PXI 1042 Chassis and run LabVIEW 2013.
    According to what google has returned, it is currently impossible to simulate a PXI Chassis, so I have the two devices mounted individually. Here is the experimental machine device list:
    and here are the simulated devices on my development machine.
    I have verified that the simulated devices are working by creating a simple program that graphs the output of the simulated devices. See attached.
    However, when I run the program that we use on our experimental machine, the program fails to synchronize the clocks. I'm not sure if I would be allowed to post this program, so I have merely attached a picture of the part that creates an error.
    Up to this point, there are no errors, but when synchronization begins, I receive the following error:
    Error -250027 occurred at niTClk Configure For Homogeneous Triggers.vi:2010001
    Possible reason(s):
    NI-TClk does not support the specified session.
    Make sure that the sessions you pass to NI-TClk are supported by NI-TClk.
    Session index (starts at zero): 0
    Using probes, I can determine that there are (seemingly) valid resource names [9] going into the Configure VI:
    These are not fundamentally different from the resource names [2] on our experimental machine:
    According to this page I should be able to synchronize. While no longer in the same chassis, the two devices are still in the "same computer," are they not? Nevertheless, the error message makes me think I'm trying to do something that isn't allowed.
    I've tried to look at other posts, but they are mainly concerned with FGEN, which I am not using.
    Any ideas?
    Attachments:
    simulated_devices.vi ‏34 KB

    Hello,
    By default, arbitrary waveform generators use High-Resolution Clocking to generate a waveform if the sampling rate that you choose is not an exact integer division of the maximum frequency of function generator. When High-Resolution Clocking is used, the sampling rate you specify can actually be coerced to a slightly different value than specified.
    The problem with this is that if your specified sample rate is coerced into a non interger it will not be evenly divisible into other frequencies. When synchronizing multiple devices using NI-TClk, the algorithm will attempt to choose a TClk frequency that all sampling rates can be divided into evenly. Having an actual sampling rate that has been coerced into a non devisable value throws off the NI-TClk algorithm resulting in error -250016.
    Could you try to disable High-Resolution Clocking and use Divide-Down Clocking instead. You can do this in LabVIEW using the Clock Mode property of the niFgen Property Node, and setting the value to NIFGEN_VAL_DIVIDE_DOWN.
    Please let me know if this helps.
    Cameron T
    Applications Engineer
    National Instruments

  • Unable to open OA framework page on the client using JDeveloper

    I have downloaded all the .class files to myclasses folder and all the files under $JAVA_TOP/icx/ to the local directory /Jdevhome/jdev/oracle/apps/icx/.
    When I am trying to open MyProfilePG.xml from JDeveloper, i am getting all sorts of OAFramework exceptions.
    Is there anything else that i need to do apart from downloading the files? Please let me know.
    Thanks,
    Swati.

    Swati,
    go through this article link in my blog, it might help u in doing setup on Jdev.:
    http://mukx.blogspot.com/2007/06/extensions-in-oa-framework-by-mukul.html
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                       

  • Simulator for java card

    hi
    i am new to java card technology...i am writing the applets in netbeans using java card plugin....the problem is i m not able to simulate the applet..it is showing build successfully, but wen i run the app it is showing nothing.....so can anyone suggest me a suitable simulator for the same....

    Hi,
    I assume you are after details on how to use the simulators? There are examples and documentation with the JC specifications and developer kit. Both of these are available from the Sun website [http://java.sun.com/javacard/].
    If you are after details on how to develop your own, the JC specifications outline the requirements for the JCRE and JCVM that you can use to implement a simulator.
    Cheers,
    Shane

  • Beginner's Question on simulation of java card application

    Hi,
    I am trying to run a basic Java card application.
    To simulate the java card application, I created jcwde.app and tried C:\>jcwde -p 9025 jcwde.app
    I got and exception like:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: markHeap
    at com.sun.javacard.impl.NativeMethods.markHeap(Native Method)
    at javacard.framework.Dispatcher.cardInit(Dispatcher.java:188)
    at javacard.framework.Dispatcher.main(Dispatcher.java:63)
    at javacard.framework.JCWDEDispatcher.main(JCWDEDispatcher.java:28)
    at com.sun.javacard.jcwde.Main.run(Main.java:85)
    at com.sun.javacard.jcwde.Main.main(Main.java:148)
    Can anyone help me to find out the reason for this exception?
    The content of jcwde.app is
    // applet AID
    com.sun.javacard.installer.InstallerApplet 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0x8:0x1
    wallet.Wallet
    Thanx in advance.
    anju

    I see terms like ...
    Core Java: The main libraries.
    JDK: (J)ava (D)evelopement (K)it) - AKA: (S)oftware (D)evelopement (K)it although the terms are not exactly synonomous
    J2EE:(J)ava 2 (E)nterprise (E)dition (builds on the J2SE with additional librarities for true business application building)
    J2SE: (J)ava 2 (S)tandard (E)dition (The core libraries for general Java program developement, w/o the extra stuff that is in the J2EE
    Go to java.sun.com and check out the tutorials, the readme files that come with the downloads, the release notes, etc ... HTH

Maybe you are looking for

  • AdHoc Set Query - set operations - practical use

    Hi I am writing a user manual about AdHoc Query - including Set operations. I am looking for good examples when to use the different operations.  A-B is easy.  Example - 'give me all employees that are not on maternity leave'.  But I am struggling wi

  • 11g ADF BC security - small dialog inconsistency

    Hi JDev team I noticed this very small inconsistency in the ADF BC security dialogs for JDev 11g. Assuming you have enabled ADF Security for your application, if you select an existing ADF BC EO, then in the Structure window: 1) Right click the EO an

  • Downloaded 4.0, Windows Vista, but 3.6 still running. How do I get 4.0 to run?

    Just downloaded 4.0, on desktop, Windows Vista. Saved file, restarted computer, then reopened Firefox browser, only to discover I'm still in 3.6.16 (I did the same when 3.6.4 came up, but was unable to upgrade that one, either.) This has happened bef

  • How can i save a message on nokia x2?

    I cant save a msg in my x2...there's no way to saving a new msg...u can just save ur convo's nd send msgs...even it doesn't have any draft folder to save a new msg...:-( Solved! Go to Solution.

  • Which version of SQL*Plus can connect to Oracle 8i Database?

    Which version of SQL*Plus can connect to Oracle 8i Database? I would like to know which version of SQL*Plus can connect to Oracle 8i Database? Where can I download it? (I have tried SQL*Plus version 11 and the program said it does not support the con