Help and advice with programming side host

Hi all
You have to connect the Java Card reader (+ Java Card!) for a powered ARM embedded system under Debian Linux.
Now we must essentially the host program that sends the APDU to the card and receive responses from the card.
This program must be in C.

I have been coding bits of Java Card on my Windows laptop and have been the installation using GPshell.

I have the card and the following card reader:
(a) 3310 SCR from SCM Microsystems - smart card reader
(b) Cyberflex access 64 k v2c Gemalto (formerly Axalto)-Java Card (JC Supports 2.1.1 and global platform 2.0.1)

My question is this:
Time to test my applet, I use GPshell commands. GPshell works with Linux (powered by an ARM processor)

I understand that the global platform is a library and can be used to program the side host to communicate with the card chip. Can it be compiled for Linux? I have no idea how I'd do for an ARM based system.

I'm very fragile on the host side of things party. Please throw much light on this piece as possible - it will save me a lot of heartburn later, believe me!

Before I started working with JC, I was under the impression once the connection with the card setup, to just send the APDU (has the JCWDE emulator) to communicate with the card. I had no idea that we use GPshell for that. So, basically if there's another way that supports APDU to and from the card that works for linux (I think that PC/SC takes care of the APDU) that would do the trick and I guess that what I do Id of GPshell under Windows, could do with this other way on Linux.

Help, please.
Very much appreciated.
Thank you very much in advance.

See you soon

Hello

First of all, your host application must be able to load and install the cmdlets, or do you just need to communicate with a card that has your preloaded applet? The answer to this will help determine what you need on your Linux machine.

