METHOD AND DEVICE FOR VERIFICATION OF CODE MODULE IN VIRTUAL MACHINE
First Claim
1. A method for pre-verification of a code module when the code module is installed or updated in a virtual machine, comprising:
- loading codes in the installed or updated code module;
performing code verification on the codes in the code module;
if the code verification is passed, generating a certificate of the code module; and
storing the code module which passes the code verification and its certificate.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for pre-verification of a code module when the code module is installed or updated in a virtual machine, comprising: loading codes in the installed or updated code module; performing code verification on the codes in the code module; if the code verification is passed, generating a certificate of the code module; and storing the code module passing the code verification and its certificate. The present invention also discloses a method for verification of a code module at runtime of the code module in a virtual machine, comprising loading codes in the code module; generating a certificate of the code module based on the loaded codes; if the generated certificate of the code module and a pre-stored certificate of the code module are identical, verifying the code module to be valid; otherwise performing a pre-verification on the code module.
38 Citations
19 Claims
-
1. A method for pre-verification of a code module when the code module is installed or updated in a virtual machine, comprising:
-
loading codes in the installed or updated code module; performing code verification on the codes in the code module; if the code verification is passed, generating a certificate of the code module; and storing the code module which passes the code verification and its certificate. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for verification of a code module at runtime of the code module in a virtual machine, comprising the steps of:
-
loading codes in the code module; generating a certificate of the code module based on the loaded codes; if the generated certificate of the code module and a pre-stored certificate of the code module are identical, verifying the code module to be valid; and if the generated certificate of the code module and the pre-stored certificate of the code module are not identical, pre-verifying the code module using the method for pre-verification of a code module when the code module is installed or updated in a virtual machine by the steps of; loading codes in the code module; performing code verification on the codes in the code module; if the code verification is passed, generating a certificate of the code module; and storing the code module which passes the code verification and its certificate - View Dependent Claims (9)
-
-
10. A device for pre-verification of a code module when the code module is installed or updated in a virtual machine, comprising:
-
a loader for loading codes in the code module; a code verifier for performing code verification on the codes in the code module; a certificate generator for generating a certificate of the code module which passes the code verification; and a memory for storing the code module which passes the code verification and its certificate. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A device for verification of a code module at runtime of the code module in a virtual machine, comprising:
-
a device for pre-verification of a code module when the code module is installed or updated in a virtual machine comprising; a loader for loading codes in the code module; a code verifier for performing code verification on the codes in the code module; a certificate generator for generating a certificate of the code module which passes the code verification; and a memory for storing the code module which passes the code verification and its certificate; and a certificate verifier for verifying a certificate of the code module generated by the certificate generator according to a certificate of the code module obtained from the memory; wherein when the certificate verifier verifies the code module to be invalid, the code verifier performs the code verification on the codes in the code module.
-
-
18. A virtual machine for running a code module, comprising:
-
a device for verification of a code module at runtime of the code module in a virtual machine a device for pre-verification of a code module when the code module is installed or updated in a virtual machine comprising; a loader for loading codes in the code module; a code verifier for performing code verification on the codes in the code module; a certificate generator for generating a certificate of the code module which passes the code verification; and a memory for storing the code module which passes the code verification and its certificate; and a certificate verifier for verifying a certificate of the code module generated by the certificate generator according to a certificate of the code module obtained from the memory; wherein when the certificate verifier verifies the code module to be invalid, the code verifier performs the code verification on the codes in the code module; and a processing component for running the code module only when the device verifies the code module to be valid.
-
-
19. A program product embodied in a computer readable medium and comprising computer program code for perform method steps for a method for pre-verification of a code module when the code module is installed or updated in a virtual machine, wherein said method comprises:
-
loading codes in the installed or updated code module; performing code verification on the codes in the code module; if the code verification is passed, generating a certificate of the code module; and storing the code module which passes the code verification and its certificate.
-
Specification