Implement a driver for a card cryptographic chip with multiple ATR

Hello world
I use RIM to develop a driver for cryptographic smart card.

I created the MyCryptoSmartCard class that extends CryptoSmartCard. The problem is that this class allows only an ATR, but my card can have more than one ATR. It costs of the version. I want to control all in one card, and obviously with a single driver.

So what I need is to make a single conductor for several ATR. Is this possible?

The structure of my class of smart card is:

public class mycryptosmartcard extends CryptoSmartCard implements {persistable

private final static _ATR Byte = {(byte) 0 x 33, (byte) 0x6F,...};

...

public static void libMain (String [] args) {}

try {}

SmartCardFactory.addSmartCard (new M3CryptoSmartCard ());

} catch (ControlledAccessException falls) {...}

...

These are the only solutions tha I thought, but I don't know if it's possible:
-Make a MyCryptoSmartCard of constructor passing the RTA and the pourla create with ATR one or the other.
-Put all the ATR as private variables and later to treat each case current.

Could someone give me a solution? I would avoid the possibility of a driver for each RTA.

Thank you very much.

Hi, I think that it is theoretically possible to write a single driver for your two cards. In practice, it may be more difficult that it sounds good, depending on how different the two cards are actually.

The class CryptoSmartCard * can * support more than one ATR... once again, at least in theory. "To support a given RTA" means that your class return true from the checkAnswerToResetImpl method. So I don't see why your implementation of this method should not return true in response to one of the two separate ATR responding with your cards.

Having returned the true value, your driver actually expressed as a candidate for the card driver currently in the drive. After that, you will need to ensure that your pilot tunes its behavior to the requirements of the current map. You need to maintain an accessible indicator which ATR has received that is facing types two cards are in the player, but I think that a class variable should be able to do it for you.

You cannot use a special constructor because your class is built in libMain before the call to checkAnswerToResetImpl. Then you probably just need to condition the behaviour of your other methods on the ATR which has been received and encoded as your class variable (i.e. use if or statements to pass).

Hope this helps

Tags: BlackBerry Developers

