SATSA without a JAVA CARD?

Hi all,
Im trying to connect an external application to a SmartCard using SATSA API.
I am not using a JavaCard and i don't have in my smartcard an application having a particular AID. I can only communicate with this smartcard using apdu to read and write its file system.
Using OpenCardFramework i do this by a PassThruCardService object but i have not found in SATSA a way to connect my application to my smartcard without using AID (APDUConnection).
If there is a way to do this, please help me :)
thanks in advance
Andrea

i have used OCF inside XletView .. it works...Great!
Did you make the OCF implementation yourself, something you'd like to share? Or what hardware/software did you use?
if you have just used satsa suggest me some tricks please :)I haven't used it yet, waiting for a box with an implementation. You'll probably see me posting questions when it's time ;-)
// b

Similar Messages

  • Java application communicate with java card applet without java card

    Can I write java application to communicate with java card applet without using java card?
    Can I send APDU to java card applet on computer(not install in java card)? If it's not, how can I write?
    Best Regard,
    Thanawan

    Your JCOP simulator implements a JCVM/JCRE according
    to specs. The CREF does that same thing excepts it's
    only simulates the API without crypto or third party
    applets. JCOP simulator is more then that. They are using thesame_ codebase for simulator and for oncard JCVM. Basically you are dealing with the same environment in both cases.

  • Java Card without APDU

    Hi,
    during my practise with Java Card I'm finally able to write some applets. I did this the "classic" way. This means to install the .cap files using the APDU tool. But that is not really what I am looking for. I like to develop in the embedded sector and not smartcards. So my question is whether there is a way to use the Java Card VM without at least the APDU stuff. I found something about ROM applets. Are there still any APDU commands needed if I burn the applet in the ROM( any interface between user and applet isn't required (like PIN validation)). Or are there maybe other ways to avoid the installer.
    thanks

    then how will you do I/O with the card?
    to verify a PIN, an apdu exchange is required.
    do you want to code a library to be used by other applets? Just code it in java, put it in a cap, upload the cap. Then link the applet with the export file generated when you converted the library. ROM is not needed to write a library.
    javacard by itself does no specify anything to allow rom access. To do this, you have to deal with the card manufacturer (gemalto, nxp, etc)
    (And ROM is ROM, it cannot be burnt, it's made with a mask when the silicon chip is done.
    Only EEPROM or OTP EPROM can be burned.)
    Regards

  • Java Card Kit - development environment

    Hello!
    I need to upgrade to the latest Java Card Kit, because I need some of the classes in javacardx.framework, which is not supported by version 2.2.1.
    But some problems arises when I'm trying to use version 2.2.2
    1) It requires jdk1.5. Ok, no problem (ehh)
    2) I'm using eclipseME 1.6.0. This requires jdk 1.4.2.
    3) I downloaded WTK2.5 which supports jdk 1.5, but I cannot get this to work properly. This is the error output of WTK when my application tries to connect to the running cref-simulator:
    java.io.IOException: error 10054 during TCP read
    I have not found a solution for this problem yet. But my question is:
    What is the optimal development environment for java card 2.2.2? What kind of MIDlet-emulator and which version are people using together with java card 2.2.2? Is there a eclipse plugin that supports jdk 1.5?
    Regards
    Haavard

    Only cref can create and use EEPROM images.
    You do not communicate with cref via SATSA apdu.... In emulation environment APDU commands are forwarded via satsa-apduio.jar to any process which can accept these commands. It's a pity but you just cannot replace satsa-apduio.jar with apduio.jar from JCDK 2.2.2 (which uses T=0 by default).
    As for my proxy - it's not necessary to include it in your project - it's just an utility to accept T=0 APDU and forward them to smart-card. I think there's need to add new functionality - forwarding T=0 APDUs to other process which accepts T=1. I think it will solve your problem.

  • Java card simulation

    i have to simulate the java card applet which is doing all crypto functions and
    then i will communicate to it by WTK SATSA using eeprom image of the java card applet..
    i don't have to install it on card, i hv to simulate everything..
    is there a way to do it... or we need a licensed tool for it..
    does WTK 2.5 cref and java card 2.2.2 cref will be able to communicate..
    please help, i need this info. urgently

    Are you referring to a Floppy diskette drive ?

  • Problem Installing the loaded applet in Samsung java card (S3CC9P9).

    Hi all,
    Am trying to install the applets already loaded into the Samsung java card(S3CC9P9), because am unable to select the applet which are loaded into the card. I got to know that the applets are only loaded, they are not installed in the card, without installing the applet ,we cannot select the applet. Am using gpj(version 20120310 ) to install the applets into the card.
    When i execute : java -jar gpj.jar -list
    i get the list of applets in the card as :
    AID: A0 00 00 00 03 00 00 00 |........| ISD LC: 1 PR: 0x1A
    AID: A0 00 00 00 03 10 |......| Exe LC: 1 PR: 0x00
    AID: D4 10 65 09 90 00 10 00 |..e.....| Exe LC: 1 PR: 0x00
    AID: 31 50 41 59 2E |1PAY.| Exe LC: 1 PR: 0x00
    AID: D4 10 65 09 90 00 30 00 |..e...0.| Exe LC: 1 PR: 0x00
    AID: D4 10 65 09 90 00 20 00 |..e... .| Exe LC: 1 PR: 0x00
    Here am able to select only the first applet i.e., A0 00 00 00 03 00 00 00
    SO, when i try to install the other applets, for example A0 00 00 00 03 10, its fails.
    When i execute : java -jar gpj.jar -install -applet A00000000310
    i get :
    Found terminals: [PC/SC terminal ACS ACR38U 00 00]
    Found card in terminal: ACS ACR38U 00 00
    ATR: 3B 69 00 00 80 63 31 46 DF 83 FF 90 00
    DEBUG: Command APDU: 00 A4 04 00 07 A0 00 00 01 51 00 00
    DEBUG: Response APDU: 6A 82
    Failed to select Security Domain GP211 A0 00 00 01 51 00 00 , SW: 6A 82
    DEBUG: Command APDU: 00 A4 04 00 08 A0 00 00 00 18 43 4D 00
    DEBUG: Response APDU: 6A 82
    Failed to select Security Domain GemaltoXpressPro A0 00 00 00 18 43 4D 00 , SW: 6A 82
    DEBUG: Command APDU: 00 A4 04 00 08 A0 00 00 00 03 00 00 00
    DEBUG: Response APDU: 6F 19 84 08 A0 00 00 00 03 00 00 00 A5 0D 9F 6E 06 10 01 76 DE 00 05 9F 65 01 7F 90 00
    Successfully selected Security Domain OP201a A0 00 00 00 03 00 00 00
    DEBUG: Command APDU: 80 50 00 00 08 AE 2A B8 CE 3A BB E0 B0
    DEBUG: Response APDU: 00 00 61 41 01 09 38 2F 09 5A FF 01 3F D9 93 D9 FE 9A FA 3B E4 B7 21 89 6A 34 AB 18 90 00
    DEBUG: Command APDU: 84 82 00 00 10 A2 63 07 96 0B D8 A3 A9 93 A2 5C 7C 6D B7 E0 54
    DEBUG: Response APDU: 90 00
    DEBUG: Command APDU: 84 82 00 00 08 A2 63 07 96 0B D8 A3 A9
    DEBUG: Response APDU: 90 00
    java.lang.NullPointerException
         at net.sourceforge.gpj.cardservices.GlobalPlatformService.installAndMakeSelecatable(Unknown Source)
         at net.sourceforge.gpj.cardservices.GlobalPlatformService.main(Unknown Source)
    Can anyone please tell me where am wrong and how to make the applets selectable.
    Thanks in advance

    hy
    1. do you have a reader with a serial (com1) connection?
    if so, the reader has to be connected before starting windows. so windows recognizes it.
    2. have a look to the control panel. is there a tool - installed during driver installation - to test and configure the reader?
    if so try it.
    if all that works, the jcop tools communicate with the reader over the installed driver.
    snoopy

  • How to prepare Java Card Assembly files

    Hi,
    If we rebuilt the API's in Java Card then how could be Java card Assembly files be generated
    thanks
    murali

    Thank you Lee and paulcw. Good to know that
    information and thank you for your suggestion as
    well. Like what paulcw mentioned, not to put
    sensitive information in my code. I wrote those
    because I need to connect to MS SQL. I just have no
    idea how to connect to the database without writing
    those codes in the file. Could anyone explain little
    bit more on it? Thank you.Create a password file that is accessed by your program. It keeps the passwords out of the developers' hands. (Mandatory practice implemented by our DBAs).

  • 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

  • Where to get Hardware (Java Card & Readers)

    Hello
    I am new to Java Card Technology. well i have Downloaded the Java Card 2.1.2 Devlp Kit. Thats fine , But from where should i get Hardware like Java Cards & Readers. I am working in Research Institute.
    & wat are the steps to start with it.
    Please guide me soon.

    Sun doesn't provide cards or readers. Their kit is serves two purposes. One is for the integrators that are shipping cards and readers. The other purpose is for developers to learn how to develop applet without a card. For example, no one is shipping 2.1.2 cards yet,( I don't think) but you can still develop a 2.1.2 applet with Sun's kit. You just won't have a card to deploy you applet to.
    If you develop a 2.1.1 applet you can use Gemplus cards and deploy your applet there.
    If you want to start developing go to www.javasoft.com/products/javacard. Download a sdk, and read tutorials.

  • Newbie Java Card

    Hello ,
    new in the forum, and to the java card technology. Just wanted to see if someone to help me.
    Needing to find a good tutorial. Just to learn, how to do a "Hello world" using JCRMI.
    Looking things like :
    - the code for the Hello World
    - And how to simulate in a pc with vista. Without a card reader.
    - And any tool to use on eclipse
    Until now haven't understand so far how to put things working.
    Thanks

    Refer this
    [http://forums.sun.com/thread.jspa?messageID=10604165|http://forums.sun.com/thread.jspa?messageID=10604165]

  • Java Card  Hard ware necesarry?????

    Hi all,
    I have a project on Java Card.
    Is it necessary that i have to purchse the hard ware to implement this project???
    Pls Tell me how to proceed without any hardware.
    If there is any simulator pls inform me.
    Has any one worked on simulator.
    Pls pls pls pls pls pls pls Help me
    regards
    Mihir

    Actually you can develop your applet and test them without the need for hardware. Eclipse IDE + JCOP3.0 plugin provide exactly that.
    HOWEVER in order to activate the JCOP plugin the easiest way is with a JCOP engineering card + Smart card reader.
    to get eclipse: http://www.eclipse.org
    for JCOP plugin and card you need to contact IBM: http://www-306.ibm.com/software/wireless/wecos/tools.html
    Hope that helps.

  • MIDP and Bluetooth as Java Card substitute

    Hi,
    I'm a Java developer, but not a Java Card developer, so I'm curious about the opinions of Java Card developers. It seems to me that IR and Bluetooth enabled J2ME/MIDP devices could be used in many situations where Java Cards are currently used. Depending on the adoption rates of
    a) Bluetooth enabled computers, devices, access points, etc... and
    b) cell phones with both Bluetooth and J2ME
    It may soon (a year or two) become cheaper and/or more convenient to issue users without a J2ME Bluetooth phone, such a device, than to issue all users Java Cards.
    So, entrenched coders
    1) Is this migration sane?
    2) Is anybody doing it, now?
    3) How hard/trivial is porting the applications?
    Thanks,
    Curt

    I'm aware of the JSR, but what is the security element ?On Sun Tech Days I was told it should be a Java Card. ;-))
    The main advantage of a smartcard is that it provides a trustworthy and tamper-resistant environment.
    Please have a look at
    http://www.simalliance.org/portal_upload/SIMalliance_comm.PDF
    I quote from the SIM Alliance site:
    "Thanks to a defined standard, easy downloading and powerful operating systems displaying high quality graphics, J2ME phones are making their mark. This leads to the question with such success and a memory capacity up to 1000 times the (U)SIM, will this relegate the Smart Card to a second class citizen?
    While Smart Card cannot compete with a Java handset for the sexy aspects of applications such as graphics, the core attributes of a Smart Card offer a number of significant benefits to application delivery, execution and management. All of these features require privacy management, security, portability and one-to-one personalization.
    Wireless applications must be secure and robust. However, it is feared that operators' revenue streams and secure pipeline will be threatened by the free delivery of applications mimicking the loss-making Internet portal model.
    This is where the Smart Card, (UICC, (U)SIM, and equivalent), will play an essential role in providing security, building trust and protecting revenues for mobile businesses.
    The card will become an integral part of the architecture for distributed applications running at the same time on Server, Handset and Smart Card to leverage the respective benefits of each part of the infrastructure.
    By looking at the strong points of each of the Java standards, Java Card and J2ME are not competing technologies but instead can be used in tandem to create an "open" and "secure" infrastructure that operators and content providers need in order to increase their ARPU and diminish costs. At present this infrastructure does not exist but leading operators, handset manufacturers, content providers and (U)SIM suppliers are working to make it a reality."

  • Does the JCVM comes inside a java card when I buy a java card?

    I am sorry again, but I already understand about card operating system. thanks. could I load JCVM into a java card in the same way I load an applet ?

    How did you create it ? There are instructions on this page for creating a new account (the instructions won't work with existing existing account) without giving credt card details : http://support.apple.com/kb/HT2534
    e.g. if currently logged into an account then log of it, then find a free app in the store, click on its free 'price', and you should then be able to create a new account during the 'buying' process and get 'none' as an option on the payments screen

  • Contactless Java Card

    Can anyone please explain how to know current activated protocol is whether contact or contactless using APIs?
    Card supports both contact(T=0) and contactless protocol.
    Card supports GP21 and Javacard 2.1.1 API.
    Thanks in advance.

    Hi
    Thank you for reply.
    It seems that API described in link is java card 2.2.2 API. please correct me if i am wrong.
    As mentioned earlier, my card supports java card 2.1.1 APIs and its dual interface. As far as i understand java card 2.1.1 API specification does talk about only PROTOCOL_T0 and PROTOCOL_T1 (not PROTOCOL_MEDIA_CONTACTLESS_TYPE_A or PROTOCOL_MEDIA_CONTACTLESS_TYPE_B).
    Do you mean java card 2.1.1 APIs also support PROTOCOL_MEDIA_CONTACTLESS_TYPE_A and PROTOCOL_MEDIA_CONTACTLESS_TYPE_B?
    I am rephrasing my question.
    Applet should be generic (without using any proprietary APIs). Product should be based on java card 2.1.1 APIs and should support both protocol, contact as well as contactless. With this requirement, How would i identify that protocol in process is contact or contactless?
    Thanks in advance.

  • How to initial pin number of java card by user

    Hello,
    I want to create Android Mobile Payment application using Java Card. I find the example and tutorial from the internet and I found the Java Card Applet Developer’s Guide and another example. After I read those files and examples, Most of them set pin with assign the fixed value into the code. So, I want to know there is any way to set the pin code by user dynamically.
    Moreover, I have one more question. I would like to store the credit card information into secure element on Android Phone. Which APDU command do I need to use ? WRITE BINARY or WRITE RECORD?

    Yes - the javascript will provide a quick response to the user without having to go to the server. However its probably a good idea to have a validation in the validation section that validates it before you insert/update/etc. People can turn off javascript in the browser, so a page validation is always a good idea - Now the reality is the way Apex is built a user can't really turn off javascript because most of the buttons invoke javascript to submit the page, but thats another story.
    You would code your button to do a URL redirect instead of submit if you want to use the javascript. Like:
    javascript:submit();Now I hardcoded a doSubmit('SUBMIT') which is what your button would do, but if you need different request values, you can make it a variable and do it like that:
    javascript:submit('CREATE');
    function submit(pRequest){
      if(check()){
        doSubmit(pRequest);
    }The Oracle side would be something more like this (just pseudocode - read up on the utility packages):
      v_table := apex_util.string_to_table(:P1_SHUTTLE);
      if v_table.count > 10 then
        return(false);
      else
        return(true);
      end if;Arggg - meant string_to_table - not list_to_table

Maybe you are looking for