Signing and issuing method, device, system and equipment for post-quantum and national secret hybrid double certificates
By adopting the post-quantum and Guomin hybrid dual certificate issuance method in the PKI system, combining post-quantum signature and Guomin signature algorithm, the susceptibility problem of traditional PKI systems to quantum computing attacks is solved, and secure migration and compatibility are achieved , enhances the security of the system.
Patent Information
- Application Number
- CN202411212640.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-30
AI Technical Summary
The public key cryptography algorithm of the traditional public key infrastructure (PKI) system is vulnerable to attacks by quantum computers and needs to be moved to post-quantum cryptography (PQC) to resist quantum computing attacks, while maintaining the same SM2 with Guoshu. Compatibility of the dual certificate system.
Provide a method for issuing a hybrid dual certificate for post-quantum and national secrets. The authentication center uses the subject information and mixed signature public key information to issue a hybrid signature certificate, a hybrid encryption certificate and a target hybrid encryption key envelope to the user side, and adopts a post-quantum signature. The hybrid public key of the algorithm and the State Secret Signature Algorithm is combined with the key management center to obtain the target hybrid encryption key information, so as to realize the migration of the SM2 dual certificate system to the PQC+SM2 hybrid dual certificate system.
It realizes hybrid dual certificate issuance to the user side, enhances the ability to resist quantum computing attacks, and maintains compatibility with Guomi algorithms, ensuring security and compatibility.
Smart Images