Similar Questions

  • No sound after reinstalling the CD driver for sound card

    It all started when we do receive some music before of Powerpoint. We tried to update the driver for the card of its Soundblaster Audigy by shape to reinstall the CD we have obtained with the computer. It is reinstalled, but now we have NO noise at all. I tried to restore to an earlier time, but this has not fixed the problem. Check all the cables. To remove and reinstall sound card. Deleted SP3 and reinstalled because someone said that it would fix the corrupted files.   When we run difficulty It Now of microsoft, he says that everything is working properly.  Device Manager, I removed everything that I could see that had to do with the sound and reinstalled. Help, please. It's so frustrating not to make any noise.

    It does not say that the audio now works in Device Manager? If you double-click the audio inputs none of them see one! or X? If you want, I could check here with teamviewer. You will see what Im doing. If you decide to get this facility then run it. Give me the ID and the password, it gives you.

    Is its edge card, if it's not (and there is a soundboard on board, it is disabled)?

  • When I update my driver for the card ATI Mobility Radeon HD 3650 with live update my screen goes black

    When I update my driver for the card ATI Mobility Radeon HD 3650 with live update my screen goes black and stays black even after a reboot. I turn it off to go back to my office. nothing will be displayed, but the screen is powered.

    When I update my driver for the card ATI Mobility Radeon HD 3650 with live update my screen goes black and stays black even after a reboot. I turn it off to go back to my office. nothing will be displayed, but the screen is powered.

    Hello

    When you say "live update" are you talking about Windows Update?

    If so, you can go to the ATI site and download the latest driver for this video card. Here are the download links for the drivers later, Windows 7, 9.9 32-bit and 64-bit version for the Mobility Radeon 3000 series.

    ATI Catalyst Mobility Radeon Display Driver 32-Bit

    ATI Catalyst Mobility Radeon Display Driver 64 bit

    Hope this helps

    Thank you for using Windows 7 Ronnie Vernon MVP

  • is driver for canon pixma mp800 included with windows 8?

    is driver for canon pixma mp800 included with windows 8?

    Bring out of the canon site

  • Drivers for card cryptographic chip from the RIM of the AIP

    Hello

    This is my first post in this forum, and I am new in the development of BB.
    I'm developing a driver for a cryptographic smart card not supported for the BB smart card reader. So I need create and save a driver for an unsupported card and a card reader taken in charge.

    I implemented the MyCryptoSmartCard have the class, the class of MyCryptoSmartCardSession, etc. old and its methods. When I run the code unit BB shows me the name of the driver in the menu of saved card drivers.

    Now, I'd be interested start to test my code better learn how to use my card.
    I have read that I need to use the breakpoint Martin to test my driver with my card, but it does not convince me. Is there another solution?

    I have seen that there are simulators for the download but I need the player not the BB Phone.

    Thank you very much and sorry for my lack of knowledge on the subject.

    There is no Simulator for the BlackBerry smart card reader.  You can buy a real device to test this application.

  • Update the driver for graphics card for Satellite M30x

    I need to update the video card driver in my Satellite M30X (ATI mobility Radeon 9600/9700). Where can I find the latest version?

    On the toshiba support page, there is only an older version (dic.2004). I already tried to install a feeding at ATI.com but failed (suddenly stops and says that my system does not support this driver). I really need this update...

    Please help me

    Hello

    The driver from the ATI site will not help you. It is generally not possible to install the original graphic drivers from sites of s card on Toshiba laptops manufacturer.
    The Toshiba own graphics drivers are a bit modified and not the same as the original ATI drivers.

    However, the Web omegadrivers.net site provides drivers for ATI and NVidia chips and to my knowledge, it should be possible to install these drivers on your laptop.

    Check just

  • Satellite X 200 - 15 K - no driver for video card on XP

    Hello. I have laptop Toshiba Satellite X 200-15 K.

    That yesterday I installed windows XP. I downloaded the drivers for Xp on the official website. But when I download the graphic driver site I redirected the page from nVidia. 8700M GT that I searched for the latest version of the video driver with support for my video card nVidia page. But then I start to install this driver there is a message "installation cannot continue. This graphics driver could not find compatible graphics hardware. » ?
    And what sholud I do with it? I'm not VISTA! I want XP!

    Hello

    This driver should work. Just make sure that you use the driver for the laptop cards.

  • Re: Tecra A7 - Win XP driver for PC card Type II card necessary

    I have not found on the toshiba site, the driver for the PC card slot for 1 x Type II card, type: slot Express Card?
    where is it possible to download?

    The slot for PC card requires no additional driver and, therefore, the driver isn't available for download

  • Satellite A200 - can I driver for SD card on Windows 7?

    Hello

    I'm french so sorry for my poor and bad English.

    I installed windows 7 32 bit on my Toshiba Satellite A200 and my SD drive does not.
    Must I download I driver?

    Kind regards
    Jehuty.

    Hi Jehuty57,

    Yes, you must download and install a driver for the SD card.

    You can download it here:
    http://EU.computers.Toshiba-Europe.com > support & downloads > download drivers

    If you can t find a Windows 7 driver, you can try the Vista one. It should also work.

  • Satellite Pro A100 - need win 7 driver for SD card reader

    I can't find driver for the next HD
    * SD card reader *:
    PCI\VEN_104C & DEV_803B & SUBSYS_FF101179 & REV_00

    other info
    System DMI information
    Manufacturer * TOSHIBA *.
    product * Satellite Pro A100. *
    version * PSAASE-00H004GR *.
    Sagna: * Win7 32 bit *.

    I have my serial number in
    http://de.computers.Toshiba-Europe.com/innovation/generic/SUPPORT_PORTAL/
    but for Win7, I found only
    Update the BIOS
    Wireless Lan driver
    and no SD driver

    I also German?

    Your old laptop model no is of course not supported for Win7 but you can try to use the Vista driver and most of them also works on Win7.
    Test if you please and let us know if this will help.

    By the way: as you can see this forum is English language only, so try please post in English. Who cares if you will make mistakes? ;) My English is not so perfect.

  • Satellite 1730 - need driver for ethernet card

    Hello. I need driver for Toshiba S1730 for Windows Me ethernet card. Ethernet card deactivated in the BIOS or by button? Interface Ethernet not serving in Windows

    Hello

    As much as I know this unit has no Ethernet card onboard and there is a reason why it cannot be determined by the OS. I'm sorry.

    Good bye

  • Satellite M40X: Driver for graphics card

    Hello

    is there anywhere the ability to download the new driver for my graphics card in my Satellite M40X?

    Thanks for your help.

    Best regards.
    Andreas

    What about this site:
    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp

  • Can not find the driver for sound card for Satellite L40 - 12K

    I can t find driver in Toshiba support site for this model, but Google help me well.
    Only the driver of sound card I can t find anywhere.

    Please help me

    Map its (82801 G (ICH7 Family) High Definition Audio Controller)

    Thank you

    Drivers for all the operating systems supported are available on Toshiba download page http://eu.computers.toshiba-europe.com/innovation/download_drivers_bios.jsp

    Your Satellite's old model of laptop, and you'll find it in ARCHIVE. Please note: your model is PSL40E.

    What operating system do you use?

  • Need to find a driver for NETWORK card for my P7-1010

    I had a few difficulties to connect to my cable company and they said that it's maybe because I didn't install the necessary NETWORK card driver. That sounds wrong and if so, where can I find 'he'... or all the other drivers, I may need. Is there a central database driver? PS - I am born a Mac person and due to costs and conditions of work ended up on a PC... and I've had hundreds of issues with both platforms... but less Apple... so do not hate the user ID

    For what operatng system you need the NETWORK card driver for?

    All drivers available for your desktop P7-1010 PC are stored here.

  • Retired HP Pavilion a6000n PC and can not find the driver for Network Card card do? Download Driver?

    Gradient of the Visa OS came with the PC for XP.  Installed new HD and partitioned drive so there is no pass file.

    I found that it is management of network integrated 10/100 Base-T interface but cannot find the manufacturer to use it Web site.  In addition, been

    playback ChipSet might need drivers or upgrade?  Don't know that much about this, but enough to get in trouble if

    I'm not "coached" through it all.  Low grade was the Visa MS HP accompanying MS XP Professional.                               Need a link or help find the Driver for the network card.

    Thank you.

    Thank you very much... which seems to do the job for letting me use the network card.  Once I installed the chipset you me too, my IE was able to get the net.  The only thing that happened that I wonder about, what I choose to accept or not something RAID, which I accepted and it seems to work with one small annoying side affect: I can't get Windows Update to run.  I get this error: 0x8024400a and I spent literally hours looking for and trying different solutions, which none have worked. Do you think that there is something that would change this Nvidia software which would cause that?   I get out to the internet OK and can go to any web page.  It runs a bit slow, but I thought it might be because I'm using a newly installed Win XP and it has only 2 SP.  My next step in getting this thing to work was to run Windows Update and anti-virus stuff set.   Any way, thanks again for your help.

Maybe you are looking for