Gemalto TOP GX4 cards - does they support Shareable interface?

Hello.
I am trying to implement SIO in my applet. There is an interface
package persistentStorage;
import javacard.framework.*;
public interface DataReadWriteInterface extends Shareable {
     public byte readByte(short address);
     public void writeByte(short address, byte value);
}and the class, that implements this interface
package persistentStorage;
import javacard.framework.APDU;
import javacard.framework.Applet;
import javacard.framework.ISO7816;
import javacard.framework.ISOException;
import javacard.framework.Util;
public class PersistentStorage extends Applet implements DataReadWriteInterface {
     private static final byte CLA_PERSISTENT_STORAGE = (byte) 0xD0;
     private static final byte INS_INITIALIZE_EEP = (byte) 0x01;
     private byte[] eeprom = new byte[200];
     private boolean initialized = false;
     protected PersistentStorage(byte[] bArray, short bOffset, byte bLength) {
          byte aidLen = bArray[bOffset];
          if (aidLen == (byte) 0) {
               register();
          } else {
               register(bArray, (short) (bOffset + 1), aidLen);
     public void process(APDU apdu) throws ISOException {
          byte[] buffer = apdu.getBuffer();
          if (this.selectingApplet()) {
               return;
          if (buffer[ISO7816.OFFSET_CLA] != CLA_PERSISTENT_STORAGE) {
               ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
          switch (buffer[ISO7816.OFFSET_INS]) {
          case INS_INITIALIZE_EEP:
               processInitializeEEP(apdu, buffer);
               break;
          default:
               ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
               break;
     private void processInitializeEEP(APDU apdu, byte[] buffer) {
          if (initialized) {
               ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
          Util.arrayCopy(buffer, ISO7816.OFFSET_CDATA, eeprom, (short) 0,
                    buffer[ISO7816.OFFSET_LC]);
      * Applet installation
      * @param bArray
      * @param bOffset
      * @param bLength
      * @throws ISOException
     public static void install(byte bArray[], short bOffset, byte bLength)
               throws ISOException {
          new PersistentStorage(bArray, bOffset, bLength);
     public byte readByte(short address) {
          return eeprom[address];
     public void writeByte(short address, byte value) {
          eeprom[address] = value;
        public Shareable getShareableInterfaceObject(AID clientAID, byte parameter) {
          return this;
}Everything is succefully compiled and converted. But on one of subsequent LOAD APDU commands, card throws
Wrapped command --> 80E602001C09A04652414354414C0108A000000018434D000006EF04C6020FB00000
Response <-- 6985
install_for_load() returns 0x80206985 (6985: Command not allowed - Conditions of use not satisfied.)
Does TOP javacards support Shareable interface? Because if I remove it, card accepts applet without problems. Or may be I did something wrong?
UPD: I can see the same problem discussed here: http://forums.sun.com/thread.jspa?forumID=23&threadID=5362492
Edited by: FractalizeR on 15.07.2010 17:29
Edited by: FractalizeR on 15.07.2010 17:51

Oh sorry I forgot to mention this. That was obvious for me :(
Yes, the interface shall be in the card before the calling applet and defined in the "server" package. There is a direct dependency at link time (= when you load the cap file).
The "server" applet is classical, and just implements the interface. .java files produces .class files and conversion produces a .cap and a .exp for the package.
Then, to build the "client" applet, you compile using the server's classes, and convert using the EXP from the server.
The server cap must be loaded and instanciated before the client cap.
Regards
PS: you can instruct the converter to produce JCA files, which are disassembled CAP files. They contain important information about these packages dependencies in human readable format.

Similar Messages

  • Installed graphics card does not support the opengl features recommended

    I've installed FCP6 on my PowerMac (PPC G4 DP 1.25GHz), and when I run it, I get a warning ("...installed graphics card does not support the opengl features recommended...") and the program ends. The graphics card is the ATI Radeon 9000 Pro (64MB)
    I'm looking for a definitive answer regarding my hardware compatibility with FCS2 (specifically, FCP6). I'm NOT looking for an answer along the lines of: your system is too old to run this.
    I've checked the minimum system requirements from the apple website (http://www.apple.com/finalcutstudio/specs/
    and http://www.apple.com/finalcutstudio/download/):
    * A Macintosh computer with a 1.25GHz or faster PowerPC G4, PowerPC G5, Intel Core Duo, or Intel Xeon processor
    * 1GB of RAM
    * An AGP or PCI Express Quartz Extreme graphics card (Final Cut Studio is not compatible with integrated Intel graphics processors)
    * A display with 1024-by-768 resolution or higher
    * Mac OS X v10.4.11 or later
    * QuickTime 7.3 or later
    * DVD drive for installation
    I have all that stuff. What I'd like is to know which component of my system is FCP6 complaining about (vis-a-vis the error message above), alternatively, if someone has had success with a similar configuration, I'd like to know anything they think might help.
    Thanks in advance for any helpful advice you may have.

    The minimum would probably be an nVidia Fx5200 or an ATI 9600...
    Patrick

  • Why the graphic card does not support directv2 pc?

     I have HP Envy 15 early 2012 3033cl, OS Windows 7 home premium 64 bit. I just downloaded the direct tv app to watch my recorded programs but is not working. I have the AMD HD 7690 M graphic card, and intel's other card I don't know what model that one is. When I use Intel's card I get audio and a green screen. When I use the AMD card I get a message "DIRECTV2PC cannot play this video because your graghic card does not currently support screen capture protection for protected content. Try updating your graphic card driver or modify your driver settings."

    Ipod touch supports bluetooth for stereo headsets/speakers and some peer to peer apps from the app store.
    Why is not a question that can be answered here.
    Only Apple would know.

  • I have iphone 3gs , i restored my iphone and now i cant activate it , and the sim card does not supported

    i have restored my iphone 3gs but couldn't activate it , and the sim card is not supported , any body can help me pls. ?

    Then you will have too look for help on other site we can't help you. 
    This is the site where you need too got for help for jail broken phones
    http://forums.macrumors.com/forumdisplay.php?f=105
    That's may be why your phone is not working then has it been jail broken 
    Sorry but I can no longer help you on this your own your own

  • Satellite Pro L10: sound card does not support Windows 7

    Hi
    i have a Satellite Pro L10 so i installed a Windows 7 on my system but my laptop can not support Windows 7.
    I need update of sound card for Windows 7.
    The model of sound car is Conexant CX20468-31 AC97 Audio Sound Card.
    Please help me

    Hi buddy
    What to say first of all you will not get official drivers for this notebook for Win 7 or Vista.
    This notebook is oldie and I doubt the drivers will be released.
    Reading through this forum threads Ive noticed that most of the user use the Vista driver on Win 7 OS.
    Maybe you should google for the Conexant AC97 Vista driver and should try a Vista driver on Win 7
    Good luck

  • The Currently Installed Sound Card Does Not Support Direct Sound Input

    I'm working Pro 1.5 in Win 7 with CPU: i7, 12 gb ram.
    The computer is a Costco ZT System
    http://www.costco.com/Browse/Product.aspx?Prodid=11500733&whse=BC&Ne=5000001+4000000&eCat= BC|84|56671&N=4017755%204294908621&Mo=8&No=1&Nr=P_CatalogName:BC&Ns=P_Price|1||P_SignDesc1 &lang=en-US&Sp=C&topnav=
    No "extra" sound card installed as described by ZT System the audio:
    Flexible 8-channel capable audio with jack sensing
    The speakers are working, as in Dictionary.com and .mp3 play perfectly, but there is not sound coming from the rendered program, nor from any audio files. The audio monitor is showing sound, but that's it.
    I'm pretty sure all the *.csv, *.cfa or whatever the audio files associated with PP (project) have been deleted, but, I don't see the program doing the "audio" compilation thing.
    Can someone help please? Sure hope it's not a 1,5/Win thing.
    Regards, Jon

    Jon,
    First thing that I would do would be to install the latest Realtek drivers. You will need to go to the Realtek site to get these.
    Next, in PrPro, there is an Edit>Preferences>Audio Hardware setting page, with the additional ASIO Settings (at least in PrPro 2.0 and above). There you can set how PrPro handles audio. If you still have issues, I strongly recommend ASIO4ALL. It is freeware, and easy to install. Once installed, one goes to the settings pages above and choose ASIO4ALL for everything. This little driver has worked so well for people with lower-end sound hardware, up to true esoteric hardware, at the very upper-end of the spectrum. I cannot count the number of music editing professionals, who have been helped by this little free driver. I use it on my Creative Live DD 5.1 SS card, and it works perfectly.
    Good luck,
    Hunt

  • Wireless card does not support N

    Hello,
     I just bought a Lenovo 4233-72G, N500 ( 3000)
    The spec is here: 
    http://www5.pc.ibm.com/europe/products.nsf/$wwwPartNumLookup/_NS772xx?open&OpenDocument&epi=web_express 
    According to the spec, the wireless card should hace been Intel WiFi Link 5100AGN;
    however, when I got it, and open the device manager on wireless network card, I saw that it is a broadcoam 802.11g.
    How could it be ?
    Rgs,
    Kevin 

    Your laptop should have the Intel 5100 wireless card. You should contact Lenovo and have them correct the replace the card with the proper one. The worldwide support center phone list is here.       
    \\ I do not respond to PM regarding individual tech support. Keep discussions in the forum for the benefit of others //

  • Move Images to SD Card does not support PlayMemories

    I love the integration of my a6000 and PlayMemories app to transfer and share photos, however there are two severe limitations that I hope Sony can resolve soon with software update.
    1. PlayMemories App cannot transfer to SD Card at least on Xperia ZR 4.4.4. I belive this app should be built-in if possible to allow it to write to SD card like other Sony apps.
    2. This leads to quickly filling up internal memory with high resolution photos from camera. This wouldn't be a problem if the automatic Move Images and Videos to SD Card feature works, but it does not detect PlayMemories images and videos, so complains internal memory low but shows zero images to transfer.
    I hope Sony either Xperia or PlayMemories team fixes these issues soon, because the integration of the different Sony products is one reasons I chose the a6000 over Olympus EMD-10 camera.

    Can't believe this feature is not standard, sending images from an RX100 m3 to Xperia Z3 and internal memory is full, why did I bother with a 128gb Sd card? Ridiculous...

  • "LBZ needs a shaders, your gfx card does not support shaders."?

    Hello guys,
    I'd like to taste Lemmingball Z on my laptop but obviously my graphic card seems not to be ready for it. I installed the normal xf86-video-intel driver for my GMA 3100.
    Whats wrong?

    Do you know how to fix that?
    Version date: Sun Nov 9 16:14:02 CET 2008
    can't gzopen tmp/updatorOutput.xml.gz
    Suspicious responce, canceling update!
    Added "lbz data directory". 945 new, 0 overwritten, 945 total, 0 errors.
    Added "patch data". 5 new, 0 overwritten, 950 total, 0 errors.
    Testing network-relevant game files...
    Game tested: LibCRC 9138EB27(13) GameCRC 60F470D8(628)
    Compiling all LGS scripts:..........OK
    Attempting to detect joysticks: 1 detected.
    Detected joystick Microsoft Wired Keyboard 600
    Setting OpenGL window: 1024x768
    Setting up opengl....
    Writing out hardware info to 'hardware.txt'
    OpenGL version: 1.4 (2.1.2 NVIDIA 295.49)
    OpenGL vendor: NVIDIA Corporation
    OpenGL renderer: GeForce 9400 GT/PCIe/SSE2
    Texture units: 4
    Maximum texture size: 8192, windowsize: 1024
    Texture compression enabled.
    Your hardware looks ok to me! :)
    Last edited by japenagosc (2012-05-12 18:19:46)

  • Does Logic support Audio Interface and MIDI simultaneously over USB?

    Hi -
    I'm new to this so please bear with me :-). I have a MacBook running Logic. Also have a MIDI controller hooked up via USB.
    I also have a USB Mixer that I'd like to hookup to the Mac's audio output. Currently, I have the MacBook's headphone output going into the mixer. I'd love to get the cleaner sound afforded by the USB connection. Is this possible while keeping the MIDI connection over USB?

    Thanks, Fox. You're right - I just tried it out and it worked out very well (although I'm getting I high-pitched noise through my monitor speakers only when Logic is running. The noise stops when I exit out of Logic.)
    I couldn't get myself to believe that the Mac/Logic could keep the USB data straight - MIDI on one, and audio on the other, but sure enough, it works just fine. :-)
    Thanks!

  • Shareable Interface between two RMI based applets

    Hello! I am developing a project in simulation environment (cref) in Java Card and I have one problem.
    First of all I have create two RMI based applets and I want to make one of these applets to implement a shareable interface.
    As we know a classical RMI based applet has three parts: one interface that extends Remote interface (lets call it ApplicationRemoteInt),
    one class that implements the previous interface (ApplicationImpl) and one class that extends javacard.framework.Applet which manipulates
    ApplicationImpl (ApplicationApplet).
    My problem is that I don't know which of these three programs (make it two, I don't think i could be
    ApplicationRemoteInt) have to implement an another Interface, which extends Shareable Interface (ApplicationShareable), and in which way.
    Also I think that the ApplicationShareable must be implemented by an Applet class.
    As you see I am confused, can anyone help me, please?
    Thank you in advance, Bill.

    Thank you very much for your response. I had knowledge about Shareable Interfaces between two traditional applets,
    BUT not between two RMI based applications.
    Finally I found that RMI based application does not support shareable interface:
    http://forum.java.sun.com/thread.jspa?threadID=728540&messageID=4194658
    Thank you for your reply anyway, Bill.

  • 32BV502B Does not support MPEG-4 in Greece?

    Hi to all,
    I bought a Toshiba 32BV502B model when I was in London.
    I red some reviews before I buy it and I saw that this model supports MPEG 4.
    While in London it used to play all the local tv stations. I send this TV to Greece and it doesn't support the local tv stations. There's a "video format is not supported" screen message or something like this.
    I downloaded the latest version of the Tv's firmware but still nothing changes.
    Do you know if there is any other way to fix this problem.
    I would like to avoid an mpeg4 codec with extra devices, remotes etc.
    Thanks

    No I don't think that all channels in Greece are HD. They are both Digital and Digital HD. For example I have a friend who uses the Neotion NP4+ CAM CI card and channels are fine but an HD channel won't show anything because the CAM CI card does not support HD.
    As for the signal, the strength at the info when I swap channels is full in every channel and I can listen to the sound clearly. My TV shows some 5 out of 40 digital channels probably because they are broadcasting MPEG2 signal.
    The relevant advertisement 3 years ago when the analogue signal was about to change to digital says that you only need a set top box that supports mpeg4. So probably my TV has not a MPEG4 codec as mistakenly Argos suggests. http://answers.argos.co.uk/answers/1493-en_gb/product/5298965/questions.htm
    Do you know if the built-in tuner is like plug and play chip so I can swap with one from another toshiba?
    It's a pitty because the TV is relatively new (1 year) and one of my criteria was MPEG4. I am about to complain to argos. ;)

  • Caution, nVIDIA Quadro FX cards may not support DirextX 11

    Anyone thinking or acquiring any of these cards be careful if DirectX 11 is something you will need in the future.
    During September when researching the Quadro FX cards one of my criteria was that it supports DirectX 11.
    At that time their latest driver version indicated it does support DirectX 11.  Only recently when running a program that requires it did I find out the card does not support DirectX 11  !
    So now I've got to look at something else to replace this card.  Anyone here want it?
    Not so cheerful,
    Michael

    The card in question is the Quadro FX 3800.
    However, my colleague has the Quadro FX 4800 and will run into the same problem.
    Regarding running the DirectX update from Microsoft, the answer is yes I did.
    The NVIDA Customer Care representative's response was as follows (I really wish one could copy and paste this):
    "I apologize for the inconvenience.  I must add though that the 259.81 Driver Package is generic to a lot of devices.  The idea behind this is to streamline the process of driver packaging.  Whilst the 259.81 drivers support DX 11 it requires a card to support DX 11 to work successfully."
    Checking NVIDIA's product lineup this means only the 5000 series and up support DirectX 11.
    What disturbes me, that there is no mention in the driver's web site description indicating this card is excluded.  To the contrary it is listed as being included!
    As well the fact that this "customer care" representative alludes to my incompitence in not checking the specifications...
    Cheers
    Michael

  • PE4 freezes - "Your card may not support full duplex"

    Brand new Dell Studio 17 laptop
    Vista Home Premium 32 bit
    I open PE4, start a new project, bring in a couple of MP4 files. Then when I try to play it gives me an error message: "Playback failed. The audion system does not seem to respond. Maybe the card does not support full duplex."
    PE4 then freezes, and I have to ctrl-alt-delete to close.
    Audio works fine everywhere else, until I try to run PE4. Then the card is dead and nothing works.
    Any suggestions?
    James

    James,
    "Tried it with PE3 as well, same thing." Are you saying that you installed PE3 on the Studio 17 and got the same error message when you tried to play MP4 or JPEGS on the Timeline? If so, did you install the Premiere Elements 3.0.2 update for Premiere Elements 3 before you got started? I do not believe that Premiere Elements 3 by itself was ever Vista compatible.
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=3565
    I would like to see the specific online links that Dell T/S cited to Kevin for claiming an Adobe/Vista (non Dell) issue. Would it be a good idea for you and Kevin to compare features (especially video and audio cards as well as drivers) of your Studio 17?
    The result of Kevin's contact with Adobe re: this matter, should be interesting, and I am looking forward to their spin. As far as I know there are users out there using Premiere Elements 4 with a Vista Home Premium operating system. Hopefully other forum users here will address that point and correct me if I have misspoke about that.

  • HT2105 When you get a apple receipt for itunes songs and you paid with a itunes gift card do they charge you or give you store credit what's store credit is it good or bad or does it charge you if you have a free account with no credit cards at all is it

    When you get a apple receipt for itunes songs and you paid with a itunes gift card do they charge you or give you store credit what's store credit is it good or bad or does it charge you if you have a free account with no credit cards at all is it bad?

    iTunes credits are, for example, if you download a song from the store and it's found to be corrupt - if the track can't be fixed then iTunes support will tend to give you a song credit for a free download.
    When you purchase music from the store then any credits that you have will be used first, then any balance that you have (e.g. from iTunes gift cards or allowances), and any remaining amount will be taken from your credit card.

Maybe you are looking for

  • What is the best practice for APO - Demand planning implementation

    Hi, M client wants to implement demand planning. Cient has come up with one scenario like a New Customer is created in ECC, and if I use BI and then APO flow for Demand planning, user will have to wait for another day. (AS BI is always having one day

  • Email attachment with didnt used EXPORTING TO MEMORY

    Hi Expert, For my development I cant using below abap code because I getting short dump when trying to execute the SAP Standard Program "RM06WCD1". When trying other program that is working fine. SUBMIT (report_name)          USING SELECTION-SET p_va

  • How can I remove the 'all files' pattern in the file dialog?

    Is it possible to remove the *.* pattern from the file dialog? I want my users to only see my own made patterns... Thx!

  • Import/Export Financial Statement version in OB58

    Hi all, In OB58, we can define financial statement structure for balance sheet and Profit loss report. Is there any way to import FSV from external file in to SAP ? as well as export from SAP to  external file ? Thank you very much, Sylvecat.

  • IMac/Boot Camp Screen Resolution Issue on XP

    Anyone here running Boot Camp on an iMac? I just loaded it on my MBPro and it works great, but on my iMac I can't get the screen resolution straight. My images are stretched when shown in XP. It's a 24" iMac. Thanks