How can i change my JAVA card life cycle state to OP_READY?

I found the below script in this link and run it via `GPShell` on my java card and now I can't run `gpj -list` in `GPJ`!
My questions:
1- What is this code for? changing Card Domain Manager status from OP_READY to Secured?
2- Why I can't find anywhere `80F0800708A000000003000000` And `80F0800F08A000000003000000` APDUs that used in script?! I searched `GP Specification 2.2` and `ISO 7814-4` for an APDU with `F0` in `CLA` section! But I found nothing!
3- Is the operation of the below script reversible by another script?
The Script :
    mode_211
    enable_trace
    establish_context
    card_connect
    select -AID A0000000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key
    404142434445464748494a4b4c4d4e4f
    send_apdu -sc 1 -APDU 80F0800708A000000003000000
    send_apdu -sc 1 -APDU 80F0800F08A000000003000000
    card_disconnect
    release_context
And this is it's output in Console :
    C:\Users\ghasemi\Desktop\GPShell-1.4.4>gpshell lcchange.txt
    mode_211
    enable_trace
    establish_context
    card_connect
    select -AID a00000
    Command --> 00A4040003A00000
    Wrapped command --> 00A4040003A00000
    Response <-- 6F108408A000000003000000A5049F6501FF9000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4
    f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4
    d4e4f
    Command --> 80CA006600
    Wrapped command --> 80CA006600
    Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864
    886FC6B03640B06092A864886FC6B040215650B06092B8510864864020103660C060A2B060104012
    A026E01029000
    Command --> 805000000823CE2F4C2B6C689B00
    Wrapped command --> 805000000823CE2F4C2B6C689B00
    Response <-- 0000116001007F8B0AF9020201D1C94E4F787D75DD54805A7488BCF79000
    Command --> 84820100100BCCFE8818D2DFC6E5B48EA4B6892457
    Wrapped command --> 84820100100BCCFE8818D2DFC6E5B48EA4B6892457
    Response <-- 9000
    send_apdu -sc 1 -APDU 80F0800708A000000003000000
    Command --> 80F0800708A000000003000000
    Wrapped command --> 84F0800710A0000000030000007AA29B3A708E6E75
    Response <-- 9000
    send_APDU() returns 0x80209000 (9000: Success. No error.)
    send_apdu -sc 1 -APDU 80F0800F08A000000003000000
    Command --> 80F0800F08A000000003000000
    Wrapped command --> 84F0800F10A0000000030000004FCFC15FD7EBDE9A
    Response <-- 9000
    send_APDU() returns 0x80209000 (9000: Success. No error.)
    card_disconnect
    release_context
Thankyou.

Hi,
Ad.1
Yes, this script is dedicated to change ISD state from OP_READY to SECURED (cards compatible with GP 2.1.1 specs).
Ad.2
The script commands are constructed basing on GP 2.1.1 specs. As far as I know, the definition of SET STATUS command in GP 2.2 is the same as in GP 2.1.1 specs.
Ad. 3
The change of state from SECURED to OP_READY is irreversible. Sorry.
Regards

