A license authorization method and system based on hardware trusted trust chain
By managing the private keys and certificates authorized by the License in a hardware encryption machine and a trusted hardware environment, the problems of insufficient private key management security and key management complexity in the existing technology are solved, and the high security and complexity of the License authorization are achieved. Low cost management.
Patent Information
- Application Number
- CN202211114049.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-09-14
AI Technical Summary
Existing license authorization technology has shortcomings in private key management and security, especially the high cost and management difficulty caused by limited operating system security and complexity of key management.
Adopting a method based on hardware trusted trust chain, the private key and certificate are managed in the hardware encryption machine through the root certificate. All encryption and signature verification activities are performed in the hardware encryption machine or trusted hardware environment to avoid private key leakage and tampering. And reduce the number of keys and management costs on the server side through certificate chain management.
It achieves absolute security on the License authorization server and client, reduces the complexity and cost of private key management, and improves overall security and management efficiency.
Smart Images

Figure CN115484094B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of license authorization, and in particular to a license authorization method and system based on hardware trusted trust chain. Background Art
[0002] When authorizing a license, an asymmetric encryption signature mechanism is usually used to ensure the integrity of the license authorization file. By creating a public-private key pair in advance and embedding the public key (certificate) and private key in the client and server, the data encrypted or signed by the public key (certificate) / private key can only be decrypted or verified by the paired private key / public key (certificate), thereby ensuring the security and reliability of the license authorization content. In order to achieve two-way authentication, it is usually necessary to apply for two sets of public-private keys, embed a private key and the public key corresponding to the peer private key in the authorization client and server. The client private key is used to encrypt and sign the customer environment information, and the server private key is used to encrypt and sign the license authorization content. When a license needs to be issued, first obtain the client environment information and use the client private key to perform encryption / signing. Get the environment information or application authorization information to the server. After decryption verification is passed using the client public key stored on the server, the server uses the license authorization private key to encrypt and sign the authorization information. The encrypted and signed authorization information is then imported to the client, and the client uses the license authorization public key stored locally to decrypt and verify the signature. After passing, the authorization content is considered legal and the information is complete and has not been tampered with. The above method has the following problems:
[0003] 1. When the private key is stored in software, the security is limited by the security of the operating system. When the operating system is hacked or destroyed, there is a risk that the private key will be stolen or even tampered with. Storing the private key in hardware media such as TPM / TPCM can improve data security, but signing / verifying and encryption and decryption are usually performed in memory, so there is still a possibility that the data will be stolen or even tampered with.
[0004] 2. Since the client needs to have a built-in public and private key pair, when there are many product sales entities, the server needs to record the mapping relationship between a large number of product public keys and product instances, which greatly increases the management difficulty and cost of the server. When the key pair needs to be replaced due to key leakage, regular updates, etc., it must be replaced on both the client and the server. When the number of product releases is large, the difficulty of replacement will be very high.
[0005] Therefore, how to improve the security and management efficiency of license authorization and reduce the cost of license authorization has become a technical problem that needs to be solved urgently. Summary of the invention
[0006] In view of this, in order to overcome the deficiencies of the prior art, the present invention provides a license authorization method and system based on a hardware trusted trust chain.
[0007] On the one hand, the present invention provides a license authorization method based on hardware trusted trust chain, comprising:
[0008] Step S1: Generate a client private key and a client certificate on the client through the root certificate, and generate a product private key and a product certificate on the server;
[0009] Step S2: Sign and encrypt the client environment information using the client private key;
[0010] Step S3: Generate an authorization file according to the authorization content and client environment information;
[0011] Step S4: Import the authorization file through the legal product certificate and provide services externally through the interface.
[0012] Furthermore, step S1 of the license authorization method based on hardware trusted trust chain of the present invention includes:
[0013] Step S11: issuing a root certificate according to the system initialization request, and storing the root certificate in the server and the client respectively;
[0014] Step S12: Generate a client private key and a client certificate through the root certificate of the client, and store the generated client private key and client certificate in a trusted hardware environment of the client;
[0015] Step S13: Generate a product private key and a product certificate through the root certificate of the server according to the product creation request, and store the generated product private key and product certificate in the hardware encryption machine of the server.
[0016] Furthermore, step S2 of the license authorization method based on the hardware trusted trust chain of the present invention includes: signing and encrypting the client environment information by using the client private key stored in the trusted hardware environment, and placing the client certificate in the signed and encrypted client environment information.
[0017] Furthermore, step S3 of the license authorization method based on hardware trusted trust chain of the present invention includes:
[0018] Step S31: according to the authorization application request, the product private key is used to sign the authorization content to generate signature authorization information;
[0019] Step S32: Obtain client environment information and verify the validity of the client certificate in the client environment information;
[0020] Step S33: using the verified client certificate to verify and decrypt the client environment information;
[0021] Step S34: placing the product certificate and the client environment information after signature verification and decryption into the signature authorization information to form authorization data;
[0022] Step S35: Encrypt the authorization data in step S34 to generate an authorization file.
[0023] Furthermore, step S4 of the license authorization method based on hardware trusted trust chain of the present invention includes:
[0024] Step S41: Verify the legitimacy of the product certificate in the authorization file through the root certificate stored in the client;
[0025] Step S42: Using the verified product certificate to verify and decrypt the authorization document;
[0026] Step S43: Verify the client environment information and format the signature authorization information at the same time, and provide information query services externally through the interface.
[0027] On the other hand, the present invention provides a license authorization system based on hardware trusted trust chain, comprising:
[0028] The license authorization server is composed of a product management module, a server authorization management module and a hardware encryption machine, wherein the product management module is composed of a system initialization unit, a product creation unit and an authorization application unit; the server authorization management module is composed of an authorization information signature unit, a client certificate verification unit, an environment information verification unit and an authorization information encryption unit; the hardware encryption machine is used to issue a root certificate according to a system initialization request, store the root certificate on the server and the client respectively, generate a client private key and a client certificate through the client's root certificate, store the generated client private key and client certificate in the client's trusted hardware environment module, generate and store a product private key and a product certificate through the server's root certificate according to a product creation request, and provide an API interface to the server authorization management module, so that the server authorization management module completes the authorization information signature, client certificate verification, environment information verification and authorization information encryption in the encryption machine through the API interface;
[0029] The license authorization client is composed of a client authorization management module and a trusted hardware environment module, wherein the client authorization management module is composed of an environment information signature encryption unit, an authorization information verification and decryption unit, an authorization information formatting unit and an authorization information interface unit; the trusted hardware environment module is used to store the client private key and client certificate, and provide an API interface to the client authorization management module, so that the client authorization management module can complete the environment information signature encryption, authorization information verification and decryption, authorization information formatting and authorization information interface provision in the trusted hardware environment module.
[0030] Furthermore, in the product management module of the license authorization system based on the hardware trusted trust chain of the present invention, the system initialization unit is used to send a system initialization request, the product creation unit is used to send a product creation request, and the authorization application unit is used to send an authorization application request.
[0031] Furthermore, in the server-side authorization management module of the License authorization system based on the hardware trusted trust chain of the present invention, the authorization information signing unit is used to sign the authorization content with the product private key according to the authorization application request to generate signed authorization information; the client certificate verification unit is used to verify the validity of the client certificate in the client environment information; the environment information verification unit is used to obtain the client environment information, and use the verified client certificate to verify and decrypt the client environment information; the authorization information encryption unit is used to place the product certificate and the client environment information after verification and decryption in the signed authorization information to form authorization data, encrypt the authorization data, and generate an authorization file.
[0032] Furthermore, in the client authorization management module of the License authorization system based on the hardware trusted trust chain of the present invention, the environment information signature encryption unit is used to sign and encrypt the client environment information through the client private key stored in the hardware system, and place the client certificate in the signed and encrypted client environment information; the authorization information verification and decryption unit is used to verify the legitimacy of the product certificate in the authorization file through the root certificate stored in the client, and use the verified product certificate to verify and decrypt the authorization file; the authorization information formatting unit is used to verify the client environment information and format the signed authorization information; the authorization information interface unit is used to provide information query services to the outside through an interface.
[0033] Finally, the present invention also provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the steps of the method are implemented when the processor executes the program.
[0034] The license authorization method and system based on hardware trusted trust chain of the present invention have the following beneficial effects:
[0035] 1. Use a hardware encryption machine to manage the root certificate and the product private key of each product. All encryption and signature verification actions are performed in the hardware encryption machine, and the private key does not leave the hardware encryption machine, ensuring the absolute security of the license authorization server.
[0036] 2. The license root certificate and client private key are stored in the trusted hardware environment module. All encryption and signature verification processes are performed in the client trusted hardware environment module. The private key is not passed to the software system (memory), ensuring that the certificate used in the client environment cannot be replaced and the private key cannot be stolen or tampered with, thereby ensuring the absolute security of the license authorization client.
[0037] 3. Use certificate chains to manage the private keys and certificates used by all license authorization servers and authorized clients, which greatly reduces the number of product private keys that need to be maintained on the server without reducing security, thereby reducing the cost of license issuance. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 The figure is a flowchart of a license authorization method based on a hardware trusted trust chain according to the first exemplary embodiment of the present invention.
[0040] Figure 2 The figure is a flowchart of a license authorization method based on a hardware trusted trust chain according to an exemplary second embodiment of the present invention.
[0041] Figure 3 This is a flowchart of a license authorization method based on a hardware trusted trust chain according to an exemplary third embodiment of the present invention.
[0042] Figure 4 This is a flowchart of a license authorization method based on a hardware trusted trust chain according to an exemplary fourth embodiment of the present invention.
[0043] Figure 5 This is an architecture diagram of a license authorization system based on a hardware trusted trust chain according to the fourth exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0044] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0045] It should be noted that the following embodiments and features in the embodiments may be combined with each other in the absence of conflict; and, based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making any creative work are within the scope of protection of the present disclosure.
[0046] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.
[0047] The technical principles of this application are as follows:
[0048] A hardware encryption machine is used to manage the root certificate and the private key of each product. All encryption and signature verification actions are performed in the hardware encryption machine, and the private key does not leave the hardware encryption machine, ensuring the absolute security of the license authorization server.
[0049] The license root certificate and client private key are stored in a trusted hardware environment module such as TPM / TPCM / TEE. All encryption and signature verification processes are performed in the client trusted hardware environment module. The private key is not passed to the software system (memory), ensuring that the certificate used in the client environment cannot be replaced and the private key cannot be stolen or tampered with, thereby ensuring the absolute security of the license authorization client.
[0050] The certificate chain is used to manage the private keys and certificates used by all license authorization servers and authorized clients. This greatly reduces the number of product private keys that the server needs to maintain without reducing security, thereby reducing the cost of license issuance. For example, the system can allocate a set of license authorization private key certificates for each product version, and a set of client private keys and client certificates for each version or even each sales entity. The license authorization server does not need to record the client's private key and certificate. When verifying the client's encrypted information, it only needs to use the root certificate to verify the trust chain of the certificate provided by the client along with the ciphertext to verify the legitimacy of the client. The license authorization server can replace the product private key independently, and the client does not need to be updated; when the authorization client updates the built-in client private key, the license authorization server does not need to be aware of it.
[0051] Figure 1 FIG. 1 is a flowchart of a license authorization method based on a hardware trusted trust chain according to an exemplary first embodiment of the present invention. Figure 1 As shown, the method of this embodiment includes:
[0052] Step S1: Generate a client private key and a client certificate on the client through the root certificate, and generate a product private key and a product certificate on the server;
[0053] Step S2: Sign and encrypt the client environment information using the client private key;
[0054] Step S3: Generate an authorization file according to the authorization content and client environment information;
[0055] Step S4: Import the authorization file through the legal product certificate and provide services externally through the interface.
[0056] Step S2 in the license authorization method based on the hardware trusted trust chain of this embodiment includes: signing and encrypting the client environment information by using the client private key stored in the trusted hardware environment, placing the client certificate in the signed and encrypted client environment information, and providing the signed and encrypted environment information together with the client certificate to the server.
[0057] Figure 2 is a flowchart of a license authorization method based on a hardware trusted trust chain according to an exemplary second embodiment of the present invention. Figure 1 The preferred embodiment of the method shown is as follows Figure 2 As shown, step S1 of the method of this embodiment includes:
[0058] Step S11: issuing a root certificate according to the system initialization request, and storing the root certificate in the server and the client respectively;
[0059] Step S12: Generate a client private key and a client certificate through the root certificate of the client, and store the generated client private key and client certificate in a trusted hardware environment of the client;
[0060] Step S13: Generate a product private key and a product certificate through the root certificate of the server according to the product creation request, and store the generated product private key and product certificate in the hardware encryption machine of the server.
[0061] Figure 3 is a flowchart of a license authorization method based on a hardware trusted trust chain according to an exemplary third embodiment of the present invention. Figure 1 The preferred embodiment of the method shown is as follows Figure 3 As shown, step S3 of the method of this embodiment includes:
[0062] Step S31: according to the authorization application request, the product private key is used to sign the authorization content to generate signature authorization information;
[0063] Step S32: Obtain client environment information and verify the validity of the client certificate in the client environment information;
[0064] Step S33: using the verified client certificate to verify and decrypt the client environment information;
[0065] Step S34: placing the product certificate and the client environment information after signature verification and decryption into the signature authorization information to form authorization data;
[0066] Step S35: Encrypt the authorization data in step S34 to generate an authorization file.
[0067] In this embodiment, the root certificate is used to verify the trust chain of the client certificate, and the verified client certificate is used to verify the signature and decrypt the client environment information. Therefore, the server does not need to record the product private key information assigned to the product, and the root certificate can be used to verify the legitimacy of the product's built-in certificate. The license authorization content is signed using the license authorization private key generated by the root certificate private key, and the product certificate is provided to the authorized client along with the license authorization file.
[0068] Figure 4 is a flowchart of a license authorization method based on a hardware trusted trust chain according to an exemplary fourth embodiment of the present invention. Figure 1 The preferred embodiment of the method shown is as follows Figure 4 As shown, step S4 of the method of this embodiment includes:
[0069] Step S41: Verify the legitimacy of the product certificate in the authorization file through the root certificate stored in the client;
[0070] Step S42: Using the verified product certificate to verify and decrypt the authorization document;
[0071] Step S43: Verify the client environment information and format the signature authorization information at the same time, and provide information query services externally through the interface.
[0072] In this embodiment, the client verifies the legitimacy of the trust chain of the secondary certificate through the root certificate stored in the trusted hardware environment. The secondary certificate is used as a product certificate, and the CN field is filled with the product ID. When the client verifies the legitimacy of the product certificate, it is necessary to additionally verify whether the CN of the product certificate is the same as the product ID. When the product certificate is credible, the product certificate is used to verify and decrypt the license authorization content.
[0073] Figure 5 A license authorization system based on hardware trusted trust chain according to an exemplary fifth embodiment of the present invention is shown in FIG. Figure 5 As shown, the system of this embodiment includes:
[0074] The license authorization server is composed of a product management module, a server authorization management module and a hardware encryption machine, wherein the product management module is composed of a system initialization unit, a product creation unit and an authorization application unit; the server authorization management module is composed of an authorization information signature unit, a client certificate verification unit, an environment information verification unit and an authorization information encryption unit; the hardware encryption machine is used to issue a root certificate according to a system initialization request, store the root certificate on the server and the client respectively, generate a client private key and a client certificate through the client's root certificate, store the generated client private key and client certificate in the client's trusted hardware environment module, generate and store a product private key and a product certificate through the server's root certificate according to a product creation request, and provide an API interface to the server authorization management module, so that the server authorization management module completes the authorization information signature, client certificate verification, environment information verification and authorization information encryption in the encryption machine through the API interface;
[0075] The license authorization client is composed of a client authorization management module and a trusted hardware environment module, wherein the client authorization management module is composed of an environment information signature encryption unit, an authorization information verification and decryption unit, an authorization information formatting unit and an authorization information interface unit; the trusted hardware environment module is used to store the client private key and client certificate, and provide an API interface to the client authorization management module, so that the client authorization management module can complete the environment information signature encryption, authorization information verification and decryption, authorization information formatting and authorization information interface provision in the trusted hardware environment module.
[0076] In the product management module of the license authorization system based on the hardware trusted trust chain in this embodiment, the system initialization unit is used to send a system initialization request, the product creation unit is used to send a product creation request, and the authorization application unit is used to send an authorization application request.
[0077] In the server-side authorization management module of the license authorization system based on the hardware trusted trust chain of this embodiment, the authorization information signing unit is used to sign the authorization content with the product private key according to the authorization application request to generate signed authorization information; the client certificate verification unit is used to verify the validity of the client certificate in the client environment information; the environment information verification unit is used to obtain the client environment information, and use the verified client certificate to verify and decrypt the client environment information; the authorization information encryption unit is used to place the product certificate and the client environment information after verification and decryption in the signed authorization information to form authorization data, encrypt the authorization data, and generate an authorization file.
[0078] In the client authorization management module of the license authorization system based on the hardware trusted trust chain of this embodiment, the environment information signature encryption unit is used to sign and encrypt the client environment information through the client private key stored in the hardware system, and place the client certificate in the signed and encrypted client environment information; the authorization information verification and decryption unit is used to verify the legitimacy of the product certificate in the authorization file through the root certificate stored in the client, and use the verified product certificate to verify and decrypt the authorization file; the authorization information formatting unit is used to verify the client environment information and format the signed authorization information; the authorization information interface unit is used to provide information query services to the outside through an interface.
[0079] The fifth exemplary embodiment of the present invention provides an application principle of a license authorization system based on a hardware trusted trust chain. Figure 5 The preferred embodiment of the system shown in the figure is applied in the following manner:
[0080] The system initialization unit sends a system initialization request, and the hardware encryption machine issues a root certificate according to the system initialization request, and stores the root certificate in the hardware encryption machine of the server and the trusted hardware environment module of the client respectively;
[0081] The hardware encryption machine generates a client private key and a client certificate through the client's root certificate, and stores the generated client private key and client certificate in the client's trusted hardware environment module;
[0082] The product creation unit sends a product creation request, and the hardware encryption machine generates a product private key and a product certificate through the root certificate of the server according to the product creation request, and stores the generated product private key and product certificate in the hardware encryption machine of the server;
[0083] The client environment information is signed and encrypted by the environment information signature encryption unit using the client private key stored in the trusted hardware environment module, and the client certificate is placed in the signed and encrypted client environment information.
[0084] The authorization information signature unit uses the product private key to sign the authorization content according to the authorization application request issued by the authorization application unit to generate signature authorization information;
[0085] Acquire client environment information through the environment information verification unit, and verify the validity of the client certificate in the client environment information through the client certificate verification unit;
[0086] The environment information verification unit uses the verified client certificate to verify and decrypt the client environment information;
[0087] The product certificate and the client environment information after signature verification and decryption are placed in the signature authorization information to form authorization data through the authorization information encryption unit, and the authorization data is encrypted to generate an authorization file.
[0088] The decryption unit verifies the legitimacy of the product certificate in the authorization file by using the root certificate stored in the client through the authorization information, and uses the verified product certificate to verify the signature and decrypt the authorization file;
[0089] Verify the client environment information and format the signature authorization information through the authorization information formatting unit;
[0090] The information query service is provided to the outside through the authorized information interface unit using the interface method.
[0091] In this embodiment, the private key used for license authorization is stored in the hardware encryption machine, and the software management system only saves the key ID. When generating product license authorization, data encryption and signing are completed in the encryption machine through the API interface of the hardware encryption machine.
[0092] The private key of the client environment is generated by the hardware encryption machine before the product is released, and is built into the trusted hardware environment module of the product client, such as TPM / TPCM / TEE, together with the license root certificate. Certificate legitimacy verification, encryption and decryption verification are completed in the trusted hardware environment module through the API interface provided by the trusted hardware environment module.
[0093] Finally, the present invention also provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the steps of the method are implemented when the processor executes the program.
[0094] The terminal device has the corresponding technical effects of the above-mentioned license authorization method and system based on hardware trusted trust chain.
[0095] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A license authorization method based on hardware trusted trust chain, It is characterized in that The method comprises: Step S1: Generate a client private key and a client certificate on the client through the root certificate, and generate a product private key and a product certificate on the server; Step S2: Sign and encrypt the client environment information using the client private key; Step S3: Generate an authorization file according to the authorization content and client environment information; Step S4: Import the authorization file through the legal product certificate and provide external services through the interface; Step S1 includes: Step S11: issuing a root certificate according to the system initialization request, and storing the root certificate in the server and the client respectively; Step S12: Generate a client private key and a client certificate through the root certificate of the client, and store the generated client private key and client certificate in a trusted hardware environment of the client; Step S13: Generate a product private key and a product certificate through the root certificate of the server according to the product creation request, and store the generated product private key and product certificate in the hardware encryption machine of the server; Step S3 includes: Step S31: according to the authorization application request, the product private key is used to sign the authorization content to generate signature authorization information; Step S32: Obtain client environment information and use the root certificate to verify the validity of the client certificate in the client environment information; Step S33: using the verified client certificate to verify and decrypt the client environment information; Step S34: placing the product certificate and the client environment information after signature verification and decryption into the signature authorization information to form authorization data; Step S35: Encrypt the authorization data in step S34 to generate an authorization file; Step S4 comprises: Step S41: Verify the legitimacy of the product certificate in the authorization file through the root certificate stored in the client; Step S42: Using the verified product certificate to verify and decrypt the authorization document; Step S43: Verify the client environment information and format the signature authorization information at the same time, and provide information query services externally through the interface.
2. According to the license authorization method based on hardware trusted trust chain according to claim 1, It is characterized in that Step S2 includes: signing and encrypting the client environment information by using the client private key stored in the trusted hardware environment, and placing the client certificate in the signed and encrypted client environment information.
3. A license authorization system based on hardware trusted trust chain, It is characterized in that The system comprises: The license authorization server is composed of a product management module, a server authorization management module and a hardware encryption machine, wherein the product management module is composed of a system initialization unit, a product creation unit and an authorization application unit; the server authorization management module is composed of an authorization information signature unit, a client certificate verification unit, an environment information verification unit and an authorization information encryption unit; the hardware encryption machine is used to issue a root certificate according to a system initialization request, store the root certificate on the server and the client respectively, generate a client private key and a client certificate through the client's root certificate, store the generated client private key and client certificate in the client's trusted hardware environment module, generate and store a product private key and a product certificate through the server's root certificate according to a product creation request, and provide an API interface to the server authorization management module, so that the server authorization management module completes the authorization information signature, client certificate verification, environment information verification and authorization information encryption in the encryption machine through the API interface; The license authorization client is composed of a client authorization management module and a trusted hardware environment module, wherein the client authorization management module is composed of an environment information signature encryption unit, an authorization information verification and decryption unit, an authorization information formatting unit, and an authorization information interface unit; the trusted hardware environment module is used to store the client private key and client certificate, and provide an API interface to the client authorization management module, so that the client authorization management module completes the environment information signature encryption, authorization information verification and decryption, authorization information formatting, and authorization information interface provision in the trusted hardware environment module; In the server-side authorization management module, the authorization information signature unit is used to sign the authorization content with the product private key according to the authorization application request to generate the signed authorization information; the client certificate verification unit is used to use the root certificate to verify the validity of the client certificate in the client environment information; the environment information verification unit is used to obtain the client environment information, and use the verified client certificate to verify and decrypt the client environment information; the authorization information encryption unit is used to place the product certificate and the client environment information after verification and decryption in the signed authorization information to form the authorization data, encrypt the authorization data, and generate the authorization file; in the client-side authorization management module, the environment information signature encryption unit is used to sign and encrypt the client environment information with the client private key stored in the trusted hardware environment module, and place the client certificate in the client environment information after signature and encryption; the authorization information verification and decryption unit is used to verify the legitimacy of the product certificate in the authorization file with the root certificate stored in the client, and use the verified product certificate to verify and decrypt the authorization file; the authorization information formatting unit is used to verify the client environment information and format the signed authorization information; the authorization information interface unit is used to provide information query services to the outside through an interface.
4. According to claim 3, the license authorization system based on hardware trusted trust chain, It is characterized in that In the product management module, the system initialization unit is used to send a system initialization request, the product creation unit is used to send a product creation request, and the authorization application unit is used to send an authorization application request.
5. A terminal device, It is characterized in that, The terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method described in any one of claims 1 to 2 when executing the program.
Citation Information
Patent Citations
Method for binding hardware information and secret keys in software copyright protection
CN103995991A
Method and device for providing high-availability computing service through certificate issuing
CN110677240A
