Installing applet in javacard

前端 未结 3 1252
野的像风
野的像风 2021-02-15 22:38

I made a .cap file of the popular \"Hello World\" javacard code via Eclipse

And now I want to load it in a real javacard via GPShell and ACR38 smart card reader.

<
3条回答
  •  醉话见心
    2021-02-15 23:00

    Response code 6A 82 is used for Security_Status_Not_Satisfied.

    On selection of Security Domain, this status word may occur due to one of following two reasons :

    • Either Card Life Cycle State (CLCS) of Card is LOCKED or TERMINATED, so the selection of Security Domain is not allowed, because if the CLCS is LOCKED then only that security domain and/or application can be selected which has Card Lock privilege, and if CLCS is TERMINATED then if a Security Domain has the Final Application privilege only the GET DATA command shall be processed, all other commands shall be disabled and shall return an error.If the CLCS is LOCKED then try to select that security domain and/or application which has Card Lock privilege and try to move Card Life Cycle State (CLCS) to SECURED using SETSTATUS command with the help of SCP session,otherwise if CLCS is TERMINATED then CLCS can't switch back to SECURED, as this state is irreversible.

    • OR the Security Domain, which you try to select is itself in LOCKED state, in this case that Security Domain may be prevented from further selection by the OPEN and error status word is returned.

    @CLCS - Card Life Cycle State.

    Happy to Help.

提交回复
热议问题