摘要 |
A method for secure execution of an entrusted management command. The method comprises: when an entrusted management command is received by a slave security domain, same parses the command, acquires a predetermined byte in the command, a token length, and a token, and transmits to a master security domain; when data is received by the master security domain, same checks a lifecycle status of the master security domain, a lifecycle status and a permission of the slave security domain, verifies the token when all checks are successful, and returns a status code to the slave security domain; and, the slave security domain determines the received status code, and if same is a predetermined status code, then executes an entrusted management operation. The present invention allows for determination of the validity of an entrusted management command, and further allows for prevention of an invalid entrusted management command from being executed, thus ensuring the security of data in a Java card. |