Similar Messages

  • How can i change my JAVA card life cycle state to secured?

    when I install a applet ,the Card Manager state is OP_READY
    I want to lock the card .now I need to go to the secured status .but what GP command should I send  to transfer the state from OP_READY to secured .

    Thank you for your reply,but you say I must insure that the applet is personalized. I also have anther question for your help.
    when  I already install the applet as follows:
    Card Manager AID   :  A000000003000000
    Card Manager state :  OP_READY
        Application:  SELECTABLE (---L--P-) A0000000000101
        Load File  :      LOADED (--------) A0000000035350   (Security Domain)
         Module    :                        A000000003535041
        Load File  :      LOADED (--------) A000000000   
         Module    :                        A0000000000101
    in order to  personalize,I select the applet  (send 00a4040007A0000000000101) ,then  send personalize commends. now the applet is personalized.
    the next is to change the card manage to SECURED.
    But after  I send   00A4040008A00000000300000000 to select the Card Manager AID,the SET STATUS commend (/send 80f0800708A000000003000000) return "6985"
    where is wrong?
    If I don't select the Card Manager AID, the SET STATUS commend is also wrong because the applet AID  is selected just now.
    cm>  send 00A4040008A00000000300000000
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00          ..............
    (700998 nsec)
    <= 6F 65 84 08 A0 00 00 00 03 00 00 00 A5 59 9F 65    oe...........Y.e
        01 FF 9F 6E 06 47 91 81 07 31 00 73 4A 06 07 2A    ...n.G...1.sJ..*
        86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B    .H..k.`...*.H..k
        02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64    ....c...*.H..k.d
        0B 06 09 2A 86 48 86 FC 6B 04 02 15 65 0B 06 09    ...*.H..k...e...
        2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01    +...Hd...f...+..
        04 01 2A 02 6E 01 02 90 00                         ..*.n....
    Status: No Error
    cm>  /send 80f0800708A000000003000000
    => 80 F0 80 07 08 A0 00 00 00 03 00 00 00             .............
    (696032 nsec)
    <= 69 85          
    thanks.

  • HT1918 How can i change my credit card details on my itunes?

    How can i change my credit card detail on Itunes??????????????????????????/

    On your computer's iTunes you should be able to log into your account via the Store > View My Account menu option, and then on your account's summary screen click the 'Edit' button next to the Payment Information line

  • How can I change my credit card information of my apple ID?

    how can I change my credit card information of my apple ID?

    start itunes on your computer
    click itunes store icon
    click on your appleID should be in the right corner of the top bar
    change credit card info till the cows come home

  • HT201304 How can I change the account card on file to a different card?

    How can I change the account card on file to a different card?

    HT1918 iTunes Store: Changing account information
    Learn how to change your name, billing address, email address, and credit card information for your iTunes Store account.
    Note: If your previous payment method was not accepted, you can edit your payment type or credit card information by following the steps in this article.
    You can change all of your account information from the Apple Account Information page. To get to the Apple Account Information page, follow these instructions:
    Changing your account information using a computer:
    Open iTunes.
    Choose Store > Sign In.
    Enter your Apple ID and password, then click the Sign In button.
    Choose Store > View My Account.
    Enter your account password, and click the View Account button.
      To update your email address, follow these instructions: 
    From the Apple Account Information page, click the Edit button to the right of your Apple ID.
    Enter your new email address into the Email Address field.
    Click the Done button.
      To update your name, billing address, or payment information, follow these instructions: 
    From the Apple Account Information page, click the Edit Payment Information button.
    Edit the information that you would like to change.  Note: The payment methods that the iTunes Store accepts can be found in the payment type section. If you do not want a payment method on your account, select None in the payment type section.
      Click the Done button once you've updated all of your information.
    Changing your account information using an iOS device:
    Tap Settings on the Home screen.
    Tap iTunes & App Stores.
    Tap on your Apple ID. (If you are not signed in, enter your Apple ID and password, and tap Sign In.)
    Tap View Apple ID.
    Enter your Apple ID password.
      To update your email address, follow these instructions: 
    In the Edit section, tap the Apple ID field.
    Tap the Apple ID field.
    Enter the email address that you would like to be your Apple ID.
    Tap the Done button.
      To update your name, billing address, or payment information, follow these instructions: 
    In the Edit section, tap Payment Information.
    Update the information that you want to change.
    Tap the Done button when finished.
    Additional Information  Notes 
    If you use an AOL screen name to sign in to the iTunes Store, editing your information on the Apple Account Information page will not carry over to your AOL account. If you need to update your AOL account information, contact AOL.
    If your account information does not match your credit card, you may get a message stating "The credit card was declined."
    When you update your credit card number or billing address through the iTunes Store, any equivalent information you might use with iCloud, Apple Store online, iPhoto, or Aperture is also updated.
    The iTunes Store will place a minimal authorization hold on your credit card each time that you update your account information (equal to around 1 USD). The authorization hold is not a charge. The authorization hold is placed on your credit card to make sure that the information provided matches the information on file with your financial institution. The authorization hold will not be displayed in your iTunes Store purchase history.
      Important: Information about products not manufactured by Apple is provided for information purposes only and does not constitute Apple’s recommendation or endorsement. Please contact the vendor for additional information.
    Last Modified: Sep 24, 2012

  • Photoshop Photography Program  - How can I change my credit card information?

    I need to change my credit card info to new card.
    I've done everything according to instruction and it brought me to page of
    Photoshop Photography Program
    I clicked on "Manage Plan", but it not giving me option  "Edit Payment Deatails" .
    How can I change my credit card info than?

    Hi,
    Please clear the cookies and browsing history and re-login into your account in a different browser.
    Please check the below link for steps to update your card information,
    url: Manage your membership and payments | Creative Cloud

  • HT5624 How can I change my bank card account

    Please how can I change my bank card on iTunes

    Hello R9pato,
    There are two options to take care of changing the credit card information. One through iTunes and the other is on your iOS device.
    iTunes Store: Changing your payment information
    http://support.apple.com/kb/ht1918
    Changing your payment information using a computer
    Open iTunes.
    Choose Store > Sign In.
    Enter your Apple ID and password and click Sign In.
    Choose Store > View Account.
    Enter your account password and click View Account.
    From the Apple Account Information page, click Edit to the right of Payment Type.
    Note: You can find the payment methods that the iTunes Store accepts in the Payment Type section. If you don't want a payment method on your account, select None in the Payment Type section.
    Click the Done button after you've updated all of your information.
    Changing your payment information using an iOS device 
    Tap Settings on the Home screen.
    Tap iTunes & App Stores.
    Tap your Apple ID. (If you aren't signed in, enter your Apple ID and password and tap Sign In.)
    Tap View Apple ID.
    Enter your Apple ID password.
    In the Edit section, tap Payment Information.
    Update the information that you want to change.
    Tap the Done button when you're finished.
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • HT201303 How can I change my credit card info on iTunes

    How can I change my credit card info on iTunes

    To update your billing address or credit card number, visit:
    iTunes Store: Changing Account Information
    http://support.apple.com/kb/HT1918
    Hope this helps! =D

  • HT201303 How can i change my credit card info. within my Apple ID?

    How can i change my credit card info. within my Apple ID ??

    iTunes Store: Changing Account Information
              http://support.apple.com/kb/HT1918

  • HT204053 How can i change my credit card info for my apple id

    How can i change my credit card info for my apple id

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View My Account (Store > View My Apple ID on iTunes 11) menu option and logging into it.  If you are doing it on your iPhone then you could try tapping on your id in Settings > iTunes & App Stores and selecting 'View Apple ID' on the popup, and try changing it from there

  • HT1918 How can I change my credit card information if I don't have my old Credit Card Information. and I'm using a new computer?

    I recently purchase a new computer and I don't any the information to my old credit card how can I update my credit card information without the old credit card numbers?

    Randeg,
    Updating your payment information on your account is important. We want to make sure everything continues to work great for you. You can find steps to make payments and update your payment info at http://vz.to/1DCttSE!
    AndrewT_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the �Correct Answer� button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • How can I change the tag name in cursor statement?

    Hi
    I have two tables: TableA and TableB. I want generate a XML file using XSU12 from these two tables, the XML structure like:
    <ROWSETA>
    <ROWA num="1">
    <A1></A1>
    <A2></A2>
    <A3>
    <A3_ROW num="1">
    <B1></B1>
    <B2></B2>
    </A3_ROW>
    <A3_ROW num="2">
    <B1></B1>
    <B2></B2>
    </A3_ROW>
    </A3>
    </ROWA>
    </ROWSETA>
    How can I change the tag name and attribute for "A3_ROW"?
    Thanks in advance!
    null

    In short, you can't.
    You can use the column alias as you're already doing to change the name of the "A3" part of "A3_ROW" but you cannot change the "_ROW" part of "A3_ROW". This is added automatically.
    You can combine the results of XSU with an XSLT stylesheet (made very simple if you're using XSU by working with Oracle XSQL Pages) to change the name of any element or completely restructure the XML output into a target XML, HTML, or text format.

  • How can I change my credit card number for my Adobe ID?

    Hello,
    I'd like to change my credit card number, but Adobe site do not allow this.
    Support chat redirected me to a chinese adobe page (I'm from Hungary, can't read Chinese..), then told me to call local reseller support instead.
    Local reseller support told us that they can't support creative cloud members, they are being dealt with centrally by Adobe.
    Back to chat, describing again what I need to a new agent..
    Got the same chinese page from him as well first, then got the same "call local reseller" advice again.
    After telling the agent that does not work, he gave me a phone number to call: 852 2916 2125, which never answers. And the agent dropped off..
    I haven't been so depressed over a customer support for years.
    Can somebody please help me out on how to change my credit card number for my Adobe ID?
    Thanks for any useful help in advance.

    Ok, found a way:  "under the billing section of your subscription within the My Adobe section of Adobe.com after you login with your Adobe ID "
    But after updating my info with my new (working) credit card (matercard) it says:
    There was a problem in the store. If you wish to complete your purchase immediately, please call 800 0280148.
    And this number than answers 'it cannot be accessed'
    I'd need this done immediately, so please anyone - any ideas ?!
    Thanks.

  • HT2534 How can I change my credit card details?

    I would like to change my credit card details. How can I do that?

    Hello there, Berdep.
    The following Knowledge Base article provides information for how to change iCloud account information:
    iCloud storage upgrades and downgrades
    http://support.apple.com/kb/ht4874
    View or change your iCloud account information
    You can view or change your account information, such as your credit card number, billing address, and more.
    iOS
    Go to Settings > iCloud and tap your Apple ID. Then tap Payment or Payment Information, and update your account. You might need to enter your Apple ID password.
    OS X
    Choose Apple () menu > System Preferences, then click iCloud.
    Click Manage in the lower-right corner.
    Click View Account in the lower-left corner.
    Enter the Apple ID password for your account, click View Account, then follow the instructions.
    Windows
    Open iCloud for Windows 4.0 or iCloud Control Panel:
    In Windows 8.1, go to the Start screen, click the down arrow  in the lower-left corner, then click the iCloud app.
    In Windows 8, go to the Start screen and click the iCloud tile.
    In Windows 7 and Vista, choose Start > All Programs > iCloud > iCloud.
    Click Storage if you're using iCloud for Windows 4.0. If you're using an earlier version of iCloud Control Panel, click Manage.
    Click View Account.
    Enter the Apple ID password for your account, click View Account, then follow the instructions.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How can I change my credit card information when I pay my bill?

    I have been trying to add funds to my prepaid phone for four hours now.  I was able get in to pay but on the page where I want to add $100, they have my old credit card info which is expired and I want to put in my new information.  How can I do that please? 

    Randeg,
    Updating your payment information on your account is important. We want to make sure everything continues to work great for you. You can find steps to make payments and update your payment info at http://vz.to/1DCttSE!
    AndrewT_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the �Correct Answer� button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

Maybe you are looking for

  • Hello! I would like to know about unlock my iphone 4? IMEI *** Serial number 87******A4T And what operator it is locked?

    Hello! I would like to know about unlock my iphone 4? IMEI **** Serial number 87******A4T And what operator it is locked? <Edited By Host>

  • Tutorials about WebServices and Java

    I am looking for general info on how to use WebServices in Java. Has anybody have sample Code? I want to implement a WebService that sends large amounts of data to the client. Can a WebService send complex Objects to the client? thx

  • What was the error and how i remove (using Tomcat)

    HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet execution threw an exception root cause javax.xm

  • Duplicate annotation - named query

    Hi, Jdeveloper Studio Edition Version 11.1.2.3.0. I added a named query to EJB bean, but I receive the following message: Error(13,1): duplicate annotation @NamedQueries( { @NamedQuery(name = "MyEntity.test", query = "SELECT /*+ FIRST_ROWS */ DISTINC

  • Number range duplicated

    Dear All, No. range assigned to transaction is over but current no. shows the number between the given no. range. Current no is not getting updated thats why some duplicate no generated. Could you please tell me why current no. is not getting updated