Can I manage APDU by myself if i use RMI model?

Javacard - RMI , Can I manage APDU command by myself?
First , there are 3 model of "Communicating with a Java Card Applet (Accessing the Smart Card)"
1. The Message-Passing Model
2. The Java Card RMI (JCRMI)
3. The Security and Trust Services API (SATSA)
This is my thinking/understanding
I have seen that no manage APDU in RMIDemo. It look like programmer no need to manage APDU by themselves. RMI will manage it.
(package com.sun.javacard.samples.RMIDemo; - > demo from java_card_kit-2_2_1)
but another way -> "The Message-Passing Model" in JavaPurse ,wallet demo. all of these can manage APDU directly.
Well, I want to know , Can I manage APDU by myself if i use RMI model?

Javacard - RMI , Can I manage APDU command by myself?
First , there are 3 model of "Communicating with a
Java Card Applet (Accessing the Smart Card)"
1. The Message-Passing Model
2. The Java Card RMI (JCRMI)
3. The Security and Trust Services API (SATSA) The last one is AFAIK not a separate model. SATSA uses APDU or JC-RMI to communicate with a java- / smartcard.
This is my thinking/understanding
I have seen that no manage APDU in RMIDemo. It look
like programmer no need to manage APDU by themselves.
RMI will manage it.
(package com.sun.javacard.samples.RMIDemo; - > demo
from java_card_kit-2_2_1)
but another way -> "The Message-Passing Model" in
JavaPurse ,wallet demo. all of these can manage APDU
directly.
Well, I want to know , Can I manage APDU by myself if
i use RMI model?Yes you can.
If you look into the PurseApplet.java you will notice in the process() method, that all APDUs your applet receives have to be passed to the RMI Service manually: disp.process(APDU);
What you do with the APDU before passing it to the dispatcher (or after it) is up to you. You only have to make sure that you do not use the same INS value for your custom commands.
By default the RMIService uses RmiService.DEFAULT_RMI_INVOKE_INSTRUCTION = 0x38 as INS value.
Jan

Similar Messages

  • I have managed to lock myself out of my macbook pro only 2 hours after purchasing it .....:/  how do I unlock it?

    I have managed to lock myself out of my macbook pro only 2 hours after purchasing it..................... was playing around with the profile info, eeeeeeeeeeeeeek !  How do I fix this now?

    Did you set a password?
    If you didn't just press enter.
    If that doesn't work you can reset your password by following the instructions on this link http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBkQFjAA&url=http%3A%2F%2Fsu pport.apple.com%2Fkb%2Fht1274&ei=KFBWTu2PG47fgQfUx-SMDA&usg=AFQjCNHRcV70YpDn2AVm 9t8b0Sc-bjYSJg

  • I am having a Startup problem. Someone comes on the screen with Open Firmware to Startup. How can I reset the PRAM myself to solve this problem?

    I am having a Startup problem. Someone comes on the screen with Open Firmware to Startup. How can I reset the PRAM myself to solve this problem?

    Read these.
    http://support.apple.com/kb/HT1431
    http://reviews.cnet.com/8301-13727_7-10330118-263.html

  • I have two iPhones associated to the same Apple ID. Can I manage music

    I now have two iPhones (4s & 5s) associated to the same Apple ID. I am
    giving my wife the 4S.   
    We like different music & apps from one another. Can I manage music & apps independently on each device even though they have the same Apple ID Association?
    Thanks

    stereo317 wrote:
    I now have two iPhones (4s & 5s) associated to the same Apple ID. I am giving my wife the 4S.   
    We like different music & apps from one another. Can I manage music & apps independently on each device even though they have the same Apple ID Association?
    Yes, but I highly recommend each have your own, separate AppleID and your own computer login to manage your own data separately.

  • How can I manage six email accounts WITHOUT them all appearing (twice) in the Folders column?

    How can I manage six email accounts WITHOUT them all appearing (twice) in the Folders column?
    All I need is ONE INBOX (like Windows Mail used to do) ...
    I can see in the 'Account' column of each message which email account it's using.
    Then, I either junk or read the message, followed by delete or file to one of my created folders.
    As it is, half my page is depth is taken up by 12 lines of Account names !!!

    That still leaves SIX lines of Account names down the side. All I want is ONE INBOX ... (I can see which account each message belongs to in the 'Account' column...)

  • TS3212 can i manage 2 itunes accounts on one computer

    Can I manage 2 iphones on one laptop?

    Hello wzrdfink,
    Thanks for your post, and welcome to the Apple Support Communities.
    The following article may provide more answers to your questions about using multiple devices with one computer.
    How to use multiple iPhone, iPad, or iPod devices with one computer
    http://support.apple.com/kb/HT1495
    Thanks,
    Matt M.

  • I have several phones on my itunes accousnt how can i manage to see only my information

    I have both my daughter and my sons iphone onmy itunes account.  How can I manage my storage to seeonly my apps and my music?

    I don't believe that there is a way to do that.  I would sugest using automatic downloads to keep your apps synced across both phones.  You might also want to note that just about any app you have ever download will be available for free download via icloud.
    Wish I could be more help.

  • Is there a way I can view/manage devices linked to my iCloud account?

    Is there a way I can view/manage devices linked to my iCloud account? I know how to view the devices linked to my iTunes account, but I am not sure if this is possible to see with an iCloud account.

    You can't, except by seeing if they are using services associated with the account.  You could, for example, launch Find My iPhone on iCloud.com to see what devices appear (which obviously wouldn't show devices not using Find My iPhone).  Similarly, you could go to Settings>iCloud>Storage & Backup>Manage Storage to see what devices appear on the Backups list (which won't show devices not using iCloud backup).

  • Can I manage more than one iTouch from one PC?

    A family member has an iTouch managed with iTunes on PC. Another family member would like an iTouch but does not have a computer.
    Can one manage more than one iTouch from one PC? How? Does one install separate instances of iTunes somehow on the PC for each device?
    There is also the desire to have separate Apple Store accounts for each device. We don't what synced devices.

    *How to use multiple iPods with one computer*
    The Apple support document How to use multiple iPods with one computer suggests a number of ways. I use method two (Sync with selected playlists) with a slight twist. Rather than regular playlists I set the grouping field to indicate which users should receive which tracks and create smart playlists based on the content of this field.
    e.g.
    "Alice's Tracks" is "Grouping contains Alice" + "Kind contains audio"
    "Bob's Videos" is "Grouping contains Bob" + "Kind does not contain audio"
    Tracks that both Alice & Bob want on their iPods have the grouping set to "Alice/Bob"
    etc.
    I currently manage our family's five iPods using this system, each getting a different selection to suit their tastes and the capacity of their iPod. An advantage of using the grouping field is that it is stored in file tags (for non-wav audio files anyway) so that it is relatively easy to recreate the playlists should the iTunes library get trashed. Also useful if you move files about manually as playlist membership is preserved when you delete & re-import the tracks.
    tt2

  • Can I manage my Family Sharing and child's Apple ID from my windows computer?

    I've bought a refurbished iPhone in lieu of new iPod touch for a kid. I've had an iPod classic for some years and have always managed my involvement with apple via iTunes on a windows laptop. I want to set up an "under 13" identity for her and start family sharing, but I've yet to find explicit instructions on exactly how to do this. Any suggestions?
    Thanks.

    This should answer:
    From the family Sharing Page (Family Sharing - Apple Support):
    "You can use Family Sharing on your iPhone, iPad, or iPod touch with iOS 8, your Mac with OS X Yosemite and iTunes 12, or your PC with iCloud for Windows 4.0. To get started, one adult in your household—the family organizer—sets up Family Sharing"
    "iOS 8 and OS X Yosemite are required to set up or join a Family Sharing group and are recommended for full functionality."
    To set it up, go to your iCloud Settings on the iOS 8 device.
    So basically, you can't manage it from your PC; from your PC, you can only access the shared iTunes content and other iCloud shared stuff such as photos, calendar etc.

  • Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself

    Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself

    If you have Pages you can create customs pages for your book as TD suggested. If you have Pages from iWork 09 or 11 this app will add 80 or so additional frames to those offered:  Frames and Strokes Installer. Don't use it on the latest Pages version, however.
    This tutorial shows how to create a custom page with the theme's background: iP11 - Creating a Custom Page, with the Theme's Background for an iPhoto Book.  Once the page is complete to get it into iPhoto as a jpeg file follow these steps:
    Here's how to get any file into iPhoto as a jpeg file:
    1 - open the file in any application that will open it.
    2 - type Command+P to start the print process.
    3  - click on the PDF button and select "Save PDF to iPhoto".
    NOTE:  If you don't have any of those options go to Toad's Cellar and download these two files:
    Save PDF to iPhoto 200 DPI.workflow.zip
    Save PDF to iPhoto 300 DPI.workflow.zip
    Unzip the files and place in the HD/Library/PDF Services folder and reboot.
    4 - select either of the files above (300 dip is used for photos to be included in a book that will be ordered).
    5 - in the window that comes up enter an album name or select an existing album and hit the Continue button.
    That will create a 200 or 300 dpi jpeg file of the item being printed and import it into iPhoto. For books to be printed choose 300 dpi.

  • How can I manage more RAM on my iPod Touch 4G ?

    How can I manage more RAM on my iPod Touch 4G ?
    My iPod Touch 4G used to have 120MB of free RAM, but it suppost to have 256MB of RAM...120MB is totally not enough for the applications and the iOS to run smoothly...my applications always close in a sudden and the iOS is extremely lag...
    I'm thinking is there anyway to manage of free more RAM on my iPod Touch 4G, I wanna free at least to 150MB...
    I've tried iMemoryEnhancer, Mem Tool, Daemon Tools and Memory Free; but none of them work...I've also tried simply click on Free Memory on SBSettings...but all applications came out with the exact same result...120MB...
    My iPod Touch 4G is running on iOS 4.3.1(8G4) and got 277 applications installed with around 10 Cydia tweaks..so please can anybody help me out ?
    TYVM

    try these
    1. quit apps on MT bar
    2. restart your ipod
    also, how many G(or M) have you used in the ipod, and how many G do you have in orginal?
    Calvin

  • How can HelpDesk manage users in multiple Organizations in OIM R2

    Hi All,
    I looking to satisfy a requirement for OIM 11g R2 where a helpdesk administrator can only manage users that belong to a particular institution. However, there are approximately 50% of users that belong to more than one institution, where helpdesk staff from each institution should be able to manage the user. Customer is currently
    doing this in Waveset by assigning users to orgs dynamically through rules which allows multiple virtual orgs. OIM unfortunately has no way to assign a user to multiple orgs, making OOTB authorization management very difficult.
    How can a administrators from different org manage same User. If that user belongs to different org?
    How to achieve this in OIM R2?
    Thanks
    Akshat

    Hi Adr,
    I know the OIM Authorization is around the Organization, and a user can present in only one org in OIM.
    I wanted to know, can we force the authorization based on Department/Institutions rather than Org. I am thinking in reagards of OES Authorization policies.
    OIM unfortunately has no way to assign a user to multiple orgs, making OOTB authorization management slightly difficult.
    I am looking to determine the best approach to accommodate this requirement. Due to the high number of users that reside within multiple institutions, leveraging organizations will not work. Asa far i know OES APM should be able to accommodate this, but could not find any solid guidance in the Oracle training or Oracle by Example documentation.
    Any thoughts?
    -Ak

  • What can i do if i accidentally deleted my iPhoto from my macbook air and the App Store couldn't recognize that i have bought it before and required me to buy it again ... should i buy it again or what ? i can't manage my photos now ...

    what can i do if i accidentally deleted my iPhoto from my macbook air and the App Store couldn't recognize that i have bought it before and required me to buy it again ... should i buy it again or what ? i can't manage my photos now ...

    Log into the app store using the Apple ID you used to set your computer up. Look under purchases. If it is not there you may need to accept it or to unhide it
    LN

  • Can Startup Manager be Chosen with Bluetooth Keyboard on Cold Boot?

    The subject line pretty well sums it up. Can the user hold down the option key while booting a shutdown Mac and get the Startup Manager screen to come up when using Apple's wireless keyboard on a current model iMac? Does the wireless keyboard make "contact" with the iMac soon enough in the boot process to allow this choice to be made?
    Thanks,
    Steve M.

    Hey Steve,
    I am using the "old" white wireless keyboard with my macbook pro and os x sl and I can access the boot options (alt, c, t...) right after a cold start (for bootcamp, i.e.). Your imac should have build-in bluetooth, so I guess it should work. I only heard of problems when using third party products or the old bluetooth adapter from apple.
    The only thing that bugs me is after start up when the login sceen comes up, the connection seems to be lost... so I have to wait like 30 seconds for my keyborad to react (again?). I haven't found a solution for this so far.
    Good luck,
    Fabian

Maybe you are looking for

  • Read data from a text file, one line at a time.

    I need to read data from a text file, and display each line in a String Indicator on Front Panel. It displays each line, but I get Error 4, End Of Line, unless I enter an extra line of data in the file that I don't need. I tried Read From Text File.v

  • Web services - web logic 10.3.3.0 - spring

    I have an application which is implemented with spring and uses web services. I am trying to deploy it on Web Logic 10.3.3.0 but I get the error: :com.sun.xml.bind.v2.runtime.IllegalAnnotationsException:6 counts of IllegalAnnotationExceptions I deplo

  • Retrive User password from an ILoginActions

    Is it possible to obtain the user password used when loggin in the portal implementing a custom ILoginAction? Reference: ILoginActions API http://download.oracle.com/docs/cd/E13158_01/alui/wci/docs103/uiguide/apidocs/java/pei/com/plumtree/uiinfrastru

  • Kerberos-no-logon-server in fim 2010

    Hi, When we run Export run profile of ADMA Management Agent then we get fallowing error kerberos-no-logon-server and all user that provisioned in AD OU in disabled mode and also taking more time for provisioning. please provide any solution. Regards

  • I get message:can't save library file not enough access privileges.Don't understand what this means?

    I get message:"Can't save library file.  Not enough access privileges" .Don't understand what this means. No visible effect that I can see now.