If you do not need to load the applet, you can use pcsc - lite (it's the port of PC/SC for Linux/Unix http://www.linuxnet.com/middle.html). This can be included in your distribution or you can easily compile from source. GPShell uses the GlobalPlatrform library that uses a PC/SC to communicate with your card. If you are not loading of applets, then you can skip the wrappers and use PC/SC directly.

You were correct in your original hypothesis. When you have a connection to the card, you simply send APDU. There are a number of ways to do this, but they all eventually go through PC/SC. Most are simply a wrapper that makes things more convenient (smartcardio) while others are just a language Binder or wrapper (jpcsc). You don't need to use GPShell once you have an applet on your map. This is mainly used for creating scripts to load and sometimes to personalize a card. I wouldn't use this for most of this. Because it looks like an embedded Linux platform, you should keep your host as light weight as possible and go directly with PC/SC.

You could start working on your application host using PC/SC and may compile it for windows and linux. You can watch the GlobalPlatform source to see how they did it (it is compilable for both and I've also compiled for OS X). The only real problem of memory is the include for pcsc headers path.

See you soon,.
Shane

Tags: Java

Similar Questions

  • A brand new user has need of little help and advice...

    Hello

    I just took the bold gamble in Indesign and it's the first day of my 30 day trial.

    I need help and advice from you folks... Please.

    I have been successfully creating Brochures A5 (A4 folded) using MS Word and print it on a desktop printer. MS Word sorted my order page for me when printing to the correct pages have been implemented.

    I read as much information that I could find, but I'm still able to do the same in Indesign.

    I'm looking forward to you use the advanced functions of layout and have control over what I do, but I need to work on this fundamental step before going any further.

    I hope that what I explained is logical.

    Concerning

    John

    So presumably you create a new document, the portrait of the A5, facing pages. Make sure that your number of pages in the document is a multiple of 4.

    Create, type, twist, meditate, edit, smile, save.

    To create your booklet using InDesign, on the file menu, select print booklet.

    You will probably need to jump back from the button print settings, adjusting the size paper, Orientation, color, and in the print tab booklet for 2-high shot on horseback.

    A large part has been posted on this topic, these are the basics, printing booklet is not the best module ever written Adobe, IMO

  • Review help and advice


    Hi all

    I know there are many positions in this regard, but I've lived almost all of them now!
    Below, this is how I've been preparing for the exam.

    I took the ICM 4 days of training (June 2010)

    I read the
    (1) blue print exam
    (2) VMware vSphere 4 implementation of Mike Laverick
    (3) notes by Simon Long
    (4) notes by Matthijs (b3rg.com)
    (5) were also through some training videos.

    I also worked on my test network with 3 ESX host and storage iSCSI for almost 6 months now.


    I still can't get answers directly from the review of simulacrum of Vmware (they are supposed to be the easiest)
    I have not read the official documentation because the content is too large.

    You guys make tips? Ideally, I want to pass the exam before March 31

    Advice/suggestions would be highly appreciated.

    Thank you
    MSR

    All you need is an internet connection broadband and a headset, to participate fully in the Webex session.

    Scott.

  • WHEN YOU IMPORT PHOTOS FROM DISK HARD EXT, 92 000 IMPORTED OK, THEN HE STOPPED WITH MSG: IMPORT REVIEW: COULD NOT PERSIST MASTER, EXCEPTION CODE: EXC_1386_GPFLT.  STILL HAVE 50,000 PHOTOS TO IMPORT.  NEED OF HELP AND ADVICE.

    Can you please help me with importing photos from an external hard drive.  92 000 images transferred, then import stopped with the message: IMPORT CRITICISM: THE PERSISTER MASTER FAILURE.  EXCEPTION CODE: EXC_1386_GPFLT.  A lot of pictures in the last implant, but was very blurry.  The 92 000 that has been imported successfully are very clear.  I re-tried the import process is the same.    could answer you to * @aol.com

    How the photos were initially stored on external drive? This software has been used?

    What software is used to import the photos?

    Really not post your e-mail address here on these public forums where she can by harvested by scammers. I asked that Hosts change for you protection.

  • Windows Media Player 11 Error Messages C00D11B3 blocking Digital Media Broadcasting ideas please help and advice?

    Laptop sony vaio windows XP version 2002 service pack sp3 operating system

    and it's systems to upgrade windows 7 optional test and safety devices and

    This modernization was just recently when I noticed that the old version will

    obsolete and I already downloaded the windows media player 11 last year

    Since then, I have optional upgrade to windows 7, I noticed that windows

    Media Player malfunctioning my free audio visual spectrum, some functionality is

    works not properly espicially g-force and whitecap is absent from the screen

    and his completed the program with the C00D11B3 error message is you guys

    have and ideas to solve this problem? "' or ' you have something free

    software that can solve this problem please give me advice because

    I already try to solve the problems and to dig little fishy on mine, but I don't know

    where to go this eror message c00d11b3 and some of the characteristics of the network

    isn't vessible it makes me confused as proxy for media player / / please give

    me advice what features can I ask my Media Player if I go back to the old

    Version? 'or' I pass by...

    Thank you for giving me the time and your understandind.

    "Sincere friendship" * address email is removed from private life. "

    Although the URL is for win 7, it is always very instructive in the problems with WMP11.

    http://Windows.Microsoft.com/en-my/Windows7/C00D11B3

    This thread may also help.

    http://www.TomsHardware.com/Forum/88631-45-Windows-Media-Player-error-c00d11b3

  • Need help and advice of HP PAVILION DV6-6141 pilot!

    Hello

    Just got a HP PAVILION DV6-6141

    basic specifications:

    Win7 64 bit

    Intel Core i7 2630QM 2 GHz

    8 GB of DDR3 memory

    6770 m 2 GB

    And I was wondering so people could help me with a driver update advice for her, because I don't want the laptop from top and die on me if I make mistakes!

    1.)

    http://h20000.www2.HP.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=5154596&...

    Is this the right page to receive my drivers of for the HP PAVILION DV6-6141?

    If not could someone help direct me to the right page?

    2.)

    At startup, the bios indicates version: F.17, but I was wondering what the latest compatible version for my laptop?

    (I am double checking so I saw nothing!)

    3.)

    I recently tried to update all the drivers 6770 m ATI on this page that I linked above (could have been a mistake), everything works except for some bugs with the textures and games seems to crash on a regular basis

    4.)

    Is there any other kind of drivers that are compatible with the 6770 m to improve the performance of game and maybe stop the crashes/bugs, I saw people talking about modded drivers on this laptop, but I don't know where to start!

    Also if you know any good guys messages-son to help with this (if they have already been made) would be great!

    Thank you

    Here is the correct driver for your model DV6-6141eo download link:

    http://h10025.www1.HP.com/ewfrf/WC/softwareCategory?CC=US&DLC=en&LC=en&os=4062&Product=5154595&sw_lang=&Tool= &

    F.1b is the latest version of the BIOS available for your model. Here is the download link:

    http://h10025.www1.HP.com/ewfrf/WC/softwareDownloadIndex?softwareitem=ob-100034-1&CC=US&DLC=en&LC=en&os=4062&Product=5154595&sw_lang=&Tool=

    Here is the link to the latest graphics driver for your system:

    http://ftp.HP.com/pub/SoftPaq/sp55001-55500/sp55092.exe

    If you have already installed the latest graphics mentioned above, you can try the following driver:

    http://ftp.HP.com/pub/SoftPaq/sp54001-54500/sp54462.exe

  • In big trouble and the refectory. Really need help and advice.

    Hi everyone, I'll try to be brief and make me delete the cause that there was a strange turn of events for me. A good friend of mine sold me his laptop: Acer Aspire 7560 G. Good enough for me to was for very occasional use. The laptop has dual boot: Windows 7 Family edition provided with the computer and Mint Lixux for which my friend created partitions. Last week, I decided to make the leap to Windows 10 via the free upragde. The process went well until the end when I was informed that there was not enough space on the partition of Windows 7 to complete the installation. So I went to my friend, so he could adjust the partitions in a more balanced way. He said that he could do. Of course, he is the one who partitioned the disk in the first place to the account of his love for Linux. I decided that I couldn't live without Linux in order to have a larger partition for Windows 7. My friend wiped the partition Linux and Windows 7, leaving for me recovery mode partition to reinstall the operating system, after that the other had been moved a little. In fact, he can never enter into Recovery Mode. Hours spent, and he did not want the best solution he found was to install a rather well preserved box of Windows 8 a friend of his who was given with a computer. Installation of Windows 8 is going very well, we had the key and everything. I'm not a Windows Guy. I'm a Mac guy my knowledge is limited, but I want to learn. Sometimes the Apple you know. The OS installed, but asked something like formalizing Windows on my computer. Now, I reinstalled Linux and I do not see the Windows 7 recovery mode. Is that mean I lost my chance to spend freely for good? This Windows 8 is not even mine, he's a friend of my friend. I'm really upset and I think someone has caused me major problems. Can anyone help please?

    Nice S.

    You have the product key of Windows 7 or Windows 8? If so, simply download Windows 10 then perform a new installation:

    How to download official Windows 10 ISO files

    then

    How to: perform a clean installation of Windows 10

    then

    How to: install and update drivers in Windows 10

    After the upgrade to Windows 10, you cannot use your Windows 7 or Windows 8/8.1 product key.

    Click on this Later.

    Check if you have installed November update:

    How to check if you downloaded or installed the update Windows 10 November

    If you do, then all you need to do is change the using your Windows 7 product key or product key 8:

    Click Start > settings > Update & security > Activation > change product key and then enter the new product key, and then click Next to activate

    If you continue to experience problems, contact support:

    Activate your Windows 10 license with Microsoft Chat support

  • 11g: bounded task flows, need help and advice!

    I have a few questions about the stubborn workflow.

    The use case is the following: my module has a list of tasks on top, lower than I want to display detailed information. Say, visitors in the workist, arrested in detail. User can press a button "Edit" in detail, navigate to an edit page in detail, where the user can change the selected command. After submission, it is up to the list of commands in detail.
    So, I thought for this display order and the modification of a workflow defined with page fragments in a region. It is the correct use in this situation, isn't it!

    When the user selects a new customer in the list of tasks, I want that the workflow bounded at zero and start to re - run the default activity.
    So, the user begins editing a client A command, reflection decides against publishing then just selects another customer in the list of tasks. I then want the flow of sub to restart.

    Then I thought about: main workflow (containing the task list) called the void stream (content area) when the user selects from the list of tasks. Main flow the customer id in the void stream. The default activity of flow void is a call to the 'executeWithParams' method that then passes the activity stream viewOrders that displays the orders as a fragment of page table. What is the right way to go here?

    But I can't make it work.

    In my main stream (unlimited), I try to add a call of task flow, passing the customer of a link id in the void stream (stubborn). But JDev tells me I can't do it ("... can't call bounded task flows 'side flow' which refers to fragments of page" ").

    So, what should I do? Is my basic design (main flow, under flow, in a region) sound?

    Sascha

    Hello

    The use case is the following: my module has a list of tasks on top, lower than I want to display detailed information. Say, visitors in the workist, arrested in detail. User can press a button "Edit" in detail, navigate to an edit page in detail, where the user can change the selected command. After submission, it is up to the list of commands in detail.
    So, I thought for this display order and the modification of a workflow defined with page fragments in a region. It is the correct use in this situation, isn't it!

    Of course you can use a taskflow bounded with pages and opens dialog, if the edit page command ecr order then you can use a train. on the second page of train, you can add your items.
    You can use shared datacontrol or isolated, with isolated, he must use input parameters but then you can re - use order edit taskflow in other applications
    or you can use a page fragment corresponding to the order selected in a layout of the edit form.

    But you must use events. When changes in main taskflows, must pass an event to the homepage. the homepage listen for this event and triggers the other taskflows.

    Please read this http://technology.amis.nl/blog/3365/adf-11g-how-events-in-one-region-cause-other-regions-to-refresh

    Thanks Edwin

  • Help and advice Windows 8

    I searched in vain this tile announced in the demo for assistance.

    Can someone there to point out for me?
    Pierre Beaudoin

    Hello

    Of the Start screen, start typing Help + tips until you see on the right, and then select.

    Help is also accessible via the charms bar , then settings then help.

    You can also get help here:

    http://Windows.Microsoft.com/en-us/Windows/support#top-solutions=Windows-8

  • Upgrade to WM 6 Pro but which? Need your help and advice

    Nice day!

    I recently bought a Treo 750 here in Taiwan and I want to update my device from WMPro 5 WMPro 6... I've seen 2 different updates both of palm support

    .

    This link, I got a palm Online Chinese community. This update is for version 2.23 and labelled as English generic.

    https://ws.Palm.com/SupportDownload/app?service=external/home&SP=20

    This link that I got from Philippine Palm and this update is for version 2.27 labeled as English generic for http://www.palm.com/ph/support/treo750/downloads/wm6update.html of the APAC region

    Device String Download the file Treo 750 Treo 750-1, 16 - RWE download

    Should which file I download? I think the download the latter since it is much higher compared to the previous version... Hope to hear from you guys soon thank you very much!

    hyuuga_patik

    It's the version appropriate for your device
    http://www.Palm.com/ph/support/TREO750/downloads/wm6update.html

    Download this one and install it and let me know if it gives you problems... If you notice he's talking down to halfway the software channel page should be Treo 750 - 1, 16 - RWE, which is what you have... of the Chinese view maybe the Chinese version if your device is an English unit that you want to make sure that you have the English version of the update.

    Message relates to: Centro (Sprint)

  • by turning on the computer a help and support update runs, but will not be finished

    I start my computer and help and support update starts but usually ends it starts before im connected to my wireless and I'm going to the task management to stop the task if I can get online and connect, when I try to update, it is said there is no update needed.what can do to stop this Thank you

    Go to start / search box and type msconfig and enter and then double-click on the program icon that appears.  Go to the Startup tab and see if you can find that help and support update program which are listed there.  If so, uncheck the box next to it, so it will not load at startup, click OK, and exit.  Then reboot and see if that solves the problem (but you won't update whenever it came from).  If this does not work, go to start / Control Panel / Administrative tasks / Task scheduler and see if the help and support update is listed here - if so, delete it and will try it is no longer to load at startup (but you have lost the update whenever it came of).

    If this does not work, please transfer your question in Forum Windows Update: http://social.answers.microsoft.com/Forums/en-US/vistawu/threads people who specialize in Windows Update issues (and I guess it's an update of Windows we're talking - you were not accurate in your message) will be more than happy to help you with your problem.  If you have the update name and KB number, it would help and you should include it in your message there.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Advice on how best to configure the network adapters and virtual switch in ESX host

    I'm new to VMware and am its implementation.  I got my training a few weeks ago, and now I'm configing my hosts.  I have 3 guests, each have 2 network cards.  There is a virtual switch that ESX creates when it is installed (vSwtich0).  The books said that it is advisable to delete the VM network port of virtual machine that is assigned to the value group default virtual switch and put it on another virtual switch so that you keep your management network separated from the network of the vm for performance and security.  If I do this, all my virtual machines will have to go to 1 NIC b/c I only have 2 NICs per host.  I thought that I have just to keep all my groups of ports on the default vSwitch0 and add my second NETWORK adapter so that I can take advantage of the Association of NICs for redundancy and load balancing.  However, I'm not sure on the performance and the security risks.  Do you have any ideas or advice?  I could also create two virtual switches and put my virtual machines on one which would have a NETWORK card dedicated and put my service and Kernal VM console on another virtual switch with a dedicated network card.  However, in this scenario, I have no fault tolerance or load balancing.  We are a small shop and we have about 10-15 VMs on each host.  I don't have access to b/c distributed switching we paid only for the company (not more).  Thank you.

    Hi and welcome to the forums,

    With 10-15 VMs per box and I guess that I would seriously consider adding two extra cards for each host in the production machines. You could then do something like:

    vSwitch0 - vmnic0, vmnic2, vmnic3 - Console of Service, VM LAN network

    vSwitch1 - vmnic1 - VMkernel

    That would give you redundancy and performance to access your hosts (SC) and also for all your virtual machines. The VMkernel would get a NETWORK card dedicated for vMotion and could be on a separate network. He didn't need redundancy really as if the NIC sank the only issue is that you cannot vmotion virtual machines. In this case you would just move one of the NIC workgroup through to those switches manually.

    If you only have 2 network cards, then I would say having a vSwitch with two attached network adapters and VLAN the VMkernel may be off. I want absolutely to the redundancy of having two cards together.

    Hope this helps,

    Dan

  • Satellite Pro M10 freeze and crash with some programs

    Hello

    I have a M10 Pro Satellite...
    A few weeks ago it's freeze and crash with some programs like wmpayer, messenger... I delivered to the authorized agent and they had not detected any problems.
    Already I have formatted several times, but the problem persists.

    Any idea what this may be?

    Thank you

    Hello

    For me it looks like you might have a motherboard problem. Formatting removes the chance that it is a software problem. Try taking 1 stick of RAM and test with it. If she continues to crash, remove that stick and try it. If she does it with the two RAM then those who are ok. HARD drive is not the culprit, so now he could either be processor or MB. Find a program to measure the heat from the laptop and run some heavy programs do overheat. If the temperature goes up and then it crashes, it could just be overheating. If it continues without overheating you either have a CPU or MB problem. I hope this helps.

  • I play world of warcraft and use a program called ventrilo to talk with other players. the problem I have is my game sounds can be heard

    I play world of warcraft and use a program called ventrilo to talk with other players. the problem I have is my game sounds can be heard.
    Vista makes my headphones 'speakers', so when I use a program called ventrilo to talk with other players in my game sounds are heard through ventrilo. My headset is a headset/microphone generic plug-and-play.

    When I run not WoW, I can hear my own voice through the headset speakers when I talk.

    I want my headphones to work so I can hear my friends talking and the sounds of the game, but I don't want the game sounds to be filtered on the server for voice chat

    Any help would be much appreciated. I asked the same question to Geek Squad and their response has been to try to charge me $49.99 + tax for one of their "agents" can remote in and fix it. Do not use them unless you have: P

    Hey CassiusVa,

    Welcome to the Microsoft Answers Forum!

    Since when are you facing the issue?

    Can I know the version of Ventrilo you use on your computer?

    It may be that World of Warcraft focuses on your audio hardware.  You can try to reduce the audio settings in WoW to see if this makes the use of Ventrilo better.  It may also be a driver problem.  I would check to make sure that you have the latest drivers for your audio device.

    Use the following steps to ensure that the audio drivers are up to date.

    1. connect to the Internet.

    2. click on start and enter the Device Manager in the start search field.

    3. click on the plus sign next to sound, video and game controllers.

    4. right click on the name of the sound material and select software update of the driver...

    5. click on search automatically for a driver updated and wait for Windows to update the driver software.

    6 Windows checks a remote Web site to see if the update of the driver software is available.

    * If an update is available, let Windows install the update.

    * If an update is not available, proceed to the next step.

    7. once the update is successfully installed, test the microphone.

    Please follow the steps below and check if you still have questions echo.

    Go into Ventrilo Setup and select mixer for the sound card, which will be the audio input (as determined by the "Input device" option) device. This will populate the Mux and line options. Normally it would take only a Mux. It is possible that you may have many options of the line. Go ahead and select "Microphone" or anything that is appropriate for the input line and then click OK.

    This should solve the problem.

    Please note that you select mixer, mux and line will allow the "Hardware Volume" slider This gives you the control hardware on the audio input signal and is the best way to control how strong you are. Setting the cursor to halfway better seems to work for most people, but it will be hardware and system load.

    You can also browse the links for more information on ventrilo and try to contact them if the problem persists.

    http://www.Ventrilo.com/FAQ.php

    http://www.Ventrilo.com/about.php

    http://www.Ventrilo.com/dlprod.php?id=1

    Let us know how it works.

    Kind regards
    Technical support of Microsoft-yama.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I have a program on my computer called Belarc Advisor and I noticed since he put it on your programs and software there is no hosted Virtual Machine.

    I have a program on my computer called Belarc Advisor and I noticed since he put it on your programs and software there is no hosted Virtual Machine. I think that's what it shows but what exactly does that mean?

    Hello

    Don't worry about this as you would know if you need a Virtual Machine (and few people use one).

    Virtual machine
    http://en.Wikipedia.org/wiki/Virtual_machine

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

Maybe you are looking for