Figure CN118944894A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cryptographic application technology, and in particular to a method, device, system and equipment for issuing a post-quantum and national secret hybrid dual certificate. Background Art
[0002] With the rapid development of quantum computing technology, the public key cryptographic algorithms of traditional public key infrastructure (PKI) systems rely on large integer decomposition and discrete logarithm problem design, which are vulnerable to attacks by quantum computers and can be cracked in minutes or hours. In order to meet this challenge, various security management departments, standardization organizations, and the industry have vigorously promoted the research of a new generation of public key cryptographic algorithms, namely Post-Quantum Cryptography (PQC), to resist quantum computing attacks.
[0003] At present, the PKI system adopts the national SM2 dual certificate system and dual center design. The SM2 dual certificate includes a signature certificate and an encryption certificate. The signature certificate is used for identity authentication, and the encryption certificate is used for public key encryption and key exchange. When migrating from the SM2 dual certificate system to the PQC certificate system, the first thing is to realize PQC key generation and PQC certificate issuance. While considering security, compatibility with the SM2 dual certificate system should also be considered. Summary of the invention
[0004] The purpose of the present invention is to provide a method, device, system and equipment for issuing post-quantum and national secret hybrid dual certificates in response to the above-mentioned deficiencies in the prior art, so that the certification center can issue hybrid signature certificates, hybrid encryption certificates and target hybrid encryption key envelopes to the user terminal based on the subject information and hybrid signature public key information, thereby realizing the migration of the SM2 dual certificate system to the PQC+SM2 hybrid dual certificate system.
[0005] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0006] In a first aspect, an embodiment of the present application provides a method for issuing a post-quantum and national secret hybrid dual certificate, which is applied to a certification center in a digital certificate authentication system, and the method includes:
[0007] Receive a hybrid certificate request sent by a user terminal, wherein the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information;
[0008] Processing the subject information and the hybrid signature public key information to obtain a hybrid signature certificate;
[0009] Based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information, obtaining target hybrid encryption key information from the key management center, the target hybrid encryption key information including: target hybrid encryption public key information and target hybrid encryption private key information;
[0010] Processing the target hybrid encryption public key information and the subject information to obtain a hybrid encryption certificate;
[0011] Using the temporary hybrid encryption public key information, digitally encapsulate the target hybrid encryption private key information to generate a target hybrid encryption key envelope, wherein the target hybrid encryption key envelope includes: a target hybrid encryption private key ciphertext and the target hybrid encryption public key information;
[0012] The hybrid signature certificate, the hybrid encryption certificate, and the target hybrid encryption key envelope are sent to the client.
[0013] In an optional implementation manner, the processing of the subject information and the hybrid signature public key information to obtain a hybrid signature certificate includes:
[0014] Encapsulate the subject information and the hybrid signature public key information, the preset certificate validity period, the first certificate version number, the hybrid public key algorithm identifier and the first certificate serial number to obtain first encapsulation information;
[0015] Using the private key information of the hybrid root certificate of the certification authority, the first packaged information is signed to obtain a first signature value;
[0016] The first encapsulation information, the first signature value and the hybrid signature algorithm identifier are encapsulated again to obtain the hybrid signature certificate.
[0017] In an optional implementation manner, the obtaining target hybrid encryption key information from a key management center based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information includes:
[0018] Sending a key application request to the key management center, the key application request including: a hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information; the key application request is used to enable the key management center to generate the target hybrid encryption key information based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information;
[0019] A key application response sent by the key management center is received, where the key application response includes: the target hybrid encryption key information.
[0020] In an optional implementation manner, the processing the target hybrid encryption public key information and the subject information to obtain a hybrid encryption certificate includes:
[0021] Encapsulating the target hybrid encryption public key information, the preset certificate validity period, the second certificate serial number, the subject information, the second certificate version number and the hybrid public key algorithm identifier to obtain second encapsulation information;
[0022] Using the private key information of the hybrid root certificate of the certification authority, the second encapsulation information is signed to obtain a second signature value;
[0023] The second encapsulation information, the second signature value and the hybrid signature algorithm identifier are encapsulated again to obtain the hybrid encryption certificate.
[0024] In a second aspect, the embodiment of the present application further provides a method for issuing a post-quantum and national secret hybrid dual certificate, which is applied to a user end, and the method includes:
[0025] A hybrid certificate request is sent to a certification center in a digital certificate certification system, wherein the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information, the hybrid certificate request is used to enable the certification center to process the subject information and the hybrid signature public key information to obtain a hybrid signature certificate, based on The hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information is used to obtain target hybrid encryption key information from a key management center, wherein the target hybrid encryption key information includes: target hybrid encryption public key information and target hybrid encryption private key information, and the target hybrid encryption public key information and the subject information are processed to obtain a hybrid encryption certificate, and the target hybrid encryption private key information is digitally encapsulated using the temporary hybrid encryption public key information to generate a target hybrid encryption key envelope, wherein the target hybrid encryption key envelope includes: target hybrid encryption private key ciphertext and the target hybrid encryption public key information;
[0026] Receive the hybrid signature certificate, the hybrid encryption certificate and the target hybrid encryption key envelope sent by the certification center.
[0027] In an optional implementation manner, before sending the hybrid certificate request to the authentication center in the digital certificate authentication system, the method further includes:
[0028] A hybrid signature algorithm is used to generate a hybrid signature key, wherein the hybrid signature key includes: the hybrid signature public key information and the hybrid signature private key information;
[0029] Using a hybrid encryption algorithm to generate a temporary hybrid encryption key, the temporary hybrid encryption key includes: the temporary hybrid encryption public key information and the temporary hybrid encryption private key information;
[0030] Generate the public key information according to the hybrid signature public key information and the temporary hybrid encryption public key information;
[0031] Using the hybrid signature private key information, signing the subject information and the public key information to generate signature information;
[0032] The subject information, the public key information and the signature information are all encapsulated into the hybrid certificate request.
[0033] In an optional embodiment, the method further comprises:
[0034] Using the public key information of the hybrid signature root certificate of the certification authority, respectively verify the hybrid signature certificate and the hybrid encryption certificate to obtain the verification result of the hybrid signature certificate and the verification result of the hybrid encryption certificate;
[0035] Using the temporarily hybrid encrypted private key information stored locally, performing digital envelope decapsulation processing on the hybrid encrypted private key ciphertext to obtain the plaintext of the target hybrid encrypted private key information;
[0036] Acquire the target hybrid encryption public key information from the target hybrid encryption key envelope;
[0037] The hybrid signature certificate, the hybrid encryption certificate, and the target hybrid encryption key information are stored.
[0038] In a third aspect, the embodiment of the present application further provides a post-quantum and national secret hybrid dual certificate issuance device, which is applied to the authentication center in the digital certificate authentication system, and the device includes:
[0039] A first receiving module is used to receive a hybrid certificate request sent by a user terminal, wherein the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, and the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information;
[0040] A first processing module, used for processing the subject information and the hybrid signature public key information to obtain a hybrid signature certificate;
[0041] An acquisition module, configured to acquire target hybrid encryption key information from a key management center based on a hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information, wherein the target hybrid encryption key information includes: target hybrid encryption public key information and target hybrid encryption private key information;
[0042] The first processing module is further used to process the target hybrid encryption public key information and the subject information to obtain a hybrid encryption certificate;
[0043] An encryption module, used to use the temporary hybrid encryption public key information to perform digital envelope encapsulation processing on the target hybrid encryption private key information to generate a target hybrid encryption key envelope, wherein the target hybrid encryption key envelope includes: a target hybrid encryption private key ciphertext and the target hybrid encryption public key information;
[0044] The first sending module is used to send the hybrid signature certificate, the hybrid encryption certificate and the target hybrid encryption key envelope to the user terminal.
[0045] In the fourth aspect, an embodiment of the present application also provides a digital certificate authentication system, which includes: an authentication center and a key management center, the key management center is used to send target hybrid encryption key information to the authentication center, and the authentication center is used to execute the steps of the method for issuing post-quantum and national secret hybrid dual certificates as described in any one of the first aspects.
[0046] In the fifth aspect, an embodiment of the present application also provides a user-end device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor. When the user-end device is running, the processor and the storage medium communicate through the bus, and the processor executes the program instructions to perform the steps of the method for issuing post-quantum and national secret hybrid dual certificates as described in any one of the second aspects.
[0047] In the sixth aspect, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for issuing post-quantum and national secret hybrid dual certificates as described in any one of the second aspects are executed.
[0048] The beneficial effects of this application are:
[0049] The embodiment of the present application provides a method, device, system and equipment for issuing a post-quantum and national secret hybrid dual certificate, which is applied to the certification center in the digital certificate authentication system. The method includes: receiving a hybrid certificate request sent by a user terminal, wherein the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information, processing the subject information and the hybrid signature public key information to obtain a hybrid signature Certificate, based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information, obtain the target hybrid encryption key information from the key management center, the target hybrid encryption key information includes: target hybrid encryption public key information and target hybrid encryption private key information; process the target hybrid encryption public key information and subject information to obtain a hybrid encryption certificate, use the temporary hybrid encryption public key information, digitally encapsulate the target hybrid encryption private key information, generate a target hybrid encryption key envelope, the target hybrid encryption key envelope includes: target hybrid encryption private key ciphertext and target hybrid encryption public key information, and send the hybrid signature certificate, hybrid encryption certificate and target hybrid encryption key envelope to the user end.
[0050] The method of the present application can issue a hybrid signature certificate to the user terminal based on the subject information and the hybrid signature public key information through the certification center, obtain the target hybrid encryption key information from the key management center based on the hybrid algorithm identifier corresponding to the temporary hybrid encryption public key information, and then process the target hybrid encryption key information and the subject information, so as to issue a hybrid encryption certificate, a hybrid encryption private key ciphertext and a target hybrid encryption public key information to the user terminal, thereby realizing the issuance of a hybrid dual certificate to the user terminal and providing the user terminal with a target hybrid encryption key envelope. In addition, since the hybrid dual certificate is a dual certificate issued for a hybrid algorithm, the hybrid algorithm includes a national secret algorithm and a post-quantum algorithm, and the post-quantum algorithm is added on the basis of the national secret algorithm, which can effectively resist the attack of the quantum algorithm. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0052] Figure 1 One of the flow charts of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application;
[0053] Figure 2 A second flowchart of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application;
[0054] Figure 3 A flowchart of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application is shown in FIG3;
[0055] Figure 4 A fourth flowchart of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application;
[0056] Figure 5 A flowchart of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application is shown in FIG5 ;
[0057] Figure 6 Flow chart of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application, No. 6;
[0058] Figure 7 Flow chart 7 of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application;
[0059] Figure 8 A schematic diagram of the functional modules of a device for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application;
[0060] Fig. 9 A schematic diagram of the functional modules of another device for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application;
[0061] Fig.10 A schematic diagram of a user terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.
[0063] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0064] In the description of the present application, it should be noted that if the terms "upper", "lower", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, or is the orientation or position relationship in which the product of the application is usually placed when used. It is only for the convenience of describing the present application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application.
[0065] In addition, the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0066] It should be noted that, in the absence of conflict, the features in the embodiments of the present application may be combined with each other.
[0067] Public Key Infrastructure (PKI) is a key management platform that follows established standards. It can provide cryptographic services such as encryption and digital signatures as well as the necessary key and certificate management system for all network applications. In other words, PKI is an infrastructure that provides security services using public key theory and technology.
[0068] At present, the PKI system adopts the national secret algorithm SM2 dual certificate system, that is, the dual center design, in which the SM2 dual certificate includes: SM2 signature certificate and SM2 encryption certificate. The SM2 signature certificate is used for identity authentication, and the SM2 encryption certificate is used for public key encryption and key exchange. The issuance process of the SM2 dual certificate includes: the user end generates the SM2 signature key and submits the certificate request to the digital certificate authentication system. The digital certificate authentication system is part of the PKI system and consists of the authentication center and the key management center. The SM2 encryption key is generated by the key management center, and the SM2 dual certificate is issued by the authentication center. Finally, the authentication center distributes the SM2 dual certificate and SM2 encryption key to the user end to complete the issuance of the SM2 dual certificate.
[0069] With the rapid development of quantum computing technology, the public key cryptographic algorithms of traditional PKI systems, such as the SM2 algorithm, rely on large integer decomposition and discrete logarithm problem design and are vulnerable to quantum computing attacks. Therefore, this application adds a post-quantum cryptography algorithm (Post-Quantum Cryptography, PQC) on the basis of traditional cryptographic algorithms to resist quantum computing attacks.
[0070] However, the current PQC single certificate system is only used to issue PQC signature certificates, but not PQC encryption certificates. Therefore, the present application embodiment provides a method for issuing a post-quantum and national secret hybrid dual certificate to solve the above problems and generate a hybrid signature certificate, a hybrid encryption certificate and a target hybrid encryption key envelope corresponding to the hybrid certificate request for the user end, wherein the hybrid signature certificate indicates a post-quantum and national secret hybrid signature certificate, and the hybrid encryption certificate indicates a post-quantum and national secret hybrid encryption certificate.
[0071] The hybrid dual certificate issuance method provided by the present application is described below with reference to the accompanying drawings through multiple examples. The hybrid dual certificate issuance method is applied to the certification center in the digital certificate authentication system. Figure 1 This is one of the flow charts of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application. Figure 1 As shown, the method includes:
[0072] S101: Receive a hybrid certificate request sent by a user.
[0073] Among them, the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, and the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information.
[0074] In this embodiment, the user end encapsulates the hybrid signature public key information and the temporary hybrid encryption public key information in a hybrid certificate request, and the hybrid signature private key information and the temporary hybrid encryption private key information are stored on the user end.
[0075] If the post-quantum signature algorithm is determined to be the lattice-based post-quantum cryptography algorithm Dilithium, and the national secret signature algorithm is the SM2 algorithm, then the hybrid signature public key information consists of two public key components of Dilithium and SM2.
[0076] If the temporary post-quantum encryption algorithm is determined to be the lattice-based post-quantum cryptography algorithm Kyber, and the temporary national secret encryption algorithm is the SM2 algorithm, then the temporary hybrid encryption public key information consists of two public key components of Kyber and SM2.
[0077] It should be noted that the hybrid certificate request also includes signature information, which is information obtained by signing the subject information and public key information in the hybrid certificate request using a hybrid signature private key.
[0078] S102: Process the subject information and the hybrid signature public key information to obtain a hybrid signature certificate.
[0079] Specifically, the authentication center reads the subject information and hybrid signature public key information in the hybrid certificate request, where the subject information includes: user information of the user end, and then the authentication center signs the subject information and the hybrid signature public key information to obtain a hybrid signature certificate.
[0080] S103. Obtain target hybrid encryption key information from a key management center based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information.
[0081] The target hybrid encryption key information includes: target hybrid encryption public key information and target hybrid encryption private key information.
[0082] The key management center generates target hybrid encryption key information according to the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information, and sends it to the authentication center.
[0083] S104: Process the target hybrid encryption public key information and subject information to obtain a hybrid encryption certificate.
[0084] S105. Use the temporary hybrid encryption public key information to perform digital envelope encapsulation processing on the target hybrid encryption private key information to generate a target hybrid encryption key envelope.
[0085] The target hybrid encryption key envelope includes: target hybrid encryption private key ciphertext and target hybrid encryption public key information.
[0086] Specifically, the digital envelope encapsulation processing includes: using a temporary symmetric key to encrypt the target hybrid encryption private key information to obtain the target hybrid encryption private key ciphertext, and then using the temporary hybrid encryption public key information to encrypt the temporary symmetric key to obtain the temporary symmetric key ciphertext, and generating the target hybrid encryption key envelope according to the target hybrid encryption private key ciphertext, the target hybrid encryption public key information and the temporary symmetric key ciphertext.
[0087] S106. Send the hybrid signature certificate, hybrid encryption certificate, and target hybrid encryption key envelope to the user terminal.
[0088] Among them, the key management center is used to generate target hybrid encryption key information for the user terminal. The authentication center issues a hybrid signature certificate, a hybrid encryption certificate and a target hybrid encryption public key information to the user terminal based on the hybrid certificate request sent by the user terminal, realizes the issuance of hybrid dual certificates, and performs digital envelope encapsulation processing on the target hybrid encryption private key information in the target hybrid encryption key information, generates a target hybrid encryption key envelope, and sends the target hybrid encryption key envelope to the user terminal.
[0089] In summary, the embodiment of the present application provides a method for issuing a post-quantum and national secret hybrid dual certificate, which is applied to the certification center in the digital certificate authentication system. The method includes: receiving a hybrid certificate request sent by a user terminal, wherein the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information, processing the subject information and the hybrid signature public key information to obtain a hybrid signature certificate, based on The target mixed encryption key information is obtained from the key management center according to the mixed encryption algorithm identifier corresponding to the temporary mixed encryption public key information, and the target mixed encryption key information includes: target mixed encryption public key information and target mixed encryption private key information; the target mixed encryption public key information and the subject information are processed to obtain a mixed encryption certificate, and the target mixed encryption private key information is digitally encapsulated using the temporary mixed encryption public key information to generate a target mixed encryption key envelope, and the target mixed encryption key envelope includes: target mixed encryption private key ciphertext and target mixed encryption public key information; the mixed signature certificate, the mixed encryption certificate and the target mixed encryption key envelope are sent to the user end.
[0090] The method of the present application can issue a hybrid signature certificate to the user terminal based on the subject information and the hybrid signature public key information through the certification center, obtain the target hybrid encryption key information from the key management center based on the hybrid algorithm identifier corresponding to the temporary hybrid encryption public key information, and then process the target hybrid encryption key information and the subject information, so as to issue a hybrid encryption certificate, a target hybrid encryption private key ciphertext and a target hybrid encryption public key information to the user terminal, thereby realizing the issuance of a hybrid dual certificate to the user terminal and providing the user terminal with a target hybrid encryption key envelope. At the same time, since the hybrid dual certificate is a dual certificate issued for a hybrid algorithm, the hybrid algorithm includes a national secret algorithm and a post-quantum algorithm, and the post-quantum algorithm is added on the basis of the national secret algorithm, which can effectively resist the attack of the quantum algorithm.
[0091] The present application embodiment also provides another possible implementation method for issuing a post-quantum and national secret hybrid dual certificate. Figure 2The second flowchart of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application. Figure 2 As shown, the subject information and the hybrid signature public key information are processed to obtain a hybrid signature certificate, including:
[0092] S201. Encapsulate the subject information and the hybrid signature public key information, the preset certificate validity period, the first certificate version number, the hybrid public key algorithm identifier and the first certificate serial number to obtain first encapsulation information.
[0093] S202: Use the private key information of the hybrid root certificate of the certification authority to sign the first packaged information to obtain a first signature value.
[0094] S203: re-encapsulate the first encapsulation information, the first signature value, and the hybrid signature algorithm identifier to obtain a hybrid signature certificate.
[0095] In this embodiment, the certification center reads the subject information and public key information in the hybrid certificate request, and then determines the hybrid signature public key information from the public key information.
[0096] The certification center encapsulates the subject information, the hybrid signature public key information, the preset certificate validity period, the first certificate version number, the hybrid public key algorithm identifier and the first certificate serial number to obtain the first encapsulation information.
[0097] Then, the private key information of the hybrid root certificate of the certification authority is used to sign the first packaged information to obtain a first signature value, wherein the hybrid root certificate is the basis for the certification authority to establish a trust relationship with the user end. When the certification authority issues a hybrid signature certificate, it needs to call the private key information of the hybrid root certificate to digitally sign the subject information and the hybrid signature public key information.
[0098] Finally, the first encapsulation information, the first signature value and the hybrid signature algorithm identifier are encapsulated again to obtain a hybrid signature certificate.
[0099] In the method provided in the embodiment of the present application, the subject information and hybrid signature public key information, the preset certificate validity period, the first certificate version number, the hybrid public key algorithm identifier and the first certificate serial number are encapsulated to obtain the first encapsulation information, and then the private key information of the hybrid root certificate of the certification authority is used to sign the first encapsulation information to obtain the first signature value, and finally the first encapsulation information, the first signature value and the hybrid signature algorithm identifier are encapsulated again to obtain the hybrid signature certificate, thereby realizing the issuance of the hybrid signature certificate.
[0100] The present application embodiment also provides another possible implementation method for issuing a post-quantum and national secret hybrid dual certificate. Figure 3The third flow chart of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application. Figure 3 As shown, based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information, the target hybrid encryption key information is obtained from the key management center, including:
[0101] S301. Send a key application request to a key management center.
[0102] Among them, the key application request includes: the hybrid algorithm identifier corresponding to the temporary hybrid encryption public key information; the key application request is used to enable the key management center to generate the target hybrid encryption key information based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information.
[0103] In this embodiment, the authentication center reads the temporary hybrid encryption public key information in the hybrid certificate request, and applies to the key management center for the target hybrid encryption key information corresponding to the hybrid encryption algorithm identifier of the temporary hybrid encryption public key information, wherein the target hybrid encryption key information includes: target hybrid encryption public key information and target hybrid encryption private key information. The temporary hybrid encryption public key information is designated as the protection key of the target hybrid encryption key information.
[0104] The key management center reads the received key application request and generates target mixed encryption key information corresponding to the mixed algorithm identifier of the temporary mixed encryption public key information.
[0105] S302: Receive a key request response sent by a key management center.
[0106] The key application response includes: target hybrid encryption key information. The key management center returns the target hybrid encryption key information to the authentication center.
[0107] In the method provided in the embodiment of the present application, a key application request is sent to a key management center, the key application request includes: a hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information; the key application request is used to enable the key management center to generate target hybrid encryption key information based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information; a key application response sent by the key management center is received, the key application response includes: target hybrid encryption key information. The target hybrid encryption key information is generated by the key management center based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information, and the target hybrid encryption key information is returned to the authentication center, so that the authentication center can process the target hybrid encryption key information to generate a hybrid encryption certificate.
[0108] The present application embodiment also provides another possible implementation method for issuing a post-quantum and national secret hybrid dual certificate. Figure 4The fourth flow chart of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application. Figure 4 As shown, the target hybrid encryption public key information and subject information are processed to obtain a hybrid encryption certificate, including:
[0109] S401. Encapsulate the target hybrid encryption public key information, the preset certificate validity period, the second certificate serial number, the subject information, the second certificate version number and the hybrid public key algorithm identifier to obtain second encapsulation information.
[0110] S402, using the private key information of the hybrid root certificate of the certification authority to sign the second packaged information to obtain a second signature value;
[0111] S403: re-encapsulate the second encapsulation information, the second signature value and the hybrid signature algorithm identifier to obtain a hybrid encryption certificate.
[0112] In this embodiment, the authentication center receives the target hybrid encryption public key information, and then encapsulates the target hybrid encryption public key information, the preset certificate validity period, the second certificate serial number, the user information of the user terminal, the certification authority information of the certification authority, the second certificate version number and the hybrid public key algorithm identifier to obtain the second encapsulation information.
[0113] Then, the second encapsulated information is signed using the private key information of the hybrid root certificate of the certification authority to obtain a second signature value. Finally, the second encapsulated information, the second signature value and the hybrid signature algorithm identifier are encapsulated again to obtain a hybrid encryption certificate.
[0114] In the method provided in the embodiment of the present application, the target hybrid encryption public key information, the preset certificate validity period, the second certificate serial number, the subject information, the second certificate version number and the hybrid public key algorithm identifier are encapsulated to obtain the second encapsulation information, and then the second encapsulation information is signed using the private key information of the hybrid root certificate of the certification authority to obtain the second signature value, and finally the second encapsulation information, the second signature value and the hybrid signature algorithm identifier are encapsulated again to obtain the hybrid encryption certificate, thereby realizing the issuance of the hybrid encryption certificate.
[0115] The embodiment of the present application also provides another possible implementation of a method for issuing a hybrid dual certificate of post-quantum and national encryption. The hybrid dual certificate issuance method is applied to a user end. Figure 5 The fifth flow chart of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application. Figure 5 As shown, the method includes:
[0116] S501. Send a hybrid certificate request to a certification center in a digital certificate authentication system.
[0117] Among them, the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information, the hybrid certificate request is used to enable the certification center to process the subject information and the hybrid signature public key information to obtain a hybrid signature certificate, based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information, obtain the target hybrid encryption key information from the key management center, the target hybrid encryption key information includes: target hybrid encryption public key information and target hybrid encryption private key information, and process the target hybrid encryption public key information and subject information to obtain a hybrid encryption certificate, use the temporary hybrid encryption public key information, digitally encapsulate the target hybrid encryption private key information, and generate a target hybrid encryption key envelope, the target hybrid encryption key envelope includes: target hybrid encryption private key ciphertext and target hybrid encryption public key information.
[0118] S502: Receive the hybrid signature certificate, hybrid encryption certificate and target hybrid encryption key envelope sent by the certification center.
[0119] In this embodiment, the user end encapsulates the hybrid signature public key information and the temporary hybrid encryption public key information in a hybrid certificate request, and the hybrid signature private key information and the temporary hybrid encryption private key information are stored on the user end.
[0120] If the post-quantum signature algorithm is determined to be the lattice-based post-quantum cryptography algorithm Dilithium, and the national secret signature algorithm is the SM2 algorithm, then the hybrid signature public key information consists of two public key components of Dilithium and SM2. If the temporary post-quantum encryption algorithm is determined to be the lattice-based post-quantum cryptography algorithm Kyber, and the temporary national secret encryption algorithm is the SM2 algorithm, then the temporary hybrid encryption public key information consists of two public key components of Kyber and SM2.
[0121] The process of the certification center issuing a hybrid signature certificate, a hybrid encryption certificate, and generating a target hybrid encryption key envelope is recorded in detail in the above steps S101-S403 and will not be repeated here.
[0122] The user end finally receives the hybrid signature certificate, hybrid encryption certificate and target hybrid encryption key envelope sent by the certification center, completing the issuance of the hybrid dual certificate.
[0123] In summary, the embodiment of the present application provides a method for issuing a post-quantum and national secret hybrid dual certificate, which is applied to the user end. The method includes: sending a hybrid certificate request to the certification center in the digital certificate certification system, wherein the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information, the hybrid certificate request is used to enable the certification center to process the subject information and the hybrid signature public key information to obtain a hybrid signature. The hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information is used to obtain the target hybrid encryption key information from the key management center. The target hybrid encryption key information includes: target hybrid encryption public key information and target hybrid encryption private key information. The target hybrid encryption public key information and subject information are processed to obtain a hybrid encryption certificate. The target hybrid encryption private key information is digitally encapsulated using the temporary hybrid encryption public key information to generate a target hybrid encryption key envelope. The target hybrid encryption key envelope includes: target hybrid encryption private key ciphertext and target hybrid encryption public key information. The hybrid signature certificate, hybrid encryption certificate and target hybrid encryption key envelope sent by the certification center are received. The certification center issues a hybrid signature certificate to the user terminal based on the subject information and the hybrid signature public key information. Then, the target hybrid encryption key information and subject information sent by the key management center are processed to issue a hybrid encryption certificate to the user terminal, thereby realizing the issuance of hybrid dual certificates and the distribution of target hybrid encryption key envelopes.
[0124] The present application embodiment also provides another possible implementation method for issuing a post-quantum and national secret hybrid dual certificate. Figure 6 The sixth flow chart of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application. Figure 6 As shown, before sending the hybrid certificate request to the certification center in the digital certificate certification system, the method also includes:
[0125] S601. Use a hybrid signature algorithm to generate a hybrid signature key.
[0126] The hybrid signature key includes: hybrid signature public key information and hybrid signature private key information.
[0127] S602: Use a hybrid encryption algorithm to generate a temporary hybrid encryption key.
[0128] The temporary mixed encryption key includes: temporary mixed encryption public key information and temporary mixed encryption private key information.
[0129] S603: Generate public key information according to the mixed signature public key information and the temporary mixed encryption public key information.
[0130] In this embodiment, the hybrid signature algorithm uses the PQC signature algorithm and the SM2 algorithm to implement dual digital signatures, wherein the PQC signature algorithm may be selected from Dilithium, the post-quantum digital signature algorithm based on fast Fourier transform (Fast-Fourier Lattice-Based Compact Signature over NTRU, FALCON) and the stateless hash-based digital signature algorithm (SPHINCS+). The hybrid signature key consists of two key components, PQC and SM2. When signing, the two private key components of PQC and SM2 are used respectively to perform a dual signature operation, and the signature result consists of two signature values of PQC and SM2. When verifying the signature, the two public key components of PQC and SM2 are used respectively to verify the two signature values. The verification is considered successful only when both signature values are successfully verified. Among them, the hybrid signature public key information includes: two public key components of PQC and SM2, and the hybrid signature private key information includes: two private key components of PQC and SM2.
[0131] The hybrid encryption algorithm uses the PQC encryption algorithm and the SM2 algorithm to implement hybrid key encapsulation, wherein the PQC encryption algorithm can select the Kyber algorithm. The temporary hybrid encryption key consists of two key components, PQC and SM2. During encryption, the two public key components of PQC and SM2 are used to perform a hybrid key encapsulation operation on the message plaintext, and the encryption result includes the two ciphertext components of PQC and SM2 and the message ciphertext. During decryption, the two private key components of PQC and SM2 are used to perform a hybrid key decapsulation operation to obtain the message plaintext. Among them, the temporary hybrid encryption public key information includes: the two public key components of PQC and SM2, and the temporary hybrid encryption private key information includes: the two private key components of PQC and SM2.
[0132] Then the mixed signature public key information and the temporary mixed encryption public key information are encapsulated to generate public key information.
[0133] S604: Use the hybrid signature private key information to sign the subject information and the public key information to generate signature information.
[0134] S605: Encapsulate the subject information, public key information and signature information into a hybrid certificate request.
[0135] The subject information includes: user information of the user end.
[0136] The certification center verifies the signature information in the hybrid certificate request by using the hybrid signature public key information to confirm the user's identity and verify the integrity of the certificate request.
[0137] In the method provided in the embodiment of the present application, a hybrid signature algorithm is used to generate a hybrid signature key, and the hybrid signature key includes: hybrid signature public key information and hybrid signature private key information; a hybrid encryption algorithm is used to generate a temporary hybrid encryption key, and the temporary hybrid encryption key includes: temporary hybrid encryption public key information and temporary hybrid encryption private key; public key information is generated according to the hybrid signature public key information and the temporary hybrid encryption public key information; the hybrid signature private key information is used to sign the subject information and the public key information to generate signature information; the subject information, public key information and signature information are all encapsulated into a hybrid certificate request, so that the authentication center generates a hybrid dual certificate corresponding to the hybrid certificate request.
[0138] The present application embodiment also provides another possible implementation method for issuing a post-quantum and national secret hybrid dual certificate. Figure 7 The seventh flowchart of a method for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application. Figure 7 As shown, the method also includes:
[0139] S701. Use the public key information of the hybrid root certificate of the certification authority to verify the hybrid signature certificate and the hybrid encryption certificate to obtain the verification result of the hybrid signature certificate and the verification result of the hybrid encryption certificate.
[0140] In this embodiment, a signature verification process is performed on the hybrid signature certificate using the public key information of the hybrid root certificate of the certification authority to obtain a verification result of the hybrid signature certificate. If the verification result is a verification failure, it is determined that the hybrid signature certificate and the identity of the certificate issuer do not match, and subsequent processing is stopped. A signature verification process is performed on the hybrid encryption certificate to obtain a verification result of the hybrid encryption certificate. If the verification result is a verification failure, it is determined that the hybrid encryption certificate and the identity of the certificate issuer do not match, and subsequent processing is stopped.
[0141] S702: Use the temporary hybrid encryption private key information stored locally to perform digital envelope decapsulation processing on the hybrid encryption private key ciphertext to obtain the plaintext of the target hybrid encryption private key information.
[0142] If the verification results of the hybrid signature certificate and the hybrid encryption certificate are both successful, it is determined that the hybrid certificate and the certificate issuer identity match, and the locally stored temporary hybrid encryption private key information is used to perform digital envelope decapsulation on the hybrid encryption private key ciphertext to obtain the plaintext of the target hybrid encryption private key information.
[0143] Specifically, the digital envelope decapsulation process specifically includes: using the temporary mixed encryption private key information to decrypt the temporary symmetric key ciphertext to obtain the temporary symmetric key, and then using the temporary symmetric key to decrypt the mixed encryption private key ciphertext to obtain the plaintext of the target mixed encryption private key information.
[0144] S703. Obtain target hybrid encryption public key information from the target hybrid encryption key envelope.
[0145] S704: Store the hybrid signature certificate, the hybrid encryption certificate, and the target hybrid encryption key information.
[0146] The user end stores the hybrid signature certificate, hybrid encryption certificate, and target hybrid encryption key information locally on the user end to complete the issuance of the hybrid dual certificate.
[0147] The following is a corresponding explanation of the issuance device and user-end device for executing any of the above embodiments of the present application for the post-quantum and national secret hybrid dual certificates. The specific implementation process and the technical effects produced are the same as those of the corresponding method embodiments mentioned above. For the sake of brief description, the parts not mentioned in this embodiment may refer to the corresponding contents in the method embodiments.
[0148] Figure 8 A functional module diagram of a post-quantum and national secret hybrid dual certificate issuance device provided in an embodiment of the present application. Figure 8 As shown, the post-quantum and national secret hybrid dual certificate issuance device 100 is applied to the authentication center in the digital certificate authentication system, and the device includes:
[0149] The first receiving module 110 is used to receive a hybrid certificate request sent by a user terminal, wherein the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, and the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information;
[0150] The first processing module 120 is used to process the subject information and the hybrid signature public key information to obtain a hybrid signature certificate;
[0151] The acquisition module 130 is used to acquire target hybrid encryption key information from the key management center based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information, where the target hybrid encryption key information includes: target hybrid encryption public key information and target hybrid encryption private key information;
[0152] The first processing module 120 is further used to process the target hybrid encryption public key information and the subject information to obtain a hybrid encryption certificate;
[0153] The encryption module 140 is used to use the temporary mixed encryption public key information to perform digital envelope encapsulation processing on the target mixed encryption private key information to generate a target mixed encryption key envelope, wherein the target mixed encryption key envelope includes: a target mixed encryption private key ciphertext and a target mixed encryption public key information;
[0154] The first sending module 150 is used to send the hybrid signature certificate, the hybrid encryption certificate and the target hybrid encryption key envelope to the user terminal.
[0155] Optionally, the first processing module 120 is also used to encapsulate the subject information and hybrid signature public key information, the preset certificate validity period, the first certificate version number, the hybrid public key algorithm identifier and the first certificate serial number to obtain first encapsulation information; use the private key information of the hybrid root certificate of the certification authority to sign the first encapsulation information to obtain a first signature value; and encapsulate the first encapsulation information, the first signature value and the hybrid signature algorithm identifier again to obtain a hybrid signature certificate.
[0156] Optionally, the acquisition module 130 is also used to send a key application request to the key management center, the key application request includes: a mixed encryption algorithm identifier corresponding to the temporary mixed encryption public key information; the key application request is used to enable the key management center to generate target mixed encryption key information based on the mixed encryption algorithm identifier corresponding to the temporary mixed encryption public key information; and receive a key application response sent by the key management center, the key application response includes: target mixed encryption key information.
[0157] Optionally, the first processing module 120 is also used to encapsulate the target hybrid encryption public key information, the preset certificate validity period, the second certificate serial number, the subject information, the second certificate version number and the hybrid public key algorithm identifier to obtain second encapsulation information; use the private key information of the hybrid root certificate of the certification authority to sign the second encapsulation information to obtain a second signature value; and encapsulate the second encapsulation information, the second signature value and the hybrid signature algorithm identifier again to obtain a hybrid encryption certificate.
[0158] Fig. 9 A functional module diagram of another device for issuing a post-quantum and national secret hybrid dual certificate provided in an embodiment of the present application. Fig. 9 As shown, the post-quantum and national secret hybrid dual certificate issuance device 200 is applied to the user end, including:
[0159] The second sending module 210 is used to send a hybrid certificate request to the certification center in the digital certificate certification system, wherein the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information, the hybrid certificate request is used to enable the certification center to process the subject information and the hybrid signature public key information to obtain a hybrid signature certificate, based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information, obtain the target hybrid encryption key information from the key management center, the target hybrid encryption key information includes: target hybrid encryption public key information and target hybrid encryption private key information, and process the target hybrid encryption public key information and subject information to obtain a hybrid encryption certificate, use the temporary hybrid encryption public key information, perform digital envelope encapsulation processing on the target hybrid encryption private key information, and generate a target hybrid encryption key envelope, the target hybrid encryption key envelope includes: target hybrid encryption private key ciphertext and target hybrid encryption public key information;
[0160] The second receiving module 220 is used to receive the hybrid signature certificate, hybrid encryption certificate and target hybrid encryption key envelope sent by the authentication center.
[0161] Optionally, the post-quantum and national secret hybrid dual certificate issuance device 200 further includes:
[0162] A generation module is used to use a hybrid signature algorithm to generate a hybrid signature key, the hybrid signature key includes: hybrid signature public key information and hybrid signature private key information; use a hybrid encryption algorithm to generate a temporary hybrid encryption key, the temporary hybrid encryption key includes: temporary hybrid encryption public key information and temporary hybrid encryption private key information; generate public key information according to the hybrid signature public key information and the temporary hybrid encryption public key information; use the hybrid signature private key information to sign the subject information and the public key information to generate signature information; encapsulate the subject information, public key information and signature information into a hybrid certificate request.
[0163] Optionally, the post-quantum and national secret hybrid dual certificate issuance device 200 is applied to the user end, including:
[0164] The second processing module is used to use the public key information of the hybrid root certificate of the certification authority to verify the hybrid signature certificate and the hybrid encryption certificate, and obtain the verification results of the hybrid signature certificate and the hybrid encryption certificate; use the locally stored temporary hybrid encryption private key information to digitally decapsulate the hybrid encryption private key ciphertext to obtain the plaintext of the target hybrid encryption private key information; obtain the target hybrid encryption public key information from the target hybrid encryption key envelope; store the hybrid signature certificate, the hybrid encryption certificate and the target hybrid encryption key information.
[0165] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0166] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0167] Fig.10 A schematic diagram of a user terminal device provided in an embodiment of the present application, which can be used for issuing post-quantum and national encryption hybrid dual certificates. Fig.10 As shown, the user terminal device includes: a processor 310 , a storage medium 320 , and a bus 330 .
[0168] The storage medium 320 stores machine-readable instructions executable by the processor 310. When the user terminal device is running, the processor 310 communicates with the storage medium 320 via the bus 330, and the processor 310 executes the machine-readable instructions to perform the steps of the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.
[0169] Optionally, the present application further provides a storage medium 320, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method embodiment are executed. The specific implementation method and technical effect are similar and will not be repeated here.
[0170] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0171] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0172] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0173] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
[0174] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for issuing a post-quantum and national secret hybrid dual certificate, characterized in that: Applied to an authentication center in a digital certificate authentication system, the method comprises: Receive a hybrid certificate request sent by a user terminal, wherein the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information; Processing the subject information and the hybrid signature public key information to obtain a hybrid signature certificate; Based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information, obtaining target hybrid encryption key information from the key management center, the target hybrid encryption key information including: target hybrid encryption public key information and target hybrid encryption private key information; Processing the target hybrid encryption public key information and the subject information to obtain a hybrid encryption certificate; Using the temporary hybrid encryption public key information, digitally encapsulate the target hybrid encryption private key information to generate a target hybrid encryption key envelope, wherein the target hybrid encryption key envelope includes: a target hybrid encryption private key ciphertext and the target hybrid encryption public key information; The hybrid signature certificate, the hybrid encryption certificate, and the target hybrid encryption key envelope are sent to the client.
2. The method according to claim 1, characterized in that The processing of the subject information and the hybrid signature public key information to obtain a hybrid signature certificate includes: Encapsulating the subject information and the hybrid signature public key information, the preset certificate validity period, the first certificate version number, the hybrid public key algorithm identifier and the first certificate serial number to obtain first encapsulation information; Using the private key information of the hybrid root certificate of the certification authority, the first packaged information is signed to obtain a first signature value; The first encapsulation information, the first signature value and the hybrid signature algorithm identifier are re-encapsulated to obtain the hybrid signature certificate.
3. The method according to claim 1, characterized in that The step of obtaining target hybrid encryption key information from a key management center based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information includes: Sending a key application request to the key management center, the key application request including: a hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information; the key application request is used to enable the key management center to generate the target hybrid encryption key information based on the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information; A key application response sent by the key management center is received, where the key application response includes: the target hybrid encryption key information.
4. The method according to claim 1, characterized in that The processing of the target hybrid encryption public key information and the subject information to obtain a hybrid encryption certificate includes: Encapsulating the target hybrid encryption public key information, the preset certificate validity period, the second certificate serial number, the subject information, the second certificate version number and the hybrid public key algorithm identifier to obtain second encapsulation information; Using the private key information of the hybrid root certificate of the certification authority, the second encapsulation information is signed to obtain a second signature value; The second encapsulation information, the second signature value and the hybrid signature algorithm identifier are encapsulated again to obtain the hybrid encryption certificate.
5. A method for issuing a post-quantum and national secret hybrid dual certificate, characterized in that: Applied to a user terminal, the method includes: A hybrid certificate request is sent to a certification center in a digital certificate certification system, wherein the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information, the hybrid certificate request is used to enable the certification center to process the subject information and the hybrid signature public key information to obtain a hybrid signature certificate, based on According to the hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information, target hybrid encryption key information is obtained from the key management center, the target hybrid encryption key information includes: target hybrid encryption public key information and target hybrid encryption private key information, and the target hybrid encryption public key information and the subject information are processed to obtain a hybrid encryption certificate, and the target hybrid encryption private key information is digitally encapsulated using the temporary hybrid encryption public key information to generate a target hybrid encryption key envelope, the target hybrid encryption key envelope includes: target hybrid encryption private key ciphertext and the target hybrid encryption public key information; Receive the hybrid signature certificate, the hybrid encryption certificate and the target hybrid encryption key envelope sent by the certification center.
6. The method according to claim 5, characterized in that Before sending the hybrid certificate request to the authentication center in the digital certificate authentication system, the method further includes: A hybrid signature algorithm is used to generate a hybrid signature key, wherein the hybrid signature key includes: the hybrid signature public key information and the hybrid signature private key information; Using a hybrid encryption algorithm to generate a temporary hybrid encryption key, the temporary hybrid encryption key includes: the temporary hybrid encryption public key information and the temporary hybrid encryption private key information; Generate the public key information according to the hybrid signature public key information and the temporary hybrid encryption public key information; Using the hybrid signature private key information, signing the subject information and the public key information to generate signature information; The subject information, the public key information and the signature information are all encapsulated into the hybrid certificate request.
7. The method according to claim 6, characterized in that The method further comprises: Using the public key information of the hybrid root certificate of the certification authority, respectively verify the hybrid signature certificate and the hybrid encryption certificate to obtain the verification result of the hybrid signature certificate and the verification result of the hybrid encryption certificate; Using the temporarily hybrid encrypted private key information stored locally, performing digital envelope decapsulation processing on the hybrid encrypted private key ciphertext to obtain the plaintext of the target hybrid encrypted private key information; Acquire the target hybrid encryption public key information from the target hybrid encryption key envelope; The hybrid signature certificate, the hybrid encryption certificate, and the target hybrid encryption key information are stored.
8. A device for issuing a post-quantum and national secret hybrid dual certificate, characterized in that: The device is applied to an authentication center in a digital certificate authentication system, and comprises: A first receiving module is used to receive a hybrid certificate request sent by a user terminal, wherein the hybrid certificate request includes: subject information and public key information, the public key information includes: hybrid signature public key information and temporary hybrid encryption public key information, the hybrid signature public key information includes: post-quantum signature algorithm public key information and national secret signature algorithm public key information, and the temporary hybrid encryption public key information includes: temporary post-quantum encryption algorithm public key information and temporary national secret encryption algorithm public key information; A first processing module, used to process the subject information and the hybrid signature public key information to obtain a hybrid signature certificate; An acquisition module, configured to acquire target hybrid encryption key information from a key management center based on a hybrid encryption algorithm identifier corresponding to the temporary hybrid encryption public key information, wherein the target hybrid encryption key information includes: target hybrid encryption public key information and target hybrid encryption private key information; The first processing module is further used to process the target hybrid encryption public key information and the subject information to obtain a hybrid encryption certificate; An encryption module, used to use the temporary hybrid encryption public key information to perform digital envelope encapsulation processing on the target hybrid encryption private key information to generate a target hybrid encryption key envelope, wherein the target hybrid encryption key envelope includes: a target hybrid encryption private key ciphertext and the target hybrid encryption public key information; The first sending module is used to send the hybrid signature certificate, the hybrid encryption certificate and the target hybrid encryption key envelope to the user terminal.
9. A digital certificate authentication system, characterized in that: The digital certificate authentication system includes: an authentication center and a key management center, the key management center is used to send target hybrid encryption key information to the authentication center, and the authentication center is used to execute the steps of the method for issuing post-quantum and national encryption hybrid dual certificates as described in any one of claims 1 to 4.
10. A user terminal device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor. When the user-end device is running, the processor communicates with the storage medium through the bus, and the processor executes the program instructions to perform the steps of the method for issuing post-quantum and national encryption hybrid dual certificates as described in any one of claims 5 to 7.
Citation Information
Patent Citations
Post-quantum security enhancement digital envelope method, device and system
CN112118098A
Quantum key distribution method and system for authentication based on post-quantum cryptography algorithm
CN112152817A
Certificate authentication system and authentication method based on post-quantum signature
CN116388986A
The agent system for digital signature using sign private key with double encryption and method thereof features to store in web storage
KR1020120053929A
Signed envelope encryption
US20170171219A1
Cited By
Anti-quantum identity authentication method, anti-quantum identity authentication system and electronic equipment
CN119449326A
Data transmission method and related device
CN119766481A
Data transmission method and related apparatus
CN119766481B
Security authentication method and system and electronic equipment
CN119995964A
Digital certificate issuing method based on post-quantum hybrid algorithm and related device
CN120110677A
