CPC H04L 9/0894 (2013.01) [G06F 8/61 (2013.01); H04L 9/0838 (2013.01); H04L 9/14 (2013.01)] | 17 Claims |
1. An electronic device comprising:
a memory storing instructions and information on applications installed in the electronic device; and
a processor configured to execute the instructions to:
acquire a command for installing a first application signed by a first key,
identify information on the first key within a key storage space stored in the memory of the electronic device, wherein the information on the first key is stored in the key storage space separately from a storage space storing the information on applications,
install the first application in response to determining that the first key is valid based on the identified information, and
prevent installation of the first application in response to determining that the first key is discarded based on the identified information,
wherein, when identifying the information on the first key, the processor is further configured to execute the instructions to:
identify a status flag for the first key among a plurality of keys stored in the key storage space, the status flag indicating whether either the first key is valid or the first key was registered in the key storage space and then discarded.
|