Problem in using the install()'s byte array values?

I tried to pass the values to the OwnerPIN object at the time of initialization. But when I try to install the applet I will get 6A80 error code . Can anybody tell me why I am getting this message. And if i use some different data values for pin.update() then I wont come across those error codes
public static void install(byte[] bArray, short bOffset, byte bLength)     {          
          // GP-compliant JavaCard applet registration
          new SampleApp(bArray, (short) (bOffset), bLength);                    
     private SampleApp(byte[] bArray, short bOffset, byte bLength){
          pin = new OwnerPIN(PIN_TRY_LIMIT, MAX_PIN_SIZE);
          pin.update(bArray,bOffset, bLength);          
                register();
cm>  install -i a00000006203010c0601 -l -q C9#(1122331122331122) a00000006203010c06 a00000006203010c0601
=> 80 E6 0C 00 2E 09 A0 00 00 00 62 03 01 0C 06 0A    ..........b.....
    A0 00 00 00 62 03 01 0C 06 01 0A A0 00 00 00 62    ....b..........b
    03 01 0C 06 01 01 10 0A C9 08 11 22 33 11 22 33    ..........."3."3
    11 22 00 00
( 5411 usec)
<= 6A 80

GP 2.1.1, A.2 GlobalPlatform on a Java Card, Installation:
Installation
In Section 3.1 - The Method install of the Java Card� 2.1.1 Runtime Environment (JCRE) Specifications,
the parameters passed to the method are defined to be initialization parameters from the contents of the incoming
byte array parameter.
In the definition of the install method of the Class Applet of the Java Card� 2.1.1 Application Programming
Interface, the install parameters to be supplied must be in the format defined by the applet.
This specification expands on this requirement and further defines the content of the install parameters. This
expansion affects both the implementation of an OPEN and the behavior of a Java Card applet developed for a
GlobalPlatform card. It does not affect the definition of the install method of the Class Applet of the Java
Card� 2.1.1 Application Programming Interface specification.
The install parameters shall identify the following data, present in the INSTALL [for install] command (see
Section 9.5.2.3.2 - Data Field for INSTALL [for install]):
� The instance AID,
� The Application Privileges and,
� The Application Specific Parameters.
[While the APDU command contains install parameters representing TLV coded system and application specific parameters, the
application only requires knowledge of the Application Specific Parameters i.e. only LV of the TLV coded structure �C9� are
present as parameters.]
The OPEN is responsible for ensuring that the parameters (bArray, bOffset and bLength) contain the
following information:
The array, bArray, shall contain the following consecutive LV coded data:
_� Length of the instance AID,_
_� The instance AID,_
_� Length of the Application Privileges,_
_� The Application Privileges,_
_� Length of the Application Specific Parameters and,_
_� The Application Specific Parameters._
The byte, bOffset, shall contain an offset within the array pointing to the length of the instance AID.
The byte, bLength, shall contain a length indicating the total length of the above-defined data in the array.
The applet is required to utilize the instance AID as a parameter when invoking the register (byte []
bArray, short bOffset, byte bLength) method of the Class Applet of the Java Card� 2.1.1
Application Programming Interface specification.

Similar Messages

  • Express Lane advised that I use the Install Disc to fix a problem.  I inserted the disc, pressed C as advised and restarted, nothing comes up, the computer just goes on and off - any advise on starting the laptop and getting the disc out?

    Stuck in restart mode -- Express Lane advised that I use the Install Disc to fix a problem.  I inserted the disc, pressed C as advised and restarted, nothing comes up, the computer just goes on and off - any advise on starting the laptop and getting the disc out?

    You insert the disk and restart while holding down the 'c' key until you see the apple and spinning cog. Is that precisely what you did?

  • I am using OS X and am trying to set up a HP ENVY 5660 e printer and the drivers are not listed.  I read somewhere not to use the install disk.  What do I do?

    I am using OS X and am trying to set up a HP ENVY 5660 e printer and the drivers are not listed.  I read somewhere not to use the install disk.  What do I do?

    Your suggestion was a good one and what I found was that to use this and any other printer I looked at is that I need to update the operating system to a later version.  I have been reluctant in the past to do this after reading update horror stories and since this computer does what I need and very well.  Was glad I moved over from windows and this is the first problem I have had.  Thanks for your help and any other suggestions you may have.

  • Can I use the install disk on two computers?

    I haven't actually installed it on my computer yet, I just allowed whatever was going to install itself to come up. If I have another computer, can I use the install disk to put OSX on there or not? If so, can I still use it in case I need a backup load of my computer?

    Only if you get a family pack license newer than the installer disk which came with the computer(s) can you install it on multiple computers. Check your license agreement.
    You can't use the disks which came with another computer on a second computer. These articles explain more along those lines:
    http://docs.info.apple.com/article.html?artnum=25517
    http://docs.info.apple.com/article.html?artnum=25784
    As for backup, I recommend looking at these various procedures:
    http://www.macmaps.com/backup.html
    Disclaimer: Reference to links I make to my Macmaps.com website are a for your information only type reference. I do not get any profit from this page, and it is open to the public.

  • What are the steps to make it seamless for a customer to use the install program and then use the installed program?

    I wrote an install program (.exe) that is downloaded from a website.  When run, it 1) leads a customer to browse to a directory, and 2) copies files (.exe, .dll, etc.) from a website to that directory.  When I run, the installed program works.
    What are the steps to make it seamless for a customer to use the install program and then use the installed program? 
    bhs67

    This site https://msdn.microsoft.com/en-us/library/vstudio/2kt85ked%28v=vs.110%29.aspx provides a basic description of the Visual Studio Windows Installer. 
    Near the bottom of the page is "You can unlock all the features of InstallShield by paying to upgrade to the full version of InstallShield."  Where do I find info that describes the differences between the "free" and the "full"
    versions?
    bhs67
    Hello,
    The default feature does support the task for your requirement, so there is no need to pay for the other features unless you want to use some feature which is not free.
    In addition, as this thread
    InstallShield LE not available with VS 2012 RTM? shared, even through there is a link to InstallShield LE in the New Project dialog under Deployment solutions, but it belongs to third-party that I would recommend you consider posting this issue
    at the following forum to get supports about InstallShield.
    http://community.flexerasoftware.com/forumdisplay.php?133-InstallShield
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I think my hard drive crashed. How can I get data off via firewire before the HD completely goes? I was stuck on the BSoD and now I can't even use the install disk. Utility Disk said HD was okay. Please HELP ME

    Safe mode did nothing.
    Safe mode with verbose seemed to make it worse.
    Before continuously trying new things, I could use the install disk to check the disk utility and clear
    the hard drive from there but now the screen won't even load to that.
    I really need the data on the hard drive especially if it can't be salvaged.
    How can i transfer files?
    Am I better off physically taking my HD out or will it damage itself without
    leaving the system.
    I tried command r
    resetting the pram
    safe mode
    jumping out a window
    nothing has helped.
    I am stuck on the blue screen of death and it flickers.

    No. In order to use FireWire Target Disk Mode you need to use a FireWire equipped Mac. Other than that the only other way I can think of to even attempt to access you files would be to remove your hard drive and install it in a case and connect it to another computer.
    Have you run the Apple Hardware Test? http://support.apple.com/kb/HT1509

  • If we bought a mac with OS X 10.6.6 and my sister has a mac with 10.5.8, can we use the install DVD to put snow leopard on hers? Is it legal? Does it erase everything?

    If we bought a mac with OS X 10.6.6 and my sister has a mac with OS X 10.5.8, can we use the install DVD that came with the newer one to put OS X 10.6.6 on hers? Would it work? Does it erase everything? Is that even legal?
    Thank you for any help!

    It won't work.
    (58814)

  • I am having problem with using the Basic brush definition

    I am having problem with using the Basic brush definition. When I try to click on it will not allow me to use it and will automatically use the 5 pt. oval brush definition. The only way I can use the basic brush is after I have already drawn something and then I have to click on the stroke and then press basic. This is incredibly annoying and if anyone could help I would greatly appreciate it. (I have Adobe CS6)

    for whatever reason, the basic 'brush' you see in the brushes palette effectively means removing any brush from a path. to draw with the brush tool you need a brush defined. in your case the last one selected being the 5 pt oval one.

  • Ipad 3 charger problem im using the original charger and it say is not apropiet for device.this problem star today. :/

    ipad 3 charger problem im using the original charger and it say is not apropiet for device.this problem star today. :/

    Take it to an Apple Store for evaluation and possible replacement.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
     Cheers, Tom

  • I have problems when using the camera on my iPhone 4S (the same for my daughter with a iPhone4) A veil around the blurred photo, a development impossible and completely unable to read the bar code or QR code. What to do?

    I have problems when using the camera on my iPhone 4S (the same for my daughter with a iPhone4)
    A veil around the blurred photo, a development impossible and completely unable to read the bar code or QR code. What to do?

    Sounds kind of stupid, but check to make sure that your iphone case cover is not blocking the edge of the camera lens.  I had a silicone case on my 3S and when it got older, it started tot slip and the edges of my pictures were blurred.

  • Need to figure out how to remove an unknown admin password on a mac.  used the install disc with not luck. tried some commands in single user mode, no luck.

    need to figure out how to remove an unknown admin password on a mac.
    used the install disc with not luck. tried some commands in single user mode, no luck.

    need to figure out how to remove an unknown admin password on a mac.
    used the install disc with not luck. tried some commands in single user mode, no luck.

  • Can I restore just one app. using the Install disc, or must all items be restored?

    Can I selectively restore just one app. using the Install disc, or will all items be automatically restored?

    Thanks BDAqua;
    This is my first time using the forums, so I am not certain about protocol. However, your quick reply is appreciated.
    miltc
    BDAqua wrote:
    Hi , and a warm welcome to the forums!
    Get Pacifist...
    http://www.charlessoft.com/
    then extract/install what you need from your Install Disc.

  • We encountered a problem during use the Configtool access JAVA engine.

    We encountered a problem during use the Configtool access JAVA engine.
    Our environment of system as below:
    HardWard: IBM i570
    OS: IBM as/400 V5E3
    DB: DB2/400
    Application system:SAP XI 3.0
    The problem we encountered as below:
    Our company used XI 3.0 SR1 for exchange data between SAP R/3 and no-sap system.For now,we wanna create a backup system(for
    offline recovery),so we backup the XI product system throught entiry system save in AS/400(we stopped the XI system before
    save process start).And following,we restored from the tape that we save from XI product system to the new backup system(they
    are whole different paratition),but the problem is coming.Describe as following item:
    1. The application seem to can be started but the java node always restart circularly(We have 4 java node now),I think
    because of different of hardware configure(between XI product and Backup system) and lack of hardware resource.(XI prduction
    have 5 CPUs and 22G Mem,Backup system have 2 CPUs and 16G MEM ).Therefore we wanna decrease the number of java nodes for
    start application in backup system(throught configtool).
    2. We wanna use configtool to decrease the java nodes for start backup system.But we encountered a problem during running the
    configtool ,the information of prompt dialog as following:
    Error occurred while working with Configuration (Scanning).
    Msg:Error while connecting to DB.
    We also see the system.log that below the directory of usr\sap\PXI\DVEBMGS00\j2ee\configtool,and found some error as
    following text:
    #1.5#C0000A0008A8000000000000017A906E000423BFFC7246E0#1165207387826#/System/Configuration/Logging##com.sap.tc.logging.APILogg
    er.LogController[addLog()]#######Thread[main,5,main]##0#0#Info##Java#TC_LOGGING_CONFIGURATION_NEW_ITEMS
    [C0000A305666000000000002018FB1F70003D67C779ECE88]##The () has been added to the !#3#Log#.
    system.log#/System#
    #1.5#C0000A0008A8000000000001017A906E000423BFFC73A670#1165207388006#/System/Server##com.sap.engine.core.configuration#######T
    hread[main,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###ConfigurationManager: found jar for secure store
    Z:
    sapmnt
    PXI
    global
    security
    lib
    tools
    iaik_jce_export.jar#
    #1.5#C0000A0008A8000000000002017A906E000423BFFC73CD80#1165207388016#/System/Server##com.sap.engine.core.configuration#######T
    hread[main,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###ConfigurationManager: found jar for secure store
    Z:
    sapmnt
    PXI
    global
    security
    lib
    tools
    iaik_jsse.jar#
    #1.5#C0000A0008A8000000000003017A906E000423BFFC73CD80#1165207388016#/System/Server##com.sap.engine.core.configuration#######T
    hread[main,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###ConfigurationManager: found jar for secure store
    Z:
    sapmnt
    PXI
    global
    security
    lib
    tools
    iaik_smime.jar#
    #1.5#C0000A0008A8000000000004017A906E000423BFFC73CD80#1165207388016#/System/Server##com.sap.engine.core.configuration#######T
    hread[main,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###ConfigurationManager: found jar for secure store
    Z:
    sapmnt
    PXI
    global
    security
    lib
    tools
    iaik_ssl.jar#
    #1.5#C0000A0008A8000000000005017A906E000423BFFC73CD80#1165207388016#/System/Server##com.sap.engine.core.configuration#######T
    hread[main,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###ConfigurationManager: found jar for secure store
    Z:
    sapmnt
    PXI
    global
    security
    lib
    tools
    w3c_http.jar#
    #1.5#C0000A0008A8000000000006017A906E000423BFFC9C25A0#1165207390660#/System/Configuration/Logging##com.sap.tc.logging.APILogg
    er.LogController[setResourceBundleName(String resourceBundleName)]#######Thread[main,5,main]
    ##0#0#Info##Java#TC_LOGGING_CONFIGURATION_IS_CHANGED[C0000A305666000000000000018FB1F70003D67C779CD2B8]##The for the
    has been changed from to )!#5#resource bundle
    name#LogController#com.sap.security.core.server.secstorefs.SecStoreFS#<null>#com.sap.security.core.server.secstorefs.SecStore
    FSResources#
    #1.5#C0000A0008A8000000000007017A906E000423BFFC9C4CB0#1165207390670#/System/Configuration/Logging##com.sap.tc.logging.APILogg
    er.LogController[setResourceBundleName(String resourceBundleName)]#######Thread[main,5,main]
    ##0#0#Info##Java#TC_LOGGING_CONFIGURATION_IS_CHANGED[C0000A305666000000000000018FB1F70003D67C779CD2B8]##The for the
    has been changed from to )!#5#resource bundle
    name#LogController#/System/Security/SecStoreFS#<null>#com.sap.security.core.server.secstorefs.SecStoreFSResources#
    #1.5#C0000A0008A8000000000008017A906E000423BFFCAC7D38#1165207391731#/System/Server##com.sap.engine.core.configuration#######T
    hread[main,5,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###OpenSQLDataSource successfully created with secure
    store.#
    #1.5#C0000A0008A8000000000009017A906E000423BFFCDA3070#1165207394726#/System/Configuration/Logging##com.sap.tc.logging.APILogg
    er.LogController[setResourceBundleName(String resourceBundleName)]#######Thread[main,5,main]
    ##0#0#Info##Java#TC_LOGGING_CONFIGURATION_IS_CHANGED[C0000A305666000000000000018FB1F70003D67C779CD2B8]##The for the
    has been changed from to )!#5#resource bundle
    name#LogController#/System/Database/sql/jdbc#<null>#com.sap.sql.log.OpenSQLResourceBundle#
    #1.5#C0000A0008A800000000000A017A906E000423BFFCDB41E0#1165207394796#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnect
    ionFactory#######Thread[main,5,main]
    ##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error
    occurred on connection : code={0,number,integer}, state="", message="".#5#-99999#08001#The application requester
    cannot establish the connection. (XIPRD)#jdbc:as400://XIPRD/SAPPXIDB;transaction isolation=read uncommitted;data
    truncation=true;date format=jis;time format=jis;sort=hex;hold input locators=true;hold statements=true;cursor
    hold=false#<null>#
    The "SQL error occurred on connection"  happened during start run configtool.
    We don't know how to solve this problem.
    Thanks

    I am unable to start my configtool.bat to administer JVM memory settings for my J2EE.
    Wait......
    Thanks

  • There is a problem with using the new Hotmail attachment buttons with firefox 3.6.8

    I use firefox 3.6.8 browser and was unable to use the new attach file buttons in the newest version of hotmail. .
    I sent a help request to microsoft and got back a 'generic' answer that the new hotmail works with all browers; ie, safari, chrome and firefox 3.0+.
    Well, that is not exactly true. Because I then troubleshot the problem by opening hotmail in ie vice firefox I was able to attach multiple files (pics/documents) with no problem.
    I then went back to firefox and still had the same problem.
    The mouse pointer just hovers over each icon where there should be a button and no clicking is there to be clicked....so, there is no way to attach.
    hopefully you'll get it worked out soon.
    regards, rob N

    Although possibly not related to your problem, I have to remind you that the version of Firefox you are using at the moment has been discontinued and is no longer supported. On top of this, it has known unpatched bugs and security problems. I urge you to update to the latest version of Firefox, for maximum security, stability, performance and usability. You can get it for free, as always, at [http://www.getfirefox.com getfirefox.com].
    As for your problem, hopefully this support article is what you need:
    http://support.mozilla.com/en-US/kb/Websites+look+wrong
    In any case, it's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] (don't forget to select ''Disable all add-ons'' when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and themes and [https://support.mozilla.com/en-US/kb/Troubleshooting+plugins this one] for plugins.
    If you need support for one of your add-ons, you'll have to contact its author.
    If the problem does not disappear when all add-ons are disabled, please tell me, so we can work from there. Please have no fear of following my instructions to the line, as all can be easily undone.

  • How do I use the installed add-on CacheViewer?

    I have downloaded and installed CacheViewer 0.7.6. It is visible in my Add-Ons Manager, but I don't know how to actually use it to view objects cached by Firefox. I finally figured out how to use the about:cache function and I think the above add-on will be helpful once I know how to use.
    I'm using the latest version of Firefox on a Windows 8 PC.
    Thank you… I'm learning, or relearning, that it hurts to be stupid : (

    I found this;
    '''''[https://addons.mozilla.org/en-US/firefox/addon/cacheviewer-fx/?src=search CacheViewer Fx21]'''''<BR><BR>
    '''''[https://addons.mozilla.org/en-US/firefox/addon/cacheviewer2/?src=search CacheViewer2]'''''<BR><BR>
    Neither have instructions, but do have support links.

Maybe you are looking for

  • Not able to find Source System in BI 7......

    Hi All, I am working on BI 7 I am exctracting the data from Flat File Source System like SMID(Characterstic) and PQTY,SALE,PROFIT as a KeyFigures I have taken SMID as Characterstic and PQTY,SALE,PROFIT as a KeyFigures.. I hav created InfoObject Catal

  • Solution to Closed-Clamshell Mode in Lion

    Hello all! Lion has changed to default behavior of the internal screen from the old functionality in Snow Leopard. Previously, in SL (Snow Leopard), a Mac with an internal screen could be connected to external mouse, display, and keyboard and be ran

  • Adobe digital edition 2.0 not openned in noraml mode

    Hello All, I am using windows xp sp-2 and i installed the adobe digital edition 2.0 the software requires the below application 1. windows installer 3.1 2 Dot net frame work 3.5 Sp1 we have installed the above software in my system but when i open th

  • I can't believe the customer service

    I was with at&t for years and I left because I thought it would be cheaper through verizon. I was soooo wrong and if I had known that I would converse with someone like Kenya a manager from verizon finance is extremely rude.I tried to talk with her a

  • Australia (East) hosted websites keep reporting they are not available

    Hey People, anyone else having fun with Azure websites hosted in Australia?  In particular the Sydney (East) datacentre? I've been creating and destroying Azure websites today, testing various things with the different CMS platforms.  But this aftern