Anti-quantum security enhancement method for online certificate signing and issuing and key pair distribution
By using quantum key distribution technology and post-quantum cryptography algorithms, terminals and certificate authentication centers generate encrypted messages resistant to quantum computing attacks, solving the security problem of classical cryptography under quantum computing attacks and realizing quantum-resistant security enhancement of communication networks.
Patent Information
- Application Number
- CN202411191799.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-08-28
AI Technical Summary
Existing classical cryptographic algorithms lack quantum resistance to quantum computing attacks, especially in security protocols between certificate authorities and key management centers, where they cannot effectively defend against the threat of quantum computing cracking.
By employing quantum key distribution technology and post-quantum cryptography algorithms, quantum keys and quantum key identifiers are obtained through the terminal and encrypted to generate encrypted messages resistant to quantum computing attacks. Furthermore, the post-quantum cryptography algorithm is used to enhance the communication process between the certificate authentication center and the key management system, generating secure certificates and key pairs.
This enhances the ability of terminals in communication networks to obtain security certificates and key pairs from certificate authority against quantum computing attacks, ensuring the security and reliability of the communication process.
Smart Images

Figure CN118694528A
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security, and more specifically, to a method for enhancing quantum security of online certificate issuance and key pair distribution in a communication network. Background Art
[0002] The leap in computing power represented by quantum computing has a significant impact on the security of related algorithms in classical cryptography. Understandably, with the realization of large-scale quantum computers, it will have a certain impact on key negotiation, encryption, signature and other applications in classical cryptography. Therefore, providing cryptographic technology that can resist quantum computing attacks has become an urgent problem to be solved. Summary of the invention
[0003] The present application provides a method for enhancing quantum security of online certificate issuance and key pair distribution in a communication network.
[0004] The embodiment of the present application provides a method for enhancing quantum security of online certificate issuance and key pair distribution of a communication network, wherein the communication network includes a terminal, a certificate authentication center, and a key management system, and the method is used for the terminal, and the method includes: Acquire a first quantum key and a quantum key identifier from a first network node connected to the terminal; Encrypting the quantum key identifier and the randomly generated terminal key pair according to the first quantum key to obtain a first encrypted message; Generate an application message according to the first encrypted message, the terminal key pair and the quantum key identifier, and send the application message to the certificate authentication center; Receive a response message sent by the certificate authentication center so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal, wherein the response message includes a key response package and a security certificate, the key response package is generated by the key management system according to the key application package sent by the certificate authentication center, the key application package is generated by the certificate authentication center according to the application message, and the security certificate is generated by the certificate authentication center according to the application message and the key response package sent by the key management system.
[0005] In this way, in the communication process in which the terminal obtains a security certificate from the certificate authentication center and obtains a key pair from the key management system, the terminal applies for a first quantum key, and uses the first quantum key to encrypt the quantum key identifier and the terminal key pair to generate a first encrypted message that can resist quantum computing attacks. The first quantum key has good anti-quantum capabilities. Then, the terminal generates an application message based on the first encrypted message, the terminal key pair and the quantum key identifier, and sends the application message to the certificate authentication center. The certificate authentication center generates a key application package based on the application message, and sends the key application package to the key management system. The key management system processes the key application package according to the post-quantum cryptographic algorithm to obtain a key response package, and then returns the key response package to the certificate authentication center. The post-quantum cryptographic algorithm is a series of encryption algorithms designed to resist quantum computing attacks. The certificate authentication center generates a security certificate based on the application message and the key response package sent by the key management system, generates a response message based on the security certificate and the key response package, and sends it to the terminal. In this way, the terminal obtains a security certificate from the certificate authentication center and the communication process of obtaining a key pair from the key management system is enhanced through quantum key distribution technology and post-quantum cryptographic algorithms.
[0006] In certain implementations, the obtaining the first quantum key and the quantum key identifier from a service node connected to the terminal includes: Using a service node to inject multiple keys into a cryptographic module of the terminal; Sending a quantum key application to the service node, wherein the quantum key application is protected by a protection key, and the protection key is a randomly used one from a plurality of keys injected into the cryptographic module; receiving a quantum key encryption result obtained by the service node encrypting the first quantum key and the quantum key identifier according to the protection key, where the first quantum key is generated by a first network node connected to the service node and distributed to the service node, and the quantum key identifier is obtained by the first network node identifying the first quantum key according to an identification code of the first network node; The quantum key encryption result is decrypted to obtain the first quantum key and the quantum key identifier.
[0007] In this way, the terminal uses the service node to charge multiple keys into the terminal's cryptographic module. Then, the terminal sends a quantum key application to the service node based on the authorization code received from the certificate authentication center. The quantum key application is protected by a protection key, which is a randomly used one of the multiple keys charged into the cryptographic module. Then, the terminal receives the quantum key encryption result obtained by the service node by encrypting the first quantum key according to the protection key. The first quantum key is generated by the first network node accessing the service node and distributed to the service node. Finally, the terminal decrypts the quantum key encryption result to obtain the first quantum key. The terminal obtains the first quantum key and quantum key identifier, which can be used to subsequently generate keys with stronger resistance to quantum computing attacks.
[0008] In some embodiments, encrypting the quantum key identifier and the randomly generated terminal key pair according to the first quantum key to obtain a first encrypted message includes: Randomly generate a terminal key pair according to the cryptographic module of the terminal, the terminal key pair including a terminal classical signature key pair, a terminal post-quantum signature key pair and a terminal post-quantum encryption key pair; Concatenate the terminal public key and the quantum key identifier to obtain a first concatenation, wherein the terminal public key includes the terminal classical signature public key of the terminal classical signature key pair, the terminal post-quantum signature public key of the terminal post-quantum signature key pair, and the terminal temporary post-quantum encryption public key of the terminal post-quantum encryption key pair; The first spliced body is encrypted according to the first quantum key to obtain a first encrypted message.
[0009] In this way, the terminal randomly generates a terminal key pair according to the terminal's cryptographic module, and the terminal key pair includes a terminal classic signature key pair, a terminal post-quantum signature key pair, and a terminal post-quantum encryption key pair. Then, the terminal concatenates the terminal public key and the quantum key identifier to obtain a first concatenation, and the terminal public key includes the terminal classic signature public key of the terminal classic signature key pair, the terminal post-quantum signature public key of the terminal post-quantum signature key pair, and the terminal temporary post-quantum encryption public key of the terminal post-quantum encryption key pair. Finally, the terminal encrypts the first concatenation according to the first quantum key to obtain a first encrypted message.
[0010] In some embodiments, the security certificate includes a classic encryption certificate, a first classic encryption certificate signature, and a second classic encryption certificate signature, and the method further includes: Performing signature verification processing on the first classic encryption certificate signature according to the terminal classic signature public key to obtain a first classic encryption certificate signature verification result; Verifying the signature of the second classical encryption certificate according to the terminal post-quantum signature public key to obtain a second classical encryption certificate verification result; When the first classic encryption certificate verification result and the second classic encryption certificate verification result are correct, confirm that the classic encryption certificate is correct.
[0011] In this way, the terminal verifies the signature of the first classic encryption certificate according to the terminal's classic signature public key to obtain the first classic encryption certificate verification result. Next, the terminal verifies the signature of the second classic encryption certificate according to the terminal's post-quantum signature public key to obtain the second classic encryption certificate verification result. Finally, when the verification result of the first classic encryption certificate and the verification result of the second classic encryption certificate are correct, the classic encryption certificate is confirmed to be correct. In this way, the terminal verifies the signature of the first classic encryption certificate and the second classic encryption certificate respectively, determines the correctness of the classic encryption certificate according to the result of the verification process, ensures that the correct classic encryption certificate is obtained, and can encrypt the communication of the terminal.
[0012] In some embodiments, the security certificate includes a classic signing certificate, a first classic signing certificate signature, and a second classic signing certificate signature, and the method further includes: Verifying the signature of the first classic signature certificate according to the terminal classic signature public key to obtain a first classic signature certificate verification result; Verifying the signature of the second classic signature certificate according to the terminal post-quantum signature public key to obtain a second classic signature certificate verification result; When the verification result of the first classic signature certificate and the verification result of the second classic signature certificate are correct, confirming that the classic signature certificate is correct.
[0013] In this way, the terminal verifies the signature of the first classic signature certificate according to the terminal's classic signature public key to obtain the first classic signature certificate verification result. Next, the terminal verifies the signature of the second classic signature certificate according to the terminal's post-quantum signature public key to obtain the second classic signature certificate verification result. Finally, when the verification result of the first classic signature certificate and the verification result of the second classic signature certificate are correct, the classic signature certificate is confirmed to be correct. In this way, the terminal verifies the signature of the first classic signature certificate and the second classic signature certificate respectively, determines the correctness of the classic signature certificate according to the result of the verification process, ensures that the correct classic signature certificate is obtained, and can encrypt the communication of the terminal.
[0014] In some embodiments, the security certificate includes a post-quantum encryption certificate, a first post-quantum encryption certificate signature, and a second post-quantum encryption certificate signature, and the method further includes: Performing signature verification processing on the first post-quantum encryption certificate signature according to the terminal classic signature public key to obtain a first post-quantum encryption certificate signature verification result; Performing a signature verification process on the second post-quantum encryption certificate signature according to the terminal post-quantum signature public key to obtain a second post-quantum encryption certificate signature verification result; When the first post-quantum encryption certificate verification result and the second post-quantum encryption certificate verification result are correct, confirm that the post-quantum encryption certificate is correct.
[0015] In this way, the terminal verifies the signature of the first post-quantum encryption certificate according to the terminal's classical signature public key to obtain the first post-quantum encryption certificate verification result. Next, the terminal verifies the signature of the second post-quantum encryption certificate according to the terminal's post-quantum signature public key to obtain the second post-quantum encryption certificate verification result. Finally, when the verification result of the first post-quantum encryption certificate and the verification result of the second post-quantum encryption certificate are correct, the post-quantum encryption certificate is confirmed to be correct. In this way, the terminal verifies the signature of the first post-quantum encryption certificate and the second post-quantum encryption certificate respectively, determines the correctness of the post-quantum encryption certificate according to the result of the verification process, ensures that the correct post-quantum encryption certificate is obtained, and can encrypt the terminal's communication.
[0016] In some embodiments, the security certificate includes a post-quantum signature certificate, a first post-quantum signature certificate signature, and a second post-quantum signature certificate signature, and the method further includes: Verifying the signature of the first post-quantum signature certificate according to the terminal classic signature public key to obtain a first post-quantum signature certificate verification result; Verify the signature of the second post-quantum signature certificate according to the terminal post-quantum signature public key to obtain a second post-quantum signature certificate verification result; When the verification result of the first post-quantum signature certificate and the verification result of the second post-quantum signature certificate are correct, confirm that the post-quantum signature certificate is correct.
[0017] In this way, the terminal verifies the signature of the first post-quantum signature certificate according to the terminal's classical signature public key to obtain the first post-quantum signature certificate verification result. Next, the terminal verifies the signature of the second post-quantum signature certificate according to the terminal's post-quantum signature public key to obtain the second post-quantum signature certificate verification result. Finally, when the verification results of the first post-quantum signature certificate and the second post-quantum signature certificate are correct, the post-quantum signature certificate is confirmed to be correct. In this way, the terminal verifies the signature of the first post-quantum signature certificate and the second post-quantum signature certificate respectively, determines the correctness of the post-quantum signature certificate according to the result of the verification process, ensures that the correct post-quantum signature certificate is obtained, and can encrypt the communication of the terminal.
[0018] In some embodiments, the response message includes a first classical cryptographic envelope signature, a first classical cryptographic envelope post-quantum signature, a first post-quantum cryptographic envelope signature, a first post-quantum cryptographic envelope post-quantum signature, an encrypted classical cryptographic envelope, and an encrypted post-quantum cryptographic envelope, and the method further includes: Performing signature verification processing on the first classic cryptographic envelope signature to obtain a first terminal signature verification result; Performing a signature verification process on the first classical cryptographic envelope post-quantum signature to obtain a second terminal signature verification result; Performing signature verification processing on the first post-quantum cryptographic envelope signature to obtain a third terminal signature verification result; Performing signature verification processing on the first post-quantum cryptographic envelope post-quantum signature to obtain a fourth terminal signature verification result; When the signature verification result of the first terminal, the signature verification result of the second terminal, the signature verification result of the third terminal and the signature verification result of the fourth terminal are all correct, decrypting the encrypted classical cryptographic envelope according to the first quantum key to obtain a classical cryptographic envelope; The encrypted post-quantum cryptographic envelope is decrypted according to the first quantum key to obtain a post-quantum cryptographic envelope.
[0019] In this way, the terminal verifies the signature of the first classical cryptographic envelope and obtains the first terminal verification result. Next, the terminal verifies the signature of the first classical cryptographic envelope post-quantum signature and obtains the second terminal verification result. The terminal then verifies the signature of the first post-quantum cryptographic envelope and obtains the third terminal verification result. And verifies the signature of the first post-quantum cryptographic envelope post-quantum signature and obtains the fourth terminal verification result. Then, when the first terminal verification result, the second terminal verification result, the third terminal verification result and the fourth terminal verification result are all correct, the terminal decrypts the encrypted classical cryptographic envelope according to the first quantum key to obtain the classical cryptographic envelope. Finally, the terminal decrypts the encrypted post-quantum cryptographic envelope according to the first quantum key to obtain the post-quantum cryptographic envelope. In this way, after multiple verifications, the terminal determines that the encrypted classical cryptographic envelope and the encrypted post-quantum cryptographic envelope are correct. Then, the encrypted classical cryptographic envelope and the encrypted post-quantum cryptographic envelope are decrypted according to the first quantum key to obtain the classical cryptographic envelope and the post-quantum cryptographic envelope respectively, and multiple private keys generated by the key management system for the terminal can be obtained in the subsequent process according to the classical cryptographic envelope and the post-quantum cryptographic envelope.
[0020] In certain embodiments, the method further comprises: Decrypting the encrypted temporary symmetric key in the classic cryptographic envelope according to the private key in the terminal classic signature key pair to obtain a temporary symmetric key; The classic encryption private key in the classic cryptographic envelope is decrypted according to the temporary symmetric key to obtain the private key in the classic encryption key pair.
[0021] In this way, the terminal decrypts the encrypted temporary symmetric key in the classic cryptographic envelope according to the private key in the terminal's classic signature key pair to obtain a temporary symmetric key. Then, the terminal decrypts the classic encryption private key in the classic cryptographic envelope according to the temporary symmetric key to obtain the private key in the classic encryption key pair. In this way, the terminal obtains the private key in the classic encryption key pair, which can be used in the terminal's communication process to encrypt and decrypt data.
[0022] In certain embodiments, the method further comprises: Decapsulating the first encapsulated message in the post-quantum cryptographic envelope to obtain a second spliced body; Obtaining a fixed string according to the second concatenated body to confirm the correctness of the post-quantum cryptographic envelope; When the post-quantum cryptographic envelope is correct, performing post-quantum encryption processing on the first spliced body to obtain a first encryption key; The post-quantum encryption private key in the post-quantum cryptographic envelope is decrypted according to the first encryption key to obtain the private key in the post-quantum encryption key pair.
[0023] In this way, the terminal unseals the first encapsulated message in the post-quantum cryptographic envelope to obtain the second spliced body. Then, the terminal obtains a fixed string based on the second spliced body to confirm the correctness of the post-quantum cryptographic envelope. Then, if the post-quantum cryptographic envelope is correct, the terminal performs post-quantum encryption on the first spliced body to obtain the first encryption key. And the post-quantum encryption private key in the post-quantum cryptographic envelope is decrypted according to the first encryption key to obtain the private key in the post-quantum encryption key pair. In this way, the terminal obtains the private key in the quantum encryption key pair, which can be used in the communication process of the terminal to encrypt and decrypt data.
[0024] The embodiment of the present application provides a method for enhancing quantum security of online certificate issuance and key pair distribution of a communication network, wherein the communication network includes a terminal, a certificate authentication center, and a key management system, and the method is used in the certificate authentication center, and the method includes: receiving an application message sent by the terminal, wherein the application message is generated by the terminal according to a terminal key pair, a quantum key identifier, and a first encrypted message, the terminal key pair is randomly generated by the terminal, the quantum key identifier is obtained by the first network node to which the terminal has accessed, the first encrypted message is obtained by encrypting the quantum key identifier and the terminal key pair with a first quantum key, and the first quantum key is obtained by the first network node to which the terminal has accessed; Generate a key application package according to the application message, and send the key application package to the key management system; Receiving a key response packet sent by the key management system, wherein the key response packet is generated by the key management system according to the key application packet; Generate a security certificate according to the application message and the key response packet; A response message is generated according to the key response package and the security certificate, and the response message is sent to the terminal, so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal.
[0025] In this way, in the communication process in which the terminal obtains a security certificate from the certificate authentication center and obtains a key pair from the key management system, the terminal applies for a first quantum key, and uses the first quantum key to encrypt the quantum key identifier and the terminal key pair to generate a first encrypted message that can resist quantum computing attacks. The first quantum key has good anti-quantum capabilities. Then, the terminal generates an application message based on the first encrypted message, the terminal key pair and the quantum key identifier, and sends the application message to the certificate authentication center. The certificate authentication center generates a key application package based on the application message, and sends the key application package to the key management system. The key management system processes the key application package according to the post-quantum cryptographic algorithm to obtain a key response package, and then returns the key response package to the certificate authentication center. The post-quantum cryptographic algorithm is a series of encryption algorithms designed to resist quantum computing attacks. The certificate authentication center generates a security certificate based on the application message and the key response package sent by the key management system, generates a response message based on the security certificate and the key response package, and sends it to the terminal. In this way, the terminal obtains a security certificate from the certificate authentication center and the communication process of obtaining a key pair from the key management system is enhanced through quantum key distribution technology and post-quantum cryptographic algorithms.
[0026] In certain embodiments, the method further comprises: accessing a second network node through a pre-established channel; Issue the security certificate of the certificate authority.
[0027] In this way, the certificate authentication center accesses the second network node through the pre-established channel. Then, the certificate authentication center issues the security certificate of the certificate authentication center. In this way, the certificate authentication center accesses the network node through the channel and can obtain the second quantum key. In addition, the certificate authentication center also issues its own security certificate, which can be used for encryption and decryption in subsequent processes.
[0028] In certain embodiments, the method further comprises: Sending a quantum key application to a second network node connected to the certificate authentication center according to the quantum key identifier; Receive a second quantum key distributed by the second network node according to the quantum key application.
[0029] In this way, the certificate authentication center sends a quantum key application to the second network node connected to the certificate authentication center according to the quantum key identifier. Then, the certificate authentication center receives the second quantum key distributed by the second network node according to the quantum key application. In this way, the certificate authentication center obtains the second quantum key, which has good quantum resistance and can be used in subsequent processes to make it have good quantum resistance.
[0030] In some embodiments, the application message includes the first encrypted message, a terminal classical signature key pair, a terminal post-quantum signature key pair, a terminal post-quantum encryption key pair, and the quantum key identifier, and the method further includes: Concatenating the terminal classic signature public key in the terminal classic signature key pair, the terminal post-quantum signature public key in the terminal post-quantum signature key pair, the terminal temporary post-quantum encryption public key in the terminal post-quantum encryption key pair, and the quantum key identifier to obtain a second concatenation; Encrypting the second spliced body according to the second quantum key to obtain a second encrypted message; Confirm the correctness of the received terminal classical signature public key, the terminal post-quantum signature public key, the terminal temporary post-quantum encryption public key and the quantum key identifier according to the second encrypted message and the first encrypted message.
[0031] In this way, the certificate authentication center splices the terminal classic signature public key in the terminal classic signature key pair, the terminal post-quantum signature public key in the terminal post-quantum signature key pair, the terminal temporary post-quantum encryption public key in the terminal post-quantum encryption key pair, and the quantum key identifier to obtain a second splice. Then, the certificate authentication center encrypts the second splice according to the second quantum key to obtain a second encrypted message. Finally, the certificate authentication center confirms the correctness of the received terminal classic signature public key, terminal post-quantum signature public key, terminal temporary post-quantum encryption public key, and quantum key identifier based on the second encrypted message and the first encrypted message. In this way, the certificate authentication center can confirm the accuracy of the message received by the certificate authentication center based on the second splice generated by the certificate authentication center and the first splice generated by the terminal.
[0032] In some implementations, generating a key application package according to the application message, and sending the key application package to the key management system includes: Generate a first temporary key application package; Storing the terminal classical signature public key and the terminal temporary post-quantum encryption public key in the first temporary key application package to obtain a second temporary key application package; The classic signature identifier associated with the terminal classic signature public key and the post-quantum signature identifier associated with the terminal post-quantum signature public key are stored in the second temporary key application package to obtain a third temporary key application package; Signing the third temporary key application package according to the classic signature algorithm associated with the terminal classic signature public key to obtain a first classic signature value; Signing the third temporary key application package according to the post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain a first post-quantum signature value; Storing the first classical signature value and the first post-quantum signature value in the third temporary key application package to obtain a key application package; The key application package is sent to the key management system.
[0033] In this way, the certificate authentication center generates a first temporary key application package. Then, the certificate authentication center stores the terminal classic signature public key and the terminal temporary post-quantum encryption public key in the first temporary key application package to obtain a second temporary key application package. Then, the certificate authentication center stores the classic signature identifier associated with the terminal classic signature public key and the post-quantum signature identifier associated with the terminal post-quantum signature public key in the second temporary key application package to obtain a third temporary key application package. Subsequently, the certificate authentication center signs the third temporary key application package according to the classic signature algorithm associated with the terminal classic signature public key to obtain the first classic signature value. And the third temporary key application package is signed according to the post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain the first post-quantum signature value. Finally, the certificate authentication center stores the first classic signature value and the first post-quantum signature value in the third temporary key application package to obtain a key application package. And the key application package is sent to the key management system. In this way, the first temporary key application package storing the terminal classical signature public key and the terminal temporary post-quantum encryption public key is processed layer by layer through the post-quantum cryptographic algorithm to obtain a key application package. The key application package has good anti-quantum capability, and the key management system can ensure that the key application package is not accessed by unauthorized persons during transmission based on the first classical signature value and the first post-quantum signature value on the key application package.
[0034] In some embodiments, the key application package includes a second classical signature message and a second post-quantum signature message, and generating a security certificate according to the application message and the key response package includes: Upon receiving the key response package sent by the key management system, performing signature verification processing on the second classic signature message according to the classic signature algorithm to obtain a second classic signature verification result; Performing signature verification processing on the second post-quantum signature message according to the post-quantum signature algorithm to obtain a second post-quantum signature verification result; When both the second classical signature verification result and the second post-quantum signature verification result are correct, obtaining a public key in the classical encryption key pair and a public key in the post-quantum encryption key pair from the key response packet; Generate a classic signature certificate in the security certificate for the terminal according to the terminal classic signature public key; Generate a classic encryption certificate in the security certificate for the terminal according to the public key in the classic encryption key pair; Generate a post-quantum signature certificate in the security certificate for the terminal according to the post-quantum signature public key of the terminal; A post-quantum encryption certificate in the security certificate is generated for the terminal according to the public key in the post-quantum encryption key pair.
[0035] In this way, when receiving the key response package sent by the key management system, the certificate authentication center verifies the second classical signature message according to the classical signature algorithm to obtain the second classical verification result. And the second post-quantum signature message is verified according to the post-quantum signature algorithm to obtain the second post-quantum verification result. Then, when the second classical verification result and the second post-quantum verification result are both correct, the certificate authentication center obtains the public key in the classical encryption key pair and the public key in the post-quantum encryption key pair from the key response package. Then, the certificate authentication center generates a classical signature certificate in the security certificate for the terminal according to the terminal classical signature public key. And the classical encryption certificate in the security certificate is generated for the terminal according to the public key in the classical encryption key pair. And the post-quantum signature certificate in the security certificate is generated for the terminal according to the terminal post-quantum signature public key. And the post-quantum encryption certificate in the security certificate is generated for the terminal according to the public key in the post-quantum encryption key pair. In this way, after confirming that the multiple verification results are correct, the certificate authentication center obtains the terminal's signature certificate, encryption certificate, post-quantum signature certificate and post-quantum encryption certificate, which can be used for terminal communication and protect data during terminal communication.
[0036] In certain embodiments, the method further comprises: Signing the classic encryption certificate according to the private key in the terminal classic signature key pair to obtain a first classic encryption certificate signature in the security certificate; The classical encryption certificate is signed according to the private key in the terminal post-quantum signature key pair to obtain a second classical encryption certificate signature in the security certificate.
[0037] In this way, the certificate authentication center signs the classic encryption certificate according to the private key in the terminal classic signature key pair to obtain the first classic encryption certificate signature in the security certificate. Then, the certificate authentication center signs the classic encryption certificate according to the private key in the terminal post-quantum signature key pair to obtain the second classic encryption certificate signature in the security certificate. In this way, the certificate authentication center obtains the first classic encryption certificate signature and the second classic encryption certificate signature that can be used to verify the accuracy of the classic encryption certificate and confirm that the classic encryption certificate has not been unauthorizedly accessed during the transmission process. And the use of the private key in the terminal post-quantum signature key pair to sign the classic encryption certificate to obtain the second classic encryption certificate signature in the security certificate also has good anti-quantum capabilities.
[0038] In certain embodiments, the method further comprises: Signing the classic signature certificate according to the private key in the terminal classic signature key pair to obtain a first classic signature certificate signature in the security certificate; The classic signature certificate is signed according to the private key in the terminal post-quantum signature key pair to obtain a second classic signature certificate signature in the security certificate.
[0039] In this way, the certificate authentication center signs the classic signature certificate according to the private key in the terminal classic signature key pair to obtain the first classic signature certificate signature in the security certificate. Then, the certificate authentication center signs the classic signature certificate according to the private key in the terminal post-quantum signature key pair to obtain the second classic signature certificate signature in the security certificate. In this way, the certificate authentication center obtains the first classic signature certificate signature and the second classic signature certificate signature that can be used to verify the accuracy of the classic signature certificate and confirm that the classic signature certificate has not been unauthorizedly accessed during the transmission process. And the second classic signature certificate signature in the security certificate obtained by signing the classic signature certificate with the private key in the terminal post-quantum signature key pair also has good anti-quantum capabilities.
[0040] In certain embodiments, the method further comprises: Signing the post-quantum encryption certificate according to the private key in the terminal classic signature key pair to obtain a first post-quantum encryption certificate signature in the security certificate; The post-quantum encryption certificate is signed according to the private key in the terminal post-quantum signature key pair to obtain a second post-quantum encryption certificate signature in the security certificate.
[0041] In this way, the certificate authentication center signs the post-quantum encryption certificate according to the private key in the terminal classical signature key pair to obtain the first post-quantum encryption certificate signature in the security certificate. Then, the certificate authentication center signs the post-quantum encryption certificate according to the private key in the terminal post-quantum signature key pair to obtain the second post-quantum encryption certificate signature in the security certificate. In this way, the certificate authentication center obtains the first post-quantum encryption certificate signature and the second post-quantum encryption certificate signature that can be used to verify the accuracy of the post-quantum encryption certificate and confirm that the post-quantum encryption certificate has not been unauthorizedly accessed during the transmission process. And the use of the private key in the terminal post-quantum signature key pair to sign the post-quantum encryption certificate to obtain the second post-quantum encryption certificate signature in the security certificate also has good anti-quantum capabilities.
[0042] In certain embodiments, the method further comprises: Signing the post-quantum signature certificate according to the private key in the terminal classic signature key pair to obtain the first post-quantum signature certificate signature in the security certificate; The post-quantum signature certificate is signed according to the private key in the terminal post-quantum signature key pair to obtain a second post-quantum signature certificate signature in the security certificate.
[0043] In this way, the certificate authentication center signs the post-quantum signature certificate according to the private key in the terminal classical signature key pair to obtain the first post-quantum signature certificate signature in the security certificate. Then, the certificate authentication center signs the post-quantum signature certificate according to the private key in the terminal post-quantum signature key pair to obtain the second post-quantum signature certificate signature in the security certificate. In this way, the certificate authentication center obtains the first post-quantum signature certificate signature and the second post-quantum signature certificate signature that can be used to verify the accuracy of the post-quantum signature certificate and confirm that the post-quantum signature certificate has not been unauthorizedly accessed during the transmission process. And the second post-quantum signature certificate signature in the security certificate obtained by signing the post-quantum signature certificate with the private key in the terminal post-quantum signature key pair also has good anti-quantum capability.
[0044] In some embodiments, the key response package includes a classical cryptographic envelope and a post-quantum cryptographic envelope, and generating a response message according to the key response package and the security certificate, and sending the response message to the terminal includes: Signing the classic cryptographic envelope according to the classic signature algorithm to obtain a first classic cryptographic envelope signature; Signing the classical cryptographic envelope according to the post-quantum signature algorithm to obtain a first classical cryptographic envelope post-quantum signature; Signing the post-quantum cryptographic envelope according to the classical signature algorithm to obtain a first post-quantum cryptographic envelope signature; Signing the post-quantum cryptographic envelope according to the post-quantum signature algorithm to obtain a first post-quantum cryptographic envelope post-quantum signature; Encrypting the classical cryptographic envelope according to the second quantum key to obtain an encrypted classical cryptographic envelope; Encrypting the post-quantum cryptographic envelope according to the second quantum key to obtain an encrypted post-quantum cryptographic envelope; The security certificate, the first classical cryptographic envelope signature, the first classical cryptographic envelope post-quantum signature, the first post-quantum cryptographic envelope signature, the first post-quantum cryptographic envelope post-quantum signature, the encrypted classical cryptographic envelope and the encrypted post-quantum cryptographic envelope are sent to the terminal as response messages.
[0045] In this way, the certificate authentication center signs the classical cryptographic envelope according to the classical signature algorithm to obtain the first classical cryptographic envelope signature. Then, the certificate authentication center signs the classical cryptographic envelope according to the post-quantum signature algorithm to obtain the first classical cryptographic envelope post-quantum signature. Then, the certificate authentication center signs the post-quantum cryptographic envelope according to the classical signature algorithm to obtain the first post-quantum cryptographic envelope signature. The certificate authentication center then signs the post-quantum cryptographic envelope according to the post-quantum signature algorithm to obtain the first post-quantum cryptographic envelope post-quantum signature. Subsequently, the certificate authentication center encrypts the classical cryptographic envelope according to the second quantum key to obtain an encrypted classical cryptographic envelope. In addition, the certificate authentication center encrypts the post-quantum cryptographic envelope according to the second quantum key to obtain an encrypted post-quantum cryptographic envelope. Finally, the certificate authentication center sends the security certificate, the first classical cryptographic envelope signature, the first classical cryptographic envelope post-quantum signature, the first post-quantum cryptographic envelope signature, the first post-quantum cryptographic envelope post-quantum signature, the encrypted classical cryptographic envelope, and the encrypted post-quantum cryptographic envelope as a response message to the terminal. In this way, the certificate authentication center sends the corresponding message to the terminal, so that the terminal can protect the communication data of the terminal according to the security certificate in the response message, and the first classical cryptographic envelope signature, the first classical cryptographic envelope post-quantum signature, the first post-quantum cryptographic envelope signature and the first post-quantum cryptographic envelope post-quantum signature in the response message can confirm that the response message has not been unauthorizedly accessed during the transmission process. The encrypted classical cryptographic envelope and the encrypted post-quantum cryptographic envelope in the response message can protect the classical cryptographic envelope and the post-quantum cryptographic envelope.
[0046] The embodiment of the present application provides a method for enhancing quantum security of online certificate issuance and key pair distribution of a communication network, wherein the communication network includes a terminal, a certificate authentication center, and a key management system, and the method is used in the key management system, and the method includes: receiving a key application package sent by the certificate authentication center, wherein the key application package is generated by the certificate authentication center according to an application message, the application message is generated by the terminal according to a terminal key pair, a quantum key identifier, and a first encrypted message, the terminal key pair is randomly generated by the terminal, the quantum key identifier is obtained by the first network node accessed by the terminal, the first encrypted message is obtained by encrypting the quantum key identifier and the terminal key pair with a first quantum key, and the first quantum key is obtained by the first network node accessed by the terminal; A key response package is generated according to the key application package, and the key response package is sent to the certificate authentication center, wherein the certificate authentication center generates a security certificate according to the application message and the key response package, and sends a response message generated according to the security certificate and the key response package to the terminal, so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal.
[0047] In this way, in the communication process in which the terminal obtains a security certificate from the certificate authentication center and obtains a key pair from the key management system, the terminal applies for a first quantum key, and uses the first quantum key to encrypt the quantum key identifier and the terminal key pair to generate a first encrypted message that can resist quantum computing attacks. The first quantum key has good anti-quantum capabilities. Then, the terminal generates an application message based on the first encrypted message, the terminal key pair and the quantum key identifier, and sends the application message to the certificate authentication center. The certificate authentication center generates a key application package based on the application message, and sends the key application package to the key management system. The key management system processes the key application package according to the post-quantum cryptographic algorithm to obtain a key response package, and then returns the key response package to the certificate authentication center. The post-quantum cryptographic algorithm is a series of encryption algorithms designed to resist quantum computing attacks. The certificate authentication center generates a security certificate based on the application message and the key response package sent by the key management system, generates a response message based on the security certificate and the key response package, and sends it to the terminal. In this way, the terminal obtains a security certificate from the certificate authentication center and the communication process of obtaining a key pair from the key management system is enhanced through quantum key distribution technology and post-quantum cryptographic algorithms.
[0048] In certain embodiments, the method further comprises: Obtain the management security certificate of the key management system from the certificate authentication center.
[0049] In this way, the key management system obtains the management security certificate of the key management system from the certificate authentication center. In this way, the key management system obtains its own management security certificate, which can be used for encryption and decryption of subsequent processes.
[0050] In some implementations, the receiving a key application package sent by the certificate authentication center includes: Receive a key application package sent by the certificate authentication center, wherein the key application package includes a terminal classic signature public key, a terminal temporary post-quantum encryption public key, a classic signature identifier associated with the terminal classic signature public key, a post-quantum signature identifier associated with the terminal post-quantum signature public key, a first classic signature value, and a first post-quantum signature value.
[0051] In this way, the key management system receives the key application package sent by the certificate authentication center, and the key application package includes the terminal classic signature public key, the terminal temporary post-quantum encryption public key, the classic signature identifier associated with the terminal classic signature public key, the post-quantum signature identifier associated with the terminal post-quantum signature public key, the first classic signature value, and the first post-quantum signature value. In this way, the key management system receives the terminal classic signature public key, the terminal temporary post-quantum encryption public key, the classic signature identifier associated with the terminal classic signature public key, the post-quantum signature identifier associated with the terminal post-quantum signature public key, the first classic signature value, and the first post-quantum signature value, which can be used for subsequent processes.
[0052] In certain embodiments, the method further comprises: Performing signature verification processing on the first classic signature value according to the classic signature algorithm associated with the terminal classic signature public key to obtain a first signature verification result; Performing signature verification processing on the first post-quantum signature value according to a post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain a second signature verification result; When both the first signature verification result and the second signature verification result are correct, a classical encryption key pair and a post-quantum encryption key pair are generated for the terminal.
[0053] In this way, the key management system verifies the first classic signature value according to the classic signature algorithm associated with the terminal classic signature public key, and obtains a first verification result. Next, the key management system verifies the first post-quantum signature value according to the post-quantum signature algorithm associated with the terminal post-quantum signature public key, and obtains a second verification result. Finally, when both the first verification result and the second verification result are correct, the key management system generates a classic encryption key pair and a post-quantum encryption key pair for the terminal. In this way, after multiple verifications, the key management system confirms that the received key application package is correct, and generates a classic encryption key pair and a post-quantum encryption key pair for the terminal, which can be used by the subsequent certificate authentication center to generate a security certificate based on the classic encryption key pair and the post-quantum encryption key pair.
[0054] In some implementations, generating a key response package according to the key application package and sending the key response package to the certificate authentication center includes: Generate a first temporary key response packet according to the key application packet; Generate a second temporary key response packet according to the first temporary key response packet, the temporary symmetric key randomly generated by the key management system, and the classic encryption key pair; Generate a third temporary key response packet according to the second temporary key response packet and the post-quantum encryption key pair; Storing the classical signature identifier and the post-quantum signature identifier in the third temporary key response package to obtain a fourth temporary key response package; Processing the fourth temporary key response packet according to the classical signature algorithm and the post-quantum signature algorithm to obtain the key response packet; The key response packet is sent to the certificate authentication center.
[0055] In this way, the key management system generates a first temporary key response package based on the key application package. Next, the key management system generates a second temporary key response package based on the first temporary key response package, the temporary symmetric key randomly generated by the key management system, and the classical encryption key pair. Then, the key management system generates a third temporary key response package based on the second temporary key response package and the post-quantum encryption key pair. The key management system then stores the classic signature identifier and the post-quantum signature identifier in the third temporary key response package to obtain a fourth temporary key response package. Subsequently, the key management system processes the fourth temporary key response package according to the classical signature algorithm and the post-quantum signature algorithm to obtain a key response package. Finally, the key management system sends the key response package to the certificate authentication center. In this way, the key management system performs multiple operations based on the post-quantum cryptographic algorithm, the classical cryptographic algorithm and other data information to generate a key response package, and the certificate authentication system can generate a security certificate based on the key response package.
[0056] In some embodiments, the generating a second temporary key response package according to the first temporary key response package, the temporary symmetric key randomly generated by the key management system, and the classic encryption key pair includes: Encrypting the private key in the classic encryption key pair according to the temporary symmetric key to obtain the classic encryption private key in the classic cryptographic envelope; Sign the temporary symmetric key according to the terminal signature public key to obtain the encrypted temporary symmetric key in the classic cryptographic envelope; The public key in the classic encryption key pair and the classic cryptographic envelope are stored in the first temporary key response package to obtain the second temporary key response package.
[0057] In this way, the key management system encrypts the private key in the classic encryption key pair according to the temporary symmetric key to obtain the classic encryption private key in the classic cryptographic envelope. Next, the key management system signs the temporary symmetric key according to the terminal signature public key to obtain the encrypted temporary symmetric key in the classic cryptographic envelope. Finally, the key management system stores the public key in the classic encryption key pair and the classic cryptographic envelope in the first temporary key response package to obtain the second temporary key response package. In this way, the key management system ensures the security of the private key in the classic encryption key pair during transmission, and ensures that only the terminal holding the corresponding private key can decrypt and use the temporary symmetric key.
[0058] In some embodiments, generating a third temporary key response packet according to the second temporary key response packet and the post-quantum encryption key pair includes: Concatenate the random number randomly generated by the key management system and the fixed string to obtain a third concatenated body; Performing post-quantum encryption processing on the third spliced body to obtain a first encryption key; Performing post-quantum encryption encapsulation processing on the third spliced body to obtain a first encapsulated message in a post-quantum cryptographic envelope; Encrypting the private key in the post-quantum encryption key pair according to the first encryption key to obtain the post-quantum encryption private key in the post-quantum cryptographic envelope; The public key in the post-quantum encryption key pair and the post-quantum cryptographic envelope are stored in the second temporary key response package to obtain a third temporary key response package.
[0059] In this way, the key management system concatenates the random number randomly generated by the key management system and the fixed string to obtain a third concatenation body. Next, the key management system performs post-quantum encryption processing on the third concatenation body to obtain the first encryption key. The key management system then performs post-quantum encryption encapsulation processing on the third concatenation body to obtain the first encapsulated message in the post-quantum cryptographic envelope. Then, the key management system encrypts the private key in the post-quantum encryption key pair according to the first encryption key to obtain the post-quantum encryption private key in the post-quantum cryptographic envelope. Finally, the key management system stores the public key and the post-quantum cryptographic envelope in the post-quantum encryption key pair in the second temporary key response package to obtain a third temporary key response package. In this way, the key management system uses the first encryption key generated by the post-quantum encryption algorithm to encrypt the private key in the post-quantum encryption key pair, ensuring the security of the private key in the post-quantum encryption key pair during transmission.
[0060] In some embodiments, the processing the fourth temporary key response packet according to the classical signature algorithm and the post-quantum signature algorithm to obtain the key response packet includes: Signing the fourth temporary key response packet according to the classic signature algorithm to obtain a second classic signature message; Performing post-quantum signature processing on the fourth temporary key response packet according to the post-quantum signature algorithm to obtain a second post-quantum signature message; The second classical signature message and the second post-quantum signature message are stored in the fourth temporary key response package to obtain the key response package.
[0061] In this way, the key management center signs the fourth temporary key response package according to the classical signature algorithm to obtain the second classical signature message. Then, the key management center performs post-quantum signature processing on the fourth temporary key response package according to the post-quantum signature algorithm to obtain the second post-quantum signature message. Finally, the key management center stores the second classical signature message and the second post-quantum signature message in the fourth temporary key response package to obtain a key response package. In this way, the key management center processes the fourth temporary key response package according to the post-quantum cryptographic algorithm and the classical algorithm to obtain a key response package, which can ensure that the key application package is not accessed by unauthorized persons during transmission.
[0062] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 It is one of the flow charts of the method of the implementation mode of the present application; Figure 2 It is an architectural diagram of a method for implementing an embodiment of the present application; Figure 3 This is the second flow chart of the method of the implementation mode of the present application; Figure 4 This is the third flow chart of the method of the implementation mode of the present application; Figure 5 This is the fourth flow chart of the method of the implementation mode of the present application; Figure 6 This is the fifth flow chart of the method of the implementation mode of the present application; Figure 7 This is the sixth flow chart of the method of the implementation mode of the present application; Figure 8 This is the seventh flow chart of the method of the implementation mode of the present application; Fig. 9 This is the eighth flow chart of the method of the implementation mode of the present application; Fig.10 This is the ninth flow chart of the method of the implementation mode of the present application; Fig.11 This is the tenth flowchart of the method of the implementation mode of the present application; Fig.12 This is the eleventh flow chart of the method of the implementation mode of the present application; Fig.13 This is the twelfth flow chart of the method of the implementation mode of the present application; Fig.14 This is the thirteenth flow chart of the method of the implementation mode of the present application; Fig.15 This is the fourteenth flow chart of the method of the implementation mode of the present application; Fig.16 This is the fifteenth flowchart of the method of the implementation mode of the present application; Fig.17 This is the sixteenth flow chart of the method of the implementation mode of the present application; Fig.18 This is the seventeenth flow chart of the method of the implementation mode of the present application; Fig.19 This is the eighteenth flow chart of the method of the implementation mode of the present application; Fig. 20 This is the nineteenth flow chart of the method of the implementation mode of the present application; Fig.21 This is the twentieth flowchart of the method of the implementation mode of the present application; Fig. 22 This is the twenty-first flowchart of the method of the implementation mode of the present application; Fig.23 This is the twenty-second flowchart of the method of the implementation mode of the present application; Fig.24 This is the twenty-third flow chart of the method of the implementation mode of the present application; Fig.25 This is the twenty-fourth flowchart of the method of the implementation mode of the present application; Fig.26 This is the twenty-fifth flow chart of the method of the implementation mode of the present application; Fig. 27 This is the twenty-sixth schematic diagram of the method of the embodiment of the present application; Fig.28 This is the twenty-seventh flow chart of the method of the implementation mode of the present application; Fig.29 This is the twenty-eighth flowchart of the method of the implementation mode of the present application; Fig.30 This is the twenty-ninth flow chart of the method of the implementation mode of the present application; Fig.31 It is a signaling diagram of the method of an implementation mode of the present application. DETAILED DESCRIPTION
[0064] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.
[0065] The leap in computing power represented by quantum computing has a significant impact on the security of related algorithms in classical cryptography. In other words, quantum computing poses a more direct and urgent threat to classical cryptography. For example, Shor's quantum algorithm can solve complex mathematical problems such as large integer decomposition and discrete logarithm solution in polynomial time, and quickly crack widely used public key cryptographic algorithms such as RSA, ECC, DSA, ElGamal, etc. Understandably, with the realization of large-scale quantum computers, it will have a certain impact on key negotiation, encryption, signature and other applications in classical cryptography.
[0066] In this way, the security of the Internet, which uses classical cryptographic algorithms to protect the communication process, is deeply threatened by quantum computing attacks. For example, GM / T0014 "Cryptographic Protocol Specification for Digital Certificate Authentication System" defines the security protocols involving cryptographic technology in the digital certificate authentication system, including the security protocol between the user terminal and the registration authority (RA); the security protocol between the registration authority RA and the certificate authority (CA); the security protocol between the certificate authority CA and the key management center (KM); the security protocol between the certificate authority CA and the Lightweight Directory Access Protocol service (LDAP); the security protocol between the certificate authority CA and the Online Certificate Status Protocol service (OCSP); the security protocol between the user terminal and the LDAP service; the security protocol between the user terminal and the OCSP service, etc. Among them, the security protocol between the certificate authority CA and the key management center KM is particularly important because it protects the transmission of encryption key pairs. At present, the security protocol between the certificate authority CA and the key management center KM defined by GM / T0014 can only distribute the SM2 algorithm, that is, the encryption key pair based on the ECC elliptic curve algorithm. The protocol interaction process is only based on the digital signature and asymmetric encryption and decryption protection of the SM2 algorithm, which lacks the ability to resist quantum computing. If the distribution method of the encryption key pair of the ECC elliptic curve algorithm is used as a reference, the signature algorithm itself can also be used for key encapsulation based on asymmetric encryption and decryption, that is, the signature public key is used to protect the private key in the encryption key pair. The method usually used is to generate a temporary symmetric key to encrypt the private key, and the signature public key to encrypt the temporary symmetric key. It cannot be applied to the post-quantum cryptographic algorithm cryptographic system with completely different signature algorithms and key encapsulation algorithms.
[0067] At present, the international technologies for dealing with the threat of quantum computing attacks are mainly divided into two categories: one is to use asymmetric algorithms for (symmetric) key negotiation and then encrypt and transmit through symmetric algorithms, and study the use of quantum key distribution (QKD) networks for symmetric key negotiation to protect the security of keys; the other is to study post-quantum cryptography (PQC) algorithms to directly replace existing asymmetric algorithms. Quantum key distribution technology uses the principles of quantum mechanics to generate keys that cannot be stolen by third parties, ensuring the security of key transmission. It is particularly suitable for key exchange scenarios and can replace existing asymmetric key negotiation algorithms, such as RSA or ECC, to improve the security of keys. However, quantum key distribution technology cannot currently completely replace all applications of asymmetric algorithms. For example, scenarios such as signature verification, integrity protection, and non-repudiation still require the use of asymmetric algorithms.
[0068] Post-quantum cryptographic algorithms are asymmetric cryptographic algorithms designed based on new mathematical problems, aiming to resist the possible threats posed by quantum computers. NIST has announced the first batch of four post-quantum cryptographic algorithms to be standardized, including Kyber, Dilithium, Falcon, and SPHINCS+. These algorithms cover a variety of technical routes to reduce the risk of a single technology being cracked. Post-quantum cryptographic algorithms can theoretically replace all asymmetric algorithms and are more general. However, the security of post-quantum cryptographic algorithms still depends on the complexity of computational problems, and may face new cracking methods in the future or become unsafe as computing power increases. In addition, the post-quantum cryptographic algorithm standard has not yet been officially announced, and the production and certification of related products also take time, so its large-scale application still requires a long period of time.
[0069] Both post-quantum cryptographic algorithms and quantum key distribution technologies have the ability to resist quantum computing attacks, but each has its limitations. Therefore, providing relatively low-cost and highly secure cryptographic technology that can resist quantum computing attacks has become an urgent problem to be solved.
[0070] Based on the above questions, please refer to Figure 1 The embodiment of the present application provides a method for enhancing quantum security of online certificate issuance and key pair distribution in a communication network. The communication network includes a terminal, a certificate authentication center, and a key management system. The method is used in the terminal and includes: 011: Obtain a first quantum key and a quantum key identifier from a first network node of the access terminal; 012: Encrypting the quantum key identifier and the randomly generated terminal key pair according to the first quantum key to obtain a first encrypted message; 013: Generate an application message according to the first encrypted message, the terminal key pair and the quantum key identifier, and send the application message to the certificate authentication center; 014: Receive a response message sent by the certificate authentication center, so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal.
[0071] The embodiment of the present application also provides a terminal, including a memory and a processor. The method of the embodiment of the present application can be implemented by the terminal of the embodiment of the present application. Specifically, a computer program is stored in the memory, and the processor is used to obtain a first quantum key and a quantum key identifier from a first network node of the access terminal. And according to the first quantum key, the quantum key identifier and the randomly generated terminal key pair are encrypted to obtain a first encrypted message. And an application message is generated according to the first encrypted message, the terminal key pair and the quantum key identifier, and the application message is sent to a certificate authentication center. The processor is also used to receive a response message sent by the certificate authentication center, so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal.
[0072] The embodiment of the present application also provides a terminal anti-quantum security enhancement device. The method of the embodiment of the present application can be implemented by the terminal anti-quantum security enhancement device of the embodiment of the present application. Specifically, the terminal anti-quantum security enhancement device includes an acquisition module, an encryption module, a derivation module and a receiving module. The acquisition module is used to obtain a first quantum key and a quantum key identifier from a first network node of the access terminal. The encryption module is used to encrypt the quantum key identifier and the randomly generated terminal key pair according to the first quantum key to obtain a first encrypted message. The derivation module is used to generate an application message based on the first encrypted message, the terminal key pair and the quantum key identifier, and send the application message to a certificate authentication center. The receiving module is used to receive a response message sent by the certificate authentication center, so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal.
[0073] The present application provides a communication system based on online certificate issuance and key pair distribution. The communication system includes a terminal, a certificate authentication center, a key management system and a quantum key distribution network of the above-mentioned implementation mode. The quantum key distribution network is configured to distribute quantum keys to the terminal or the certificate authentication center.
[0074] Specifically, the quantum key distribution network includes network nodes and a quantum network link control center. Network nodes are used to store and distribute quantum keys in the quantum key distribution network. The quantum network link center can establish quantum key distribution and relay links between network nodes according to the names of network nodes. Quantum key distribution and relay links are used for functions such as data transfer. The quantum key distribution network is used to realize services such as quantum key generation, quantum key relay, and quantum key provision.
[0075] See also Figure 2 In some embodiments, the terminal and the certificate authentication center communicate through a secure channel, which refers to an encrypted communication path for securely transmitting data, instructions and control information between the terminal and the certificate authentication center. This channel ensures the confidentiality, integrity and authenticity of the data during transmission, and prevents unauthorized access and data leakage. The terminal accesses a service node, which is a transfer station used by the terminal to connect to the network node, and is used to inject keys into the terminal and transfer and store quantum keys. When the terminal sends a quantum key application, the network node sends the quantum key generated by the quantum key distribution network to the service node of the access terminal, and the service node sends the quantum key to the terminal. The simple process of the terminal and the certificate authentication center obtaining the quantum key is as follows: First, the terminal sends a quantum key application to the service node of the access terminal. Then, the service node applies for a quantum key from the first network node of the access service node. Then, the first network node distributes the quantum key generated according to the quantum key application to the service node, and the service node distributes the quantum key to the terminal. At the same time, the quantum network link control center synchronizes the second network node of the access certificate authentication center to generate a quantum key, but the quantum key will not be immediately distributed to the access certificate authentication center, but will be stored in the network node first. The corresponding relationship between the above terminals, certificate authentication centers, service nodes and network nodes is provided by the management and control platform.
[0076] It should be noted that the implementation method of the present application uses FIPS203 Module-Lattice-based Key-Encapsulation Mechanism Standard as the PQC key encapsulation algorithm and FIPS 204 Module-Lattice-Based Digital Signature Standard as the PQC digital signature algorithm for explanation. The following descriptions of operations related to the PQC algorithm refer to the above FIPS standard. Of course, in other implementations, other algorithms such as the NewHope algorithm, the Sidh algorithm, the HQC algorithm, etc. can also be used as PQC related algorithms. It should also be noted that the embodiments of the present application are aimed at the process of the terminal obtaining a security certificate from the certificate authentication center, and the security protocol between the certificate authentication center CA and the key management system KM defined in GM / T0050 "Technical Specifications for Cryptographic Device Management", hereinafter referred to as the KM security protocol.
[0077] Specifically, the terminal obtains a first quantum key and a quantum key identifier from a first network node accessing the terminal. Then, the terminal encrypts the quantum key identifier and the randomly generated terminal key pair according to the first quantum key to obtain a first encrypted message. Afterwards, the terminal generates an application message according to the first encrypted message, the terminal key pair and the quantum key identifier, and sends the application message to a certificate authentication center.
[0078] After receiving the application message sent by the terminal, the certificate authentication center performs a series of processing on the application message, generates a key application package based on the application message, and sends the key application package to the key management system.
[0079] After receiving the key application package sent by the certificate authentication center, the management system generates a key response package based on the key application package and sends the key response package to the certificate authentication center.
[0080] After receiving the key response package sent by the key management system, the certificate authentication center generates a security certificate based on the application message sent by the terminal and the key response package sent by the key management system. Then, a response message is generated based on the key response package and the security certificate generated by the certificate authentication center in the above process, and the response message is sent to the terminal, so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal.
[0081] Subsequently, the terminal receives a response message sent by the certificate authentication center, so that the terminal can communicate with other terminals in the communication network except the terminal using the response message.
[0082] In summary, in the anti-quantum security enhancement method, communication system, terminal, certificate authentication center and key management system of the online certificate issuance and key pair distribution of the communication network of the implementation mode of the present application, for the communication process in which the terminal obtains a security certificate from the certificate authentication center and obtains a key pair from the key management system, the terminal applies for a first quantum key, and uses the first quantum key to encrypt the quantum key identifier and the terminal key pair to generate a first encrypted message that can resist quantum computing attacks, and the first quantum key has good anti-quantum capabilities. Then, the terminal generates an application message based on the first encrypted message, the terminal key pair and the quantum key identifier, and sends the application message to the certificate authentication center. The certificate authentication center generates a key application package based on the application message and sends the key application package to the key management system. The key management system processes the key application package according to the post-quantum cryptographic algorithm to obtain a key response package, and then returns the key response package to the certificate authentication center. The post-quantum cryptographic algorithm is a series of encryption algorithms designed to resist quantum computing attacks. The certificate authentication center generates a security certificate based on the application message and the key response package sent by the key management system, and generates a response message based on the security certificate and the key response package and sends it to the terminal. In this way, quantum key distribution technology and post-quantum cryptographic algorithms enhance the terminal's ability to resist quantum computing attacks in the communication process of obtaining security certificates from the certificate authentication center and obtaining key pairs from the key management system.
[0083] See also Figure 3 In some embodiments, step 011 (obtaining a first quantum key and a quantum key identifier from a first network node of an access terminal) includes: 0111: Use the service node to inject multiple keys into the terminal's cryptographic module; 0112: Send quantum key request to the service node; 0113: receiving a quantum key encryption result obtained by the service node encrypting the first quantum key and the quantum key identifier according to the protection key; 0114: Decrypt the quantum key encryption result to obtain a first quantum key and a quantum key identifier.
[0084] In some embodiments, the charging module is used to charge a plurality of keys to the cryptographic module of the terminal using the service node. The sending module is used to send a quantum key application to the service node. The receiving module is used to receive a quantum key encryption result obtained by the service node by encrypting the first quantum key and the quantum key identifier according to the protection key. The decryption module is used to decrypt the quantum key encryption result to obtain the first quantum key and the quantum key identifier.
[0085] In some embodiments, the processor is further configured to use the service node to charge a plurality of keys to the cryptographic module of the terminal. And send a quantum key application to the service node. The processor is further configured to receive a quantum key encryption result obtained by the service node encrypting the first quantum key and the quantum key identifier according to the protection key. And decrypt the quantum key encryption result to obtain the first quantum key and the quantum key identifier.
[0086] Specifically, the terminal uses the service node to charge multiple keys into the terminal's cryptographic module. Then, the terminal sends a quantum key application to the service node based on the authorization code received from the certificate authentication center. The quantum key application is protected by a protection key, which is a randomly used one of the multiple keys charged into the cryptographic module. Then, the terminal receives the quantum key encryption result obtained by the service node by encrypting the first quantum key according to the protection key. The first quantum key is generated by the first network node accessing the service node and distributed to the service node. Finally, the terminal decrypts the quantum key encryption result to obtain the first quantum key.
[0087] In this way, the terminal obtains the first quantum key and quantum key identifier, which can be used to subsequently generate keys that are more resistant to quantum computing attacks.
[0088] See also Figure 4 In some embodiments, step 012 (encrypting the quantum key identifier and the randomly generated terminal key pair according to the first quantum key to obtain a first encrypted message) includes: 0121: Randomly generate a terminal key pair based on the terminal's password module; 0122: concatenate the terminal public key and the quantum key identifier to obtain a first concatenation; 0123: Encrypt the first spliced body according to the first quantum key to obtain a first encrypted message.
[0089] In some embodiments, the derivation module is used to randomly generate a terminal key pair according to the password module of the terminal. The splicing module is used to splice the terminal public key and the quantum key identifier to obtain a first spliced body. The encryption module is used to encrypt the first spliced body according to the first quantum key to obtain a first encrypted message.
[0090] In some embodiments, the processor is further configured to randomly generate a terminal key pair according to a cryptographic module of the terminal, concatenate the terminal public key and the quantum key identifier to obtain a first concatenation, and encrypt the first concatenation according to the first quantum key to obtain a first encrypted message.
[0091] Specifically, the terminal randomly generates a terminal key pair according to the terminal's cryptographic module, and the terminal key pair includes a terminal classic signature key pair, a terminal post-quantum signature key pair, and a terminal post-quantum encryption key pair. Then, the terminal concatenates the terminal public key and the quantum key identifier to obtain a first concatenation, and the terminal public key includes the terminal classic signature public key of the terminal classic signature key pair, the terminal post-quantum signature public key of the terminal post-quantum signature key pair, and the terminal temporary post-quantum encryption public key of the terminal post-quantum encryption key pair. Finally, the terminal encrypts the first concatenation according to the first quantum key to obtain a first encrypted message.
[0092] In this way, the terminal randomly generates a terminal key pair through the terminal's password module, which can be used for various subsequent signature processing, and can use the terminal key pair to generate a security certificate. A first encrypted message is also obtained, which can be used for the subsequent certificate authentication center to verify the accuracy of the data information sent by the terminal.
[0093] See also Figure 5 In some embodiments, the security certificate includes a classic encryption certificate, a first classic encryption certificate signature, and a second classic encryption certificate signature, and the method further includes: 015: Verify the signature of the first classic encryption certificate according to the terminal classic signature public key to obtain the first classic encryption certificate verification result; 016: Verify the signature of the second classical encryption certificate according to the terminal post-quantum signature public key to obtain the second classical encryption certificate verification result; 017: When the verification results of the first classic encryption certificate and the second classic encryption certificate are correct, confirm that the classic encryption certificate is correct.
[0094] In some embodiments, the signature verification module is used to verify the signature of the first classical encryption certificate according to the terminal classical signature public key to obtain the first classical encryption certificate verification result. And the signature of the second classical encryption certificate is verified according to the terminal post-quantum signature public key to obtain the second classical encryption certificate verification result. The confirmation module is also used to confirm that the classical encryption certificate is correct when the first classical encryption certificate verification result and the second classical encryption certificate verification result are correct.
[0095] In some embodiments, the processor is further configured to perform a signature verification process on the first classical encryption certificate signature according to the terminal classical signature public key to obtain a first classical encryption certificate signature verification result. And perform a signature verification process on the second classical encryption certificate signature according to the terminal post-quantum signature public key to obtain a second classical encryption certificate signature verification result. And when the first classical encryption certificate signature verification result and the second classical encryption certificate signature verification result are correct, confirm that the classical encryption certificate is correct.
[0096] Specifically, the terminal verifies the signature of the first classical encryption certificate according to the terminal's classical signature public key to obtain the first classical encryption certificate verification result. Then, the terminal verifies the signature of the second classical encryption certificate according to the terminal's post-quantum signature public key to obtain the second classical encryption certificate verification result. Finally, if the first classical encryption certificate verification result and the second classical encryption certificate verification result are correct, the classical encryption certificate is confirmed to be correct.
[0097] In this way, the terminal verifies the signature of the first classic encryption certificate and the signature of the second classic encryption certificate respectively, determines the correctness of the classic encryption certificate according to the result of the verification, ensures that the correct classic encryption certificate is obtained, and can encrypt the communication of the terminal.
[0098] See also Figure 6 In some embodiments, the security certificate includes a classic signing certificate, a first classic signing certificate signature, and a second classic signing certificate signature, and the method further includes: 018: Verify the signature of the first classic signature certificate according to the terminal classic signature public key to obtain the first classic signature certificate verification result; 019: Verify the signature of the second classical signature certificate according to the terminal post-quantum signature public key to obtain the second classical signature certificate verification result; 020: If the verification results of the first classic signature certificate and the second classic signature certificate are correct, confirm that the classic signature certificate is correct.
[0099] In some embodiments, the signature verification module is used to verify the signature of the first classic signature certificate according to the terminal classic signature public key to obtain the first classic signature certificate verification result. And it is used to verify the signature of the second classic signature certificate according to the terminal post-quantum signature public key to obtain the second classic signature certificate verification result. The confirmation module is also used to confirm that the classic signature certificate is correct when the first classic signature certificate verification result and the second classic signature certificate verification result are correct.
[0100] In some embodiments, the processor is further configured to perform a signature verification process on the first classic signature certificate signature according to the terminal classic signature public key to obtain a first classic signature certificate verification result. And perform a signature verification process on the second classic signature certificate signature according to the terminal post-quantum signature public key to obtain a second classic signature certificate verification result. And when the first classic signature certificate verification result and the second classic signature certificate verification result are correct, confirm that the classic signature certificate is correct.
[0101] Specifically, the terminal verifies the signature of the first classic signature certificate according to the terminal's classic signature public key to obtain the first classic signature certificate verification result. Then, the terminal verifies the signature of the second classic signature certificate according to the terminal's post-quantum signature public key to obtain the second classic signature certificate verification result. Finally, if the first classic signature certificate verification result and the second classic signature certificate verification result are correct, the classic signature certificate is confirmed to be correct.
[0102] In this way, the terminal verifies the signature of the first classic signature certificate and the signature of the second classic signature certificate respectively, determines the correctness of the classic signature certificate according to the result of the verification, ensures that the correct classic signature certificate is obtained, and can encrypt the communication of the terminal.
[0103] See also Figure 7 In some embodiments, the security certificate includes a post-quantum encryption certificate, a first post-quantum encryption certificate signature, and a second post-quantum encryption certificate signature, and the method further includes: 021: Verify the signature of the first post-quantum encryption certificate according to the terminal classic signature public key to obtain the first post-quantum encryption certificate verification result; 022: Verify the signature of the second post-quantum encryption certificate according to the terminal post-quantum signature public key to obtain the second post-quantum encryption certificate verification result; 023: When the verification results of the first post-quantum encryption certificate and the second post-quantum encryption certificate are correct, confirm that the post-quantum encryption certificate is correct.
[0104] In some embodiments, the signature verification module is used to verify the signature of the first post-quantum encryption certificate according to the terminal classical signature public key to obtain the first post-quantum encryption certificate verification result. And it is used to verify the signature of the second post-quantum encryption certificate according to the terminal post-quantum signature public key to obtain the second post-quantum encryption certificate verification result. The confirmation module is also used to confirm that the post-quantum encryption certificate is correct when the first post-quantum encryption certificate verification result and the second post-quantum encryption certificate verification result are correct.
[0105] In some embodiments, the processor is further configured to perform a signature verification process on the first post-quantum encryption certificate signature according to the terminal classical signature public key to obtain a first post-quantum encryption certificate verification result. And perform a signature verification process on the second post-quantum encryption certificate signature according to the terminal post-quantum signature public key to obtain a second post-quantum encryption certificate verification result. And when the first post-quantum encryption certificate verification result and the second post-quantum encryption certificate verification result are correct, confirm that the post-quantum encryption certificate is correct.
[0106] Specifically, the terminal verifies the signature of the first post-quantum encryption certificate according to the terminal's classical signature public key to obtain the first post-quantum encryption certificate verification result. Then, the terminal verifies the signature of the second post-quantum encryption certificate according to the terminal's post-quantum signature public key to obtain the second post-quantum encryption certificate verification result. Finally, if the first post-quantum encryption certificate verification result and the second post-quantum encryption certificate verification result are correct, the post-quantum encryption certificate is confirmed to be correct.
[0107] In this way, the terminal verifies the signature of the first post-quantum encryption certificate and the signature of the second post-quantum encryption certificate respectively, determines the correctness of the post-quantum encryption certificate according to the result of the verification, ensures that the correct post-quantum encryption certificate is obtained, and can encrypt the terminal's communication.
[0108] See also Figure 8 In some embodiments, the security certificate includes a post-quantum signature certificate, a first post-quantum signature certificate signature, and a second post-quantum signature certificate signature, and the method further includes: 024: Verify the signature of the first post-quantum signature certificate according to the terminal classic signature public key to obtain the first post-quantum signature certificate verification result; 025: Verify the signature of the second post-quantum signature certificate according to the terminal post-quantum signature public key to obtain the second post-quantum signature certificate verification result; 026: When the verification results of the first post-quantum signature certificate and the second post-quantum signature certificate are correct, the post-quantum signature certificate is confirmed to be correct.
[0109] In some embodiments, the signature verification module is used to verify the signature of the first post-quantum signature certificate according to the terminal classical signature public key to obtain the first post-quantum signature certificate verification result. And it is used to verify the signature of the second post-quantum signature certificate according to the terminal post-quantum signature public key to obtain the second post-quantum signature certificate verification result. The confirmation module is also used to confirm that the post-quantum signature certificate is correct when the first post-quantum signature certificate verification result and the second post-quantum signature certificate verification result are correct.
[0110] In some embodiments, the processor is further configured to perform a signature verification process on the first post-quantum signature certificate signature according to the terminal classical signature public key to obtain a first post-quantum signature certificate verification result. And perform a signature verification process on the second post-quantum signature certificate signature according to the terminal post-quantum signature public key to obtain a second post-quantum signature certificate verification result. And when the first post-quantum signature certificate verification result and the second post-quantum signature certificate verification result are correct, confirm that the post-quantum signature certificate is correct.
[0111] Specifically, the terminal verifies the signature of the first post-quantum signature certificate according to the terminal's classical signature public key to obtain the first post-quantum signature certificate verification result. Then, the terminal verifies the signature of the second post-quantum signature certificate according to the terminal's post-quantum signature public key to obtain the second post-quantum signature certificate verification result. Finally, if the first post-quantum signature certificate verification result and the second post-quantum signature certificate verification result are correct, the post-quantum signature certificate is confirmed to be correct.
[0112] In this way, the terminal verifies the signature of the first post-quantum signature certificate and the signature of the second post-quantum signature certificate respectively, determines the correctness of the post-quantum signature certificate according to the result of the verification, ensures that the correct post-quantum signature certificate is obtained, and can encrypt the communication of the terminal.
[0113] See also Fig. 9 In some embodiments, the response message includes a first classical cryptographic envelope signature, a first classical cryptographic envelope post-quantum signature, a first post-quantum cryptographic envelope signature, a first post-quantum cryptographic envelope post-quantum signature, an encrypted classical cryptographic envelope, and an encrypted post-quantum cryptographic envelope, and the method further includes: 027: Verify the signature of the first classic cryptographic envelope to obtain a first terminal verification result; 028: Verify the quantum signature after the first classical cryptographic envelope to obtain the second terminal verification result; 029: Verify the signature of the first post-quantum cryptographic envelope and obtain the signature verification result of the third terminal; 030: Verify the first post-quantum cryptographic envelope post-quantum signature to obtain a fourth terminal verification result; 031: When the signature verification results of the first terminal, the second terminal, the third terminal and the fourth terminal are all correct, the encrypted classical cryptographic envelope is decrypted according to the first quantum key to obtain the classical cryptographic envelope; 032: Decrypt the encrypted post-quantum cryptographic envelope according to the first quantum key to obtain a post-quantum cryptographic envelope.
[0114] In some embodiments, the signature verification module is also used to verify the signature of the first classical cryptographic envelope to obtain the first terminal signature verification result. And verify the signature of the first classical cryptographic envelope post-quantum signature to obtain the second terminal signature verification result. And verify the signature of the first post-quantum cryptographic envelope to obtain the third terminal signature verification result and verify the signature of the first post-quantum cryptographic envelope post-quantum signature to obtain the fourth terminal signature verification result. The decryption module is used to decrypt the encrypted classical cryptographic envelope according to the first quantum key to obtain the classical cryptographic envelope when the first terminal signature verification result, the second terminal signature verification result, the third terminal signature verification result and the fourth terminal signature verification result are all correct. And decrypt the encrypted post-quantum cryptographic envelope according to the first quantum key to obtain the post-quantum cryptographic envelope.
[0115] In some embodiments, the processor is also used to perform a signature verification process on the signature of the first classical cryptographic envelope to obtain a first terminal signature verification result. And perform a signature verification process on the first classical cryptographic envelope post-quantum signature to obtain a second terminal signature verification result. And perform a signature verification process on the first post-quantum cryptographic envelope signature to obtain a third terminal signature verification result and perform a signature verification process on the first post-quantum cryptographic envelope post-quantum signature to obtain a fourth terminal signature verification result. The processing is also used to decrypt the encrypted classical cryptographic envelope according to the first quantum key to obtain a classical cryptographic envelope when the first terminal signature verification result, the second terminal signature verification result, the third terminal signature verification result, and the fourth terminal signature verification result are all correct. And perform a decryption process on the encrypted post-quantum cryptographic envelope according to the first quantum key to obtain a post-quantum cryptographic envelope.
[0116] Specifically, the terminal verifies the signature of the first classical cryptographic envelope to obtain the first terminal verification result. Then, the terminal verifies the signature of the first classical cryptographic envelope post-quantum signature to obtain the second terminal verification result. The terminal then verifies the signature of the first post-quantum cryptographic envelope to obtain the third terminal verification result. And verifies the signature of the first post-quantum cryptographic envelope post-quantum signature to obtain the fourth terminal verification result. Then, when the first terminal verification result, the second terminal verification result, the third terminal verification result and the fourth terminal verification result are all correct, the terminal decrypts the encrypted classical cryptographic envelope according to the first quantum key to obtain the classical cryptographic envelope. Finally, the terminal decrypts the encrypted post-quantum cryptographic envelope according to the first quantum key to obtain the post-quantum cryptographic envelope.
[0117] In this way, after multiple signature verifications, the terminal determines that the encrypted classical cryptographic envelope and the encrypted post-quantum cryptographic envelope are correct. Then, the encrypted classical cryptographic envelope and the encrypted post-quantum cryptographic envelope are decrypted according to the first quantum key to obtain the classical cryptographic envelope and the post-quantum cryptographic envelope, respectively. In the subsequent process, multiple private keys generated by the key management system for the terminal can be obtained according to the classical cryptographic envelope and the post-quantum cryptographic envelope.
[0118] See also Fig.10 In some embodiments, the method further comprises: 033: Decrypt the encrypted temporary symmetric key in the classic password envelope according to the private key in the terminal classic signature key pair to obtain a temporary symmetric key; 034: Decrypt the classic encryption private key in the classic password envelope according to the temporary symmetric key to obtain the private key in the classic encryption key pair.
[0119] In some embodiments, the decryption module is further used to decrypt the encrypted temporary symmetric key in the classic cryptographic envelope according to the private key in the terminal classic signature key pair to obtain a temporary symmetric key. And decrypt the classic encrypted private key in the classic cryptographic envelope according to the temporary symmetric key to obtain the private key in the classic encryption key pair.
[0120] In some embodiments, the processor is further configured to decrypt the encrypted temporary symmetric key in the classic cryptographic envelope according to the private key in the terminal classic signature key pair to obtain a temporary symmetric key, and to decrypt the classic encrypted private key in the classic cryptographic envelope according to the temporary symmetric key to obtain the private key in the classic encryption key pair.
[0121] Specifically, the terminal decrypts the encrypted temporary symmetric key in the classic cryptographic envelope according to the private key in the terminal's classic signature key pair to obtain a temporary symmetric key. Then, the terminal decrypts the classic encryption private key in the classic cryptographic envelope according to the temporary symmetric key to obtain the private key in the classic encryption key pair.
[0122] In this way, the terminal obtains the private key in the classic encryption key pair, which can be used in the terminal's communication process to encrypt and decrypt data.
[0123] See also Fig.11 In some embodiments, the method further comprises: 035: decapsulate the first encapsulated message in the post-quantum cryptographic envelope to obtain a second spliced body; 036: Obtain a fixed string based on the second concatenation to confirm the correctness of the post-quantum cryptographic envelope; 037: When the post-quantum cryptographic envelope is correct, the first spliced body is subjected to post-quantum encryption processing to obtain a first encryption key; 038: Decrypt the post-quantum encrypted private key in the post-quantum cryptographic envelope according to the first encryption key to obtain the private key in the post-quantum encrypted key pair.
[0124] In some embodiments, the unsealing module is further used to unseale the first encapsulated message in the post-quantum cryptographic envelope to obtain a second splice. The processing module is used to obtain a fixed string based on the second splice to confirm the correctness of the post-quantum cryptographic envelope. The encryption module is also used to perform post-quantum encryption processing on the first splice to obtain a first encryption key when the post-quantum cryptographic envelope is correct. The decryption module is used to decrypt the post-quantum encryption private key in the post-quantum cryptographic envelope according to the first encryption key to obtain the private key in the post-quantum encryption key pair.
[0125] In some embodiments, the processor is further configured to unseal the first encapsulated message in the post-quantum cryptographic envelope to obtain a second splice. And obtain a fixed string based on the second splice to confirm the correctness of the post-quantum cryptographic envelope. The processor is further configured to perform post-quantum encryption on the first splice to obtain a first encryption key if the post-quantum cryptographic envelope is correct. And decrypt the post-quantum encryption private key in the post-quantum cryptographic envelope based on the first encryption key to obtain a private key in the post-quantum encryption key pair.
[0126] Specifically, the terminal unseals the first encapsulated message in the post-quantum cryptographic envelope to obtain a second splice. Then, the terminal obtains a fixed string based on the second splice to confirm the correctness of the post-quantum cryptographic envelope. Then, if the post-quantum cryptographic envelope is correct, the terminal performs post-quantum encryption on the first splice to obtain a first encryption key. And the post-quantum encryption private key in the post-quantum cryptographic envelope is decrypted based on the first encryption key to obtain the private key in the post-quantum encryption key pair.
[0127] In this way, the terminal obtains the private key in the quantum encryption key pair, which can be used in the terminal's communication process to encrypt and decrypt data.
[0128] See also Fig.12 The embodiment of the present application provides a method for enhancing quantum security of online certificate issuance and key pair distribution in a communication network. The communication network includes a terminal, a certificate authentication center, and a key management system. The method is used in the certificate authentication center. The method includes: 040: receiving the application message sent by the terminal; 041: Generate a key application package according to the application message, and send the key application package to the key management system; 042: Receive the key response packet sent by the key management system; 043: Generate a security certificate based on the application message and key response package; 044: Generate a response message according to the key response package and the security certificate, and send the response message to the terminal, so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal.
[0129] The embodiment of the present application also provides a certificate authentication center, including a memory and a processor. The method of the embodiment of the present application can be implemented by the certificate authentication center of the embodiment of the present application. Specifically, a computer program is stored in the memory, and the processor is used to receive an application message sent by a terminal. And a key application package is generated according to the application message, and the key application package is sent to a key management system. The processor is also used to receive a key response package sent by the key management system. And a security certificate is generated according to the application message and the key response package. And a response message is generated according to the key response package and the security certificate, and the response message is sent to the terminal, so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal.
[0130] The embodiment of the present application also provides a certificate authentication center anti-quantum security enhancement device. The method of the embodiment of the present application can be implemented by the certificate authentication center anti-quantum security enhancement device of the embodiment of the present application. Specifically, the certificate authentication center anti-quantum security enhancement device includes a receiving module and a derivation module. The receiving module is used to receive an application message sent by a terminal. The receiving module is used to receive a first encryption result of post-quantum cryptographic encryption processing of a quantum key identifier by the terminal. The derivation module is used to generate a key application package according to the application message. The receiving module is also used to receive a key response package sent by a key management system, and the key response package is generated by the key management system according to the key application package. The derivation module is used to generate a security certificate according to the application message and the key response package. And generate a response message according to the key response package and the security certificate, and send the response message to the terminal, so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal.
[0131] Specifically, the anti-quantum security enhancement method of this embodiment is basically the same as the anti-quantum security enhancement method of the aforementioned embodiment with the terminal as the execution object. For details, please refer to the explanation of the corresponding part. The difference is that this embodiment takes the certificate authentication center as the execution object, which will not be repeated here.
[0132] In summary, in the anti-quantum security enhancement method, communication system, terminal, certificate authentication center and key management system of the online certificate issuance and key pair distribution of the communication network of the implementation mode of the present application, for the communication process in which the terminal obtains a security certificate from the certificate authentication center and obtains a key pair from the key management system, the terminal applies for a first quantum key, and uses the first quantum key to encrypt the quantum key identifier and the terminal key pair to generate a first encrypted message that can resist quantum computing attacks, and the first quantum key has good anti-quantum capabilities. Then, the terminal generates an application message based on the first encrypted message, the terminal key pair and the quantum key identifier, and sends the application message to the certificate authentication center. The certificate authentication center generates a key application package based on the application message and sends the key application package to the key management system. The key management system processes the key application package according to the post-quantum cryptographic algorithm to obtain a key response package, and then returns the key response package to the certificate authentication center. The post-quantum cryptographic algorithm is a series of encryption algorithms designed to resist quantum computing attacks. The certificate authentication center generates a security certificate based on the application message and the key response package sent by the key management system, and generates a response message based on the security certificate and the key response package and sends it to the terminal. In this way, quantum key distribution technology and post-quantum cryptographic algorithms enhance the terminal's ability to resist quantum computing attacks in the communication process of obtaining security certificates from the certificate authentication center and obtaining key pairs from the key management system.
[0133] See also Fig.13 In some embodiments, the method further comprises: 045: Access the second network node through the pre-established channel; 046: Security certificate issued by the certificate authority.
[0134] In some embodiments, the access module is used to access the second network node through a pre-established channel. The issuing module is used to issue a security certificate of a certificate authentication center.
[0135] In some embodiments, the processor is further configured to access the second network node through a pre-established channel and issue a security certificate of a certificate authentication center.
[0136] Specifically, the certificate authentication center accesses the second network node through a pre-established channel. Then, the certificate authentication center issues a security certificate of the certificate authentication center.
[0137] In this way, the certificate authentication center can access the network node through the channel and obtain the second quantum key. In addition, the certificate authentication center also issues its own security certificate, which can be used for encryption and decryption in subsequent processes.
[0138] See also Fig.14 In some embodiments, the method further comprises: 047: Sending a quantum key application to a second network node of an access certificate authentication center according to the quantum key identifier; 048: Receive a second quantum key distributed by the second network node according to the quantum key application.
[0139] In some embodiments, the sending module is further used to send a quantum key application to a second network node of the access certificate authentication center according to the quantum key identifier. The receiving module is further used to receive a second quantum key distributed by the second network node according to the quantum key application.
[0140] In some embodiments, the processor is further configured to send a quantum key application to a second network node of the access certificate authentication center according to the quantum key identifier, and receive a second quantum key distributed by the second network node according to the quantum key application.
[0141] Specifically, the certificate authentication center sends a quantum key application to a second network node connected to the certificate authentication center according to the quantum key identifier. Then, the certificate authentication center receives the second quantum key distributed by the second network node according to the quantum key application.
[0142] In this way, the certificate authentication center obtains the second quantum key, which has good anti-quantum capabilities and can be used in subsequent processes to give it good anti-quantum capabilities.
[0143] See also Fig.15 In some embodiments, the application message includes a first encrypted message, a terminal classical signature key pair, a terminal post-quantum signature key pair, a terminal post-quantum encryption key pair, and a quantum key identifier, and the method further includes: 049: concatenate the terminal classic signature public key in the terminal classic signature key pair, the terminal post-quantum signature public key in the terminal post-quantum signature key pair, the terminal temporary post-quantum encryption public key in the terminal post-quantum encryption key pair, and the quantum key identifier to obtain a second concatenation; 050: Encrypting the second spliced body according to the second quantum key to obtain a second encrypted message; 051: Confirm the correctness of the received terminal classical signature public key, terminal post-quantum signature public key, terminal temporary post-quantum encryption public key and quantum key identifier based on the second encrypted message and the first encrypted message.
[0144] In some embodiments, the splicing module is further used to splice the terminal classic signature public key in the terminal classic signature key pair, the terminal post-quantum signature public key in the terminal post-quantum signature key pair, the terminal temporary post-quantum encryption public key in the terminal post-quantum encryption key pair, and the quantum key identifier to obtain a second splicing body. The encryption module is also used to encrypt the second splicing body according to the second quantum key to obtain a second encrypted message. The confirmation module is used to confirm the correctness of the received terminal classic signature public key, terminal post-quantum signature public key, terminal temporary post-quantum encryption public key, and quantum key identifier according to the second encrypted message and the first encrypted message.
[0145] In some embodiments, the processor is further configured to concatenate the terminal classical signature public key in the terminal classical signature key pair, the terminal post-quantum signature public key in the terminal post-quantum signature key pair, the terminal temporary post-quantum encryption public key in the terminal post-quantum encryption key pair, and the quantum key identifier to obtain a second concatenation. And encrypt the second concatenation according to the second quantum key to obtain a second encrypted message. And confirm the correctness of the received terminal classical signature public key, terminal post-quantum signature public key, terminal temporary post-quantum encryption public key, and quantum key identifier according to the second encrypted message and the first encrypted message.
[0146] Specifically, the certificate authentication center performs splicing processing on the terminal classic signature public key in the terminal classic signature key pair, the terminal post-quantum signature public key in the terminal post-quantum signature key pair, the terminal temporary post-quantum encryption public key in the terminal post-quantum encryption key pair, and the quantum key identifier to obtain a second splicing body. Then, the certificate authentication center encrypts the second splicing body according to the second quantum key to obtain a second encrypted message. Finally, the certificate authentication center confirms the correctness of the received terminal classic signature public key, terminal post-quantum signature public key, terminal temporary post-quantum encryption public key, and quantum key identifier according to the second encrypted message and the first encrypted message.
[0147] In this way, the certificate authentication center can confirm the accuracy of the message received by the certificate authentication center based on the second spliced body generated by the certificate authentication center and the first spliced body generated by the terminal.
[0148] See also Fig.16 In some implementations, step 041 (generating a key application package according to the application message and sending the key application package to the key management system) includes: 0411: Generate the first temporary key application package; 0412: storing the terminal classic signature public key and the terminal temporary post-quantum encryption public key in the first temporary key application package to obtain a second temporary key application package; 0413: storing the classic signature identifier associated with the terminal classic signature public key and the post-quantum signature identifier associated with the terminal post-quantum signature public key in the second temporary key application package to obtain a third temporary key application package; 0414: Sign the third temporary key application package according to the classic signature algorithm associated with the terminal classic signature public key to obtain a first classic signature value; 0415: Signing the third temporary key application package according to the post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain a first post-quantum signature value; 0416: storing the first classical signature value and the first post-quantum signature value in a third temporary key application package to obtain a key application package; 0417: Send the key application package to the key management system.
[0149] In certain embodiments, the derivation module is used to generate a first temporary key application package. The storage module is used to store the terminal classical signature public key and the terminal temporary post-quantum encryption public key in the first temporary key application package to obtain a second temporary key application package. And the classical signature identifier associated with the terminal classical signature public key and the post-quantum signature identifier associated with the terminal post-quantum signature public key are stored in the second temporary key application package to obtain a third temporary key application package. The signature module is used to sign the third temporary key application package according to the classical signature algorithm associated with the terminal classical signature public key to obtain a first classical signature value. And the third temporary key application package is signed according to the post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain a first post-quantum signature value. The storage module is also used to store the first classical signature value and the first post-quantum signature value in the third temporary key application package to obtain a key application package. The sending module is also used to send the key application package to the key management system.
[0150] In certain embodiments, the processor is also used to generate a first temporary key application package. And the terminal classic signature public key and the terminal temporary post-quantum encryption public key are stored in the first temporary key application package to obtain a second temporary key application package. And the classic signature identifier associated with the terminal classic signature public key and the post-quantum signature identifier associated with the terminal post-quantum signature public key are stored in the second temporary key application package to obtain a third temporary key application package. The processor is also used to sign the third temporary key application package according to the classic signature algorithm associated with the terminal classic signature public key to obtain a first classic signature value. And the third temporary key application package is signed according to the post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain a first post-quantum signature value. And the first classic signature value and the first post-quantum signature value are stored in the third temporary key application package to obtain a key application package and the key application package is sent to the key management system.
[0151] Specifically, the certificate authentication center generates a first temporary key application package. Then, the certificate authentication center stores the terminal classic signature public key and the terminal temporary post-quantum encryption public key in the first temporary key application package to obtain a second temporary key application package. Then, the certificate authentication center stores the classic signature identifier associated with the terminal classic signature public key and the post-quantum signature identifier associated with the terminal post-quantum signature public key in the second temporary key application package to obtain a third temporary key application package. Subsequently, the certificate authentication center signs the third temporary key application package according to the classic signature algorithm associated with the terminal classic signature public key to obtain a first classic signature value. And the third temporary key application package is signed according to the post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain a first post-quantum signature value. Finally, the certificate authentication center stores the first classic signature value and the first post-quantum signature value in the third temporary key application package to obtain a key application package. And the key application package is sent to the key management system.
[0152] In this way, the first temporary key application package storing the terminal classical signature public key and the terminal temporary post-quantum encryption public key is processed layer by layer through the post-quantum cryptographic algorithm to obtain a key application package. The key application package has good anti-quantum capability, and the key management system can ensure that the key application package is not accessed by unauthorized persons during transmission based on the first classical signature value and the first post-quantum signature value on the key application package.
[0153] See also Fig.17 In some embodiments, the key application package includes a second classical signature message and a second post-quantum signature message, and step 043 (generating a security certificate according to the application message and the key response package) includes: 0431: upon receiving the key response package sent by the key management system, performing signature verification on the second classic signature message according to the classic signature algorithm to obtain a second classic signature verification result; 0432: Verify the second post-quantum signature message according to the post-quantum signature algorithm to obtain a second post-quantum signature verification result; 0433: When both the second classical signature verification result and the second post-quantum signature verification result are correct, obtain the public key in the classical encryption key pair and the public key in the post-quantum encryption key pair from the key response package; 0434: Generate a classic signature certificate in the security certificate for the terminal based on the terminal classic signature public key; 0435: Generates a classic encryption certificate in a security certificate for the terminal based on the public key in the classic encryption key pair; 0436: Generate a post-quantum signature certificate in a security certificate for the terminal based on the terminal post-quantum signature public key; 0437: Generate a post-quantum encryption certificate in a security certificate for the terminal based on the public key in the post-quantum encryption key pair.
[0154] In certain embodiments, the signature verification module is used to, upon receiving the key response packet sent by the key management system, perform signature verification processing on the second classical signature message according to the classical signature algorithm to obtain a second classical signature verification result. And perform signature verification processing on the second post-quantum signature message according to the post-quantum signature algorithm to obtain a second post-quantum signature verification result. The acquisition module is used to obtain the public key in the classical encryption key pair and the public key in the post-quantum encryption key pair from the key response packet when both the second classical signature verification result and the second post-quantum signature verification result are correct. The derivation module is used to generate a classical signature certificate in a security certificate for the terminal according to the terminal classical signature public key. And generate a classical encryption certificate in a security certificate for the terminal according to the public key in the classical encryption key pair. And generate a post-quantum signature certificate in a security certificate for the terminal according to the terminal post-quantum signature public key and generate a post-quantum encryption certificate in a security certificate for the terminal according to the public key in the post-quantum encryption key pair.
[0155] In certain embodiments, the processor is further configured to, upon receiving a key response packet sent by the key management system, perform signature verification processing on the second classical signature message according to the classical signature algorithm to obtain a second classical signature verification result. And perform signature verification processing on the second post-quantum signature message according to the post-quantum signature algorithm to obtain a second post-quantum signature verification result. And when both the second classical signature verification result and the second post-quantum signature verification result are correct, obtain the public key in the classical encryption key pair and the public key in the post-quantum encryption key pair from the key response packet. The processor is also configured to generate a classical signature certificate in a security certificate for the terminal according to the terminal classical signature public key. And generate a classical encryption certificate in a security certificate for the terminal according to the public key in the classical encryption key pair. And generate a post-quantum signature certificate in a security certificate for the terminal according to the terminal post-quantum signature public key and generate a post-quantum encryption certificate in a security certificate for the terminal according to the public key in the post-quantum encryption key pair.
[0156] Specifically, when receiving the key response package sent by the key management system, the certificate authentication center verifies the second classical signature message according to the classical signature algorithm to obtain the second classical signature result. And verifies the second post-quantum signature message according to the post-quantum signature algorithm to obtain the second post-quantum signature result. Then, when both the second classical signature result and the second post-quantum signature result are correct, the certificate authentication center obtains the public key in the classical encryption key pair and the public key in the post-quantum encryption key pair from the key response package. Then, the certificate authentication center generates a classical signature certificate in the security certificate for the terminal according to the classical signature public key of the terminal. And generates a classical encryption certificate in the security certificate for the terminal according to the public key in the classical encryption key pair. And generates a post-quantum signature certificate in the security certificate for the terminal according to the post-quantum signature public key of the terminal. And generates a post-quantum encryption certificate in the security certificate for the terminal according to the public key in the post-quantum encryption key pair.
[0157] In this way, after confirming that the results of multiple signature verifications are correct, the certificate authentication center obtains the terminal's signature certificate, encryption certificate, post-quantum signature certificate and post-quantum encryption certificate. These certificates can be used for terminal communications and protect data during terminal communications.
[0158] See also Fig.18 In some embodiments, the method further comprises: 052: Sign the classic encryption certificate according to the private key in the terminal classic signature key pair to obtain the first classic encryption certificate signature in the security certificate; 053: The classical encryption certificate is signed according to the private key in the terminal post-quantum signature key pair to obtain the second classical encryption certificate signature in the security certificate.
[0159] In some embodiments, the signature module is used to sign the classic encryption certificate according to the private key in the terminal classic signature key pair to obtain the first classic encryption certificate signature in the security certificate. The signature module is also used to sign the classic encryption certificate according to the private key in the terminal post-quantum signature key pair to obtain the second classic encryption certificate signature in the security certificate.
[0160] In some embodiments, the processor is further configured to sign the classic encryption certificate according to the private key in the terminal classic signature key pair to obtain a first classic encryption certificate signature in the security certificate, and to sign the classic encryption certificate according to the private key in the terminal post-quantum signature key pair to obtain a second classic encryption certificate signature in the security certificate.
[0161] Specifically, the certificate authentication center signs the classic encryption certificate according to the private key in the terminal classic signature key pair to obtain the first classic encryption certificate signature in the security certificate. Then, the certificate authentication center signs the classic encryption certificate according to the private key in the terminal post-quantum signature key pair to obtain the second classic encryption certificate signature in the security certificate.
[0162] In this way, the certificate authentication center obtains the first and second signatures of the classical encryption certificate, which can be used to verify the accuracy of the classical encryption certificate and confirm that the classical encryption certificate has not been unauthorizedly accessed during the transmission process. And the second signature of the classical encryption certificate in the security certificate obtained by signing the classical encryption certificate with the private key in the terminal post-quantum signature key pair also has good anti-quantum capability.
[0163] See also Fig.19 In some embodiments, the method further comprises: 054: Sign the classic signature certificate according to the private key in the terminal classic signature key pair to obtain the first classic signature certificate signature in the security certificate; 055: The classic signature certificate is signed according to the private key in the terminal post-quantum signature key pair to obtain the second classic signature certificate signature in the security certificate.
[0164] In some embodiments, the signature module is used to sign the classic signature certificate according to the private key in the terminal classic signature key pair to obtain the first classic signature certificate signature in the security certificate. The signature module is also used to sign the classic signature certificate according to the private key in the terminal post-quantum signature key pair to obtain the second classic signature certificate signature in the security certificate.
[0165] In some embodiments, the processor is further configured to sign the classic signature certificate according to the private key in the terminal classic signature key pair to obtain a first classic signature certificate signature in the security certificate, and to sign the classic signature certificate according to the private key in the terminal post-quantum signature key pair to obtain a second classic signature certificate signature in the security certificate.
[0166] Specifically, the certificate authentication center signs the classic signature certificate according to the private key in the terminal classic signature key pair to obtain the first classic signature certificate signature in the security certificate. Then, the certificate authentication center signs the classic signature certificate according to the private key in the terminal post-quantum signature key pair to obtain the second classic signature certificate signature in the security certificate.
[0167] In this way, the certificate authentication center obtains the first and second signatures of the classic signature certificate, which can be used to verify the accuracy of the classic signature certificate and confirm that the classic signature certificate has not been unauthorizedly accessed during the transmission process. And the signature of the second classic signature certificate in the security certificate obtained by signing the classic signature certificate with the private key in the terminal post-quantum signature key pair also has good anti-quantum capability.
[0168] See also Fig. 20 In some embodiments, the method further comprises: 056: Sign the post-quantum encryption certificate according to the private key in the terminal classic signature key pair to obtain the first post-quantum encryption certificate signature in the security certificate; 057: Sign the post-quantum encryption certificate according to the private key in the terminal post-quantum signature key pair to obtain the second post-quantum encryption certificate signature in the security certificate.
[0169] In some embodiments, the signature module is used to sign the post-quantum encryption certificate according to the private key in the terminal classical signature key pair to obtain the first post-quantum encryption certificate signature in the security certificate. The signature module is also used to sign the post-quantum encryption certificate according to the private key in the terminal post-quantum signature key pair to obtain the second post-quantum encryption certificate signature in the security certificate.
[0170] In some embodiments, the processor is further configured to sign the post-quantum encryption certificate according to the private key in the terminal classical signature key pair to obtain a first post-quantum encryption certificate signature in the security certificate. And to sign the post-quantum encryption certificate according to the private key in the terminal post-quantum signature key pair to obtain a second post-quantum encryption certificate signature in the security certificate.
[0171] Specifically, the certificate authentication center signs the post-quantum encryption certificate according to the private key in the terminal's classical signature key pair to obtain the first post-quantum encryption certificate signature in the security certificate. Then, the certificate authentication center signs the post-quantum encryption certificate according to the private key in the terminal's post-quantum signature key pair to obtain the second post-quantum encryption certificate signature in the security certificate.
[0172] In this way, the certificate authentication center obtains the first and second post-quantum encryption certificate signatures that can be used to verify the accuracy of the post-quantum encryption certificate and confirm that the post-quantum encryption certificate has not been unauthorizedly accessed during the transmission process. And the second post-quantum encryption certificate signature in the security certificate obtained by signing the post-quantum encryption certificate with the private key in the terminal post-quantum signature key pair also has good anti-quantum capabilities.
[0173] See also Fig.21 In some embodiments, the method further comprises: 058: Sign the post-quantum signature certificate according to the private key in the terminal classic signature key pair to obtain the first post-quantum signature certificate signature in the security certificate; 059: Sign the post-quantum signature certificate according to the private key in the terminal post-quantum signature key pair to obtain the second post-quantum signature certificate signature in the security certificate.
[0174] In some embodiments, the signature module is used to sign the post-quantum signature certificate according to the private key in the terminal classical signature key pair to obtain the first post-quantum signature certificate signature in the security certificate. The signature module is also used to sign the post-quantum signature certificate according to the private key in the terminal post-quantum signature key pair to obtain the second post-quantum signature certificate signature in the security certificate.
[0175] In some embodiments, the processor is further configured to sign the post-quantum signature certificate according to the private key in the terminal classical signature key pair to obtain a first post-quantum signature certificate signature in the security certificate. And to sign the post-quantum signature certificate according to the private key in the terminal post-quantum signature key pair to obtain a second post-quantum signature certificate signature in the security certificate.
[0176] Specifically, the certificate authentication center signs the post-quantum signature certificate according to the private key in the terminal's classical signature key pair to obtain the first post-quantum signature certificate signature in the security certificate. Then, the certificate authentication center signs the post-quantum signature certificate according to the private key in the terminal's post-quantum signature key pair to obtain the second post-quantum signature certificate signature in the security certificate.
[0177] In this way, the certificate authentication center obtains the first and second post-quantum signature certificate signatures that can be used to verify the accuracy of the post-quantum signature certificate and confirm that the post-quantum signature certificate has not been unauthorizedly accessed during the transmission process. And the second post-quantum signature certificate signature in the security certificate obtained by signing the post-quantum signature certificate with the private key in the terminal post-quantum signature key pair also has good anti-quantum capabilities.
[0178] See also Fig. 22 In some embodiments, the key response package includes a classical cryptographic envelope and a post-quantum cryptographic envelope, and step 044 (generating a response message according to the key response package and the security certificate, and sending the response message to the terminal) includes: 0441: Sign the classic cryptographic envelope according to the classic signature algorithm to obtain a first classic cryptographic envelope signature; 0442: The classical cryptographic envelope is signed according to the post-quantum signature algorithm to obtain the first classical cryptographic envelope post-quantum signature; 0443: Sign the post-quantum cryptographic envelope according to the classical signature algorithm to obtain the first post-quantum cryptographic envelope signature; 0444: Sign the post-quantum cryptographic envelope according to the post-quantum signature algorithm to obtain a first post-quantum cryptographic envelope post-quantum signature; 0445: Encrypting the classical cryptographic envelope according to the second quantum key to obtain an encrypted classical cryptographic envelope; 0446: Encrypting the post-quantum cryptographic envelope according to the second quantum key to obtain an encrypted post-quantum cryptographic envelope; 0447: Send the security certificate, the first classical cryptographic envelope signature, the first classical cryptographic envelope post-quantum signature, the first post-quantum cryptographic envelope signature, the first post-quantum cryptographic envelope post-quantum signature, the encrypted classical cryptographic envelope and the encrypted post-quantum cryptographic envelope as response messages to the terminal.
[0179] In certain embodiments, the signature module is used to sign the classical cryptographic envelope according to the classical signature algorithm to obtain the first classical cryptographic envelope signature. And the signature module is used to sign the classical cryptographic envelope according to the post-quantum signature algorithm to obtain the first classical cryptographic envelope post-quantum signature. And the signature module is used to sign the post-quantum cryptographic envelope according to the classical signature algorithm to obtain the first post-quantum cryptographic envelope signature and the signature module is used to sign the post-quantum cryptographic envelope according to the post-quantum signature algorithm to obtain the first post-quantum cryptographic envelope post-quantum signature. The encryption module is used to encrypt the classical cryptographic envelope according to the second quantum key to obtain an encrypted classical cryptographic envelope. And the post-quantum cryptographic envelope is encrypted according to the second quantum key to obtain an encrypted post-quantum cryptographic envelope. The processing module is used to send the security certificate, the first classical cryptographic envelope signature, the first classical cryptographic envelope post-quantum signature, the first post-quantum cryptographic envelope signature, the first post-quantum cryptographic envelope post-quantum signature, the encrypted classical cryptographic envelope and the encrypted post-quantum cryptographic envelope as a response message to the terminal.
[0180] In certain embodiments, the processor is further configured to sign the classical cryptographic envelope according to the classical signature algorithm to obtain a first classical cryptographic envelope signature. And sign the classical cryptographic envelope according to the post-quantum signature algorithm to obtain a first classical cryptographic envelope post-quantum signature. And sign the post-quantum cryptographic envelope according to the classical signature algorithm to obtain a first post-quantum cryptographic envelope signature and sign the post-quantum cryptographic envelope according to the post-quantum signature algorithm to obtain a first post-quantum cryptographic envelope post-quantum signature. The processor is further configured to encrypt the classical cryptographic envelope according to the second quantum key to obtain an encrypted classical cryptographic envelope. And encrypt the post-quantum cryptographic envelope according to the second quantum key to obtain an encrypted post-quantum cryptographic envelope. And send the security certificate, the first classical cryptographic envelope signature, the first classical cryptographic envelope post-quantum signature, the first post-quantum cryptographic envelope signature, the first post-quantum cryptographic envelope post-quantum signature, the encrypted classical cryptographic envelope, and the encrypted post-quantum cryptographic envelope as a response message to the terminal.
[0181] Specifically, the certificate authentication center signs the classical cryptographic envelope according to the classical signature algorithm to obtain the first classical cryptographic envelope signature. Then, the certificate authentication center signs the classical cryptographic envelope according to the post-quantum signature algorithm to obtain the first classical cryptographic envelope post-quantum signature. Then, the certificate authentication center signs the post-quantum cryptographic envelope according to the classical signature algorithm to obtain the first post-quantum cryptographic envelope signature. The certificate authentication center then signs the post-quantum cryptographic envelope according to the post-quantum signature algorithm to obtain the first post-quantum cryptographic envelope post-quantum signature. Subsequently, the certificate authentication center encrypts the classical cryptographic envelope according to the second quantum key to obtain an encrypted classical cryptographic envelope. In addition, the certificate authentication center encrypts the post-quantum cryptographic envelope according to the second quantum key to obtain an encrypted post-quantum cryptographic envelope. Finally, the certificate authentication center sends the security certificate, the first classical cryptographic envelope signature, the first classical cryptographic envelope post-quantum signature, the first post-quantum cryptographic envelope signature, the first post-quantum cryptographic envelope post-quantum signature, the encrypted classical cryptographic envelope, and the encrypted post-quantum cryptographic envelope as a response message to the terminal.
[0182] In this way, the certificate authentication center sends the corresponding message to the terminal, so that the terminal can protect the communication data of the terminal according to the security certificate in the response message, and the first classical cryptographic envelope signature, the first classical cryptographic envelope post-quantum signature, the first post-quantum cryptographic envelope signature and the first post-quantum cryptographic envelope post-quantum signature in the response message can confirm that the response message has not been unauthorizedly accessed during the transmission process. The encrypted classical cryptographic envelope and the encrypted post-quantum cryptographic envelope in the response message can protect the classical cryptographic envelope and the post-quantum cryptographic envelope.
[0183] See also Fig.23 The embodiment of the present application provides a method for enhancing quantum security of online certificate issuance and key pair distribution in a communication network. The communication network includes a terminal, a certificate authentication center, and a key management system. The method is used in the key management system. The method includes: 060: Receive the key application package sent by the certificate authority; 061: Generate a key response package based on the key request package and send the key response package to the certificate authority.
[0184] The embodiment of the present application also provides a key management system, including a memory and a processor. The method of the embodiment of the present application can be implemented by the key management system of the embodiment of the present application. Specifically, a computer program is stored in the memory, and the processor is used to receive a key application package sent by a certificate authentication center. And a key response package is generated according to the key application package, and the key response package is sent to the certificate authentication center.
[0185] The embodiment of the present application also provides a key management system anti-quantum security enhancement device. The method of the embodiment of the present application can be implemented by the key management system anti-quantum security enhancement device of the embodiment of the present application. Specifically, the key management system anti-quantum security enhancement device includes a receiving module and a processing module. The receiving module is used to receive a key application package sent by a certificate authentication center. The processing module is used to generate a key response package based on the key application package, and send the key response package to the certificate authentication center.
[0186] Specifically, the anti-quantum security enhancement method of this embodiment is basically the same as the anti-quantum security enhancement method of the aforementioned embodiment with the terminal as the execution object. For details, please refer to the explanation of the corresponding part. The difference is that this embodiment takes the key management system as the execution object, which will not be repeated here.
[0187] In summary, in the anti-quantum security enhancement method, communication system, terminal, certificate authentication center and key management system of the online certificate issuance and key pair distribution of the communication network of the implementation mode of the present application, for the communication process in which the terminal obtains a security certificate from the certificate authentication center and obtains a key pair from the key management system, the terminal applies for a first quantum key, and uses the first quantum key to encrypt the quantum key identifier and the terminal key pair to generate a first encrypted message that can resist quantum computing attacks, and the first quantum key has good anti-quantum capabilities. Then, the terminal generates an application message based on the first encrypted message, the terminal key pair and the quantum key identifier, and sends the application message to the certificate authentication center. The certificate authentication center generates a key application package based on the application message and sends the key application package to the key management system. The key management system processes the key application package according to the post-quantum cryptographic algorithm to obtain a key response package, and then returns the key response package to the certificate authentication center. The post-quantum cryptographic algorithm is a series of encryption algorithms designed to resist quantum computing attacks. The certificate authentication center generates a security certificate based on the application message and the key response package sent by the key management system, and generates a response message based on the security certificate and the key response package and sends it to the terminal. In this way, quantum key distribution technology and post-quantum cryptographic algorithms enhance the terminal's ability to resist quantum computing attacks in the communication process of obtaining security certificates from the certificate authentication center and obtaining key pairs from the key management system.
[0188] See also Fig.24 In some embodiments, the method further comprises: 062: Obtain the management security certificate of the key management system from the certificate authority.
[0189] In some embodiments, the acquisition module is used to obtain a management security certificate of the key management system from a certificate authentication center.
[0190] In some embodiments, the processor is further configured to obtain a management security certificate of the key management system from a certificate authority.
[0191] Specifically, the key management system obtains the management security certificate of the key management system from the certificate authentication center.
[0192] In this way, the key management system obtains its own management security certificate, which can be used for encryption and decryption of subsequent processes.
[0193] See also Fig.25 In some implementations, step 060 (receiving a key application package sent by a certificate authority) includes: 0601: Receive a key application package sent by a certificate authentication center, which includes a terminal classic signature public key, a terminal temporary post-quantum encryption public key, a classic signature identifier associated with the terminal classic signature public key, a post-quantum signature identifier associated with the terminal post-quantum signature public key, a first classic signature value, and a first post-quantum signature value.
[0194] In some embodiments, the receiving module is used to receive a key application package sent by a certificate authentication center, the key application package including a terminal classic signature public key, a terminal temporary post-quantum encryption public key, a classic signature identifier associated with the terminal classic signature public key, a post-quantum signature identifier associated with the terminal post-quantum signature public key, a first classic signature value, and a first post-quantum signature value.
[0195] In some embodiments, the processor is also used to receive a key application package sent by a certificate authentication center, the key application package including a terminal classic signature public key, a terminal temporary post-quantum encryption public key, a classic signature identifier associated with the terminal classic signature public key, a post-quantum signature identifier associated with the terminal post-quantum signature public key, a first classic signature value, and a first post-quantum signature value.
[0196] Specifically, the key management system receives a key application package sent by a certificate authentication center, which includes a terminal classic signature public key, a terminal temporary post-quantum encryption public key, a classic signature identifier associated with the terminal classic signature public key, a post-quantum signature identifier associated with the terminal post-quantum signature public key, a first classic signature value, and a first post-quantum signature value.
[0197] In this way, the key management system receives the terminal classical signature public key, the terminal temporary post-quantum encryption public key, the classical signature identifier associated with the terminal classical signature public key, the post-quantum signature identifier associated with the terminal post-quantum signature public key, the first classical signature value and the first post-quantum signature value, which can be used for subsequent processes.
[0198] See also Fig.26 In some embodiments, the method further comprises: 063: Verify the first classic signature value according to the classic signature algorithm associated with the classic signature public key of the terminal to obtain a first signature verification result; 064: Verify the first post-quantum signature value according to the post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain a second verification result; When both the first signature verification result and the second signature verification result are correct, a classical encryption key pair and a post-quantum encryption key pair are generated for the terminal.
[0199] In some embodiments, the signature verification module is used to verify the first classical signature value according to the classical signature algorithm associated with the terminal classical signature public key to obtain a first signature verification result. The signature verification module is also used to verify the first post-quantum signature value according to the post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain a second signature verification result. The derivation module is used to generate a classical encryption key pair and a post-quantum encryption key pair for the terminal when both the first signature verification result and the second signature verification result are correct.
[0200] In some embodiments, the processor is further configured to perform a signature verification process on the first classical signature value according to a classical signature algorithm associated with the terminal classical signature public key to obtain a first signature verification result. And perform a signature verification process on the first post-quantum signature value according to a post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain a second signature verification result. And when both the first signature verification result and the second signature verification result are correct, generate a classical encryption key pair and a post-quantum encryption key pair for the terminal.
[0201] Specifically, the key management system verifies the first classical signature value according to the classical signature algorithm associated with the terminal classical signature public key to obtain a first verification result. Then, the key management system verifies the first post-quantum signature value according to the post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain a second verification result. Finally, if both the first verification result and the second verification result are correct, the key management system generates a classical encryption key pair and a post-quantum encryption key pair for the terminal.
[0202] In this way, the key management system undergoes multiple signature verification processes and confirms that the received key application package is correct, then generates a classic encryption key pair and a post-quantum encryption key pair for the terminal, which can be used by the subsequent certificate authentication center to generate security certificates based on the classic encryption key pair and the post-quantum encryption key pair.
[0203] See also Fig. 27 In some implementations, step 061 (generating a key response package according to the key application package and sending the key response package to the certificate authentication center) includes: 0611: Generate a first temporary key response packet according to the key application packet; 0612: Generate a second temporary key response package according to the first temporary key response package, the temporary symmetric key randomly generated by the key management system, and the classic encryption key pair; 0613: Generate a third temporary key response packet according to the second temporary key response packet and the post-quantum encryption key pair; 0614: storing the classical signature identifier and the post-quantum signature identifier in the third temporary key response package to obtain a fourth temporary key response package; 0615: Process the fourth temporary key response packet according to the classical signature algorithm and the post-quantum signature algorithm to obtain a key response packet; 0616: Send the key response package to the certificate authority.
[0204] In some embodiments, the derivation module is used to generate a first temporary key response package based on the key application package. And generate a second temporary key response package based on the first temporary key response package, a temporary symmetric key randomly generated by the key management system, and a classical encryption key pair. And generate a third temporary key response package based on the second temporary key response package and the post-quantum encryption key pair. The storage module is also used to store the classic signature identifier and the post-quantum signature identifier in the third temporary key response package to obtain a fourth temporary key response package. The processing module is used to process the fourth temporary key response package according to the classical signature algorithm and the post-quantum signature algorithm to obtain a key response package. The sending module is used to send the key response package to the certificate authentication center.
[0205] In some embodiments, the processor is further configured to generate a first temporary key response package based on the key application package. And generate a second temporary key response package based on the first temporary key response package, a temporary symmetric key randomly generated by the key management system, and a classical encryption key pair. And generate a third temporary key response package based on the second temporary key response package and the post-quantum encryption key pair. The processor is also configured to store the classical signature identifier and the post-quantum signature identifier in the third temporary key response package to obtain a fourth temporary key response package. And process the fourth temporary key response package according to the classical signature algorithm and the post-quantum signature algorithm to obtain a key response package. And send the key response package to the certificate authentication center.
[0206] Specifically, the key management system generates a first temporary key response package based on the key application package. Then, the key management system generates a second temporary key response package based on the first temporary key response package, the temporary symmetric key randomly generated by the key management system, and the classical encryption key pair. Then, the key management system generates a third temporary key response package based on the second temporary key response package and the post-quantum encryption key pair. The key management system then stores the classic signature identifier and the post-quantum signature identifier in the third temporary key response package to obtain a fourth temporary key response package. Subsequently, the key management system processes the fourth temporary key response package according to the classical signature algorithm and the post-quantum signature algorithm to obtain a key response package. Finally, the key management system sends the key response package to the certificate authentication center.
[0207] In this way, the key management system generates a key response package by performing various operations based on post-quantum cryptographic algorithms, classical cryptographic algorithms and other data information, and the certificate authentication system can generate a security certificate based on the key response package.
[0208] See also Fig.28 In some embodiments, step 0612 (generating a second temporary key response packet according to the first temporary key response packet, the temporary symmetric key randomly generated by the key management system, and the classic encryption key pair) includes: 06121: Encrypt the private key in the classic encryption key pair according to the temporary symmetric key to obtain the classic encryption private key in the classic password envelope; 06122: Sign the temporary symmetric key according to the terminal signature public key to obtain the encrypted temporary symmetric key in the classic password envelope; 06123: Store the public key and the classic cryptographic envelope in the classic encryption key pair in the first temporary key response package to obtain a second temporary key response package.
[0209] In some embodiments, the encryption module is used to encrypt the private key in the classic encryption key pair according to the temporary symmetric key to obtain the classic encryption private key in the classic cryptographic envelope. The signature module is also used to sign the temporary symmetric key according to the terminal signature public key to obtain the encrypted temporary symmetric key in the classic cryptographic envelope. The storage module is used to store the public key in the classic encryption key pair and the classic cryptographic envelope in the first temporary key response package to obtain the second temporary key response package.
[0210] In some embodiments, the processor is further configured to encrypt the private key in the classic encryption key pair according to the temporary symmetric key to obtain the classic encryption private key in the classic cryptographic envelope. And to sign the temporary symmetric key according to the terminal signature public key to obtain the encrypted temporary symmetric key in the classic cryptographic envelope. And to store the public key in the classic encryption key pair and the classic cryptographic envelope in the first temporary key response packet to obtain the second temporary key response packet.
[0211] Specifically, the key management system encrypts the private key in the classic encryption key pair according to the temporary symmetric key to obtain the classic encryption private key in the classic cryptographic envelope. Then, the key management system signs the temporary symmetric key according to the terminal signature public key to obtain the encrypted temporary symmetric key in the classic cryptographic envelope. Finally, the key management system stores the public key in the classic encryption key pair and the classic cryptographic envelope in the first temporary key response package to obtain the second temporary key response package.
[0212] In this way, the key management system ensures the security of the private key in the classic encryption key pair during transmission and ensures that only the terminal holding the corresponding private key can decrypt and use the temporary symmetric key.
[0213] See also Fig.29 In some embodiments, step 0613 (generating a third temporary key response packet based on the second temporary key response packet and the post-quantum encryption key pair) includes: 06131: concatenate the random number randomly generated by the key management system and the fixed character string to obtain a third concatenated body; 06132: performing post-quantum encryption processing on the third spliced body to obtain a first encryption key; 06133: performing post-quantum encryption encapsulation processing on the third spliced body to obtain a first encapsulated message in a post-quantum cryptographic envelope; 06134: Encrypt the private key in the post-quantum encryption key pair according to the first encryption key to obtain the post-quantum encryption private key in the post-quantum cryptographic envelope; 06135: Store the public key and the post-quantum cryptographic envelope in the post-quantum encryption key pair in the second temporary key response package to obtain a third temporary key response package.
[0214] In certain embodiments, the splicing module is used to splice the random number randomly generated by the key management system and the fixed string to obtain a third splicing body. The encryption module is also used to perform post-quantum encryption processing on the third splicing body to obtain a first encryption key. The encryption encapsulation module is used to perform post-quantum encryption encapsulation processing on the third splicing body to obtain a first encapsulated message in a post-quantum cryptographic envelope. The encryption module is used to encrypt the private key in the post-quantum encryption key pair according to the first encryption key to obtain a post-quantum encryption private key in the post-quantum cryptographic envelope. The storage module is used to store the public key in the post-quantum encryption key pair and the post-quantum cryptographic envelope in the second temporary key response package to obtain a third temporary key response package.
[0215] In some embodiments, the processor is also used to concatenate the random number randomly generated by the key management system and the fixed string to obtain a third concatenation. And perform post-quantum encryption processing on the third concatenation to obtain the first encryption key. And perform post-quantum encryption encapsulation processing on the third concatenation to obtain the first encapsulated message in the post-quantum cryptographic envelope. The processor is also used to encrypt the private key in the post-quantum encryption key pair according to the first encryption key to obtain the post-quantum encryption private key in the post-quantum cryptographic envelope. And store the public key in the post-quantum encryption key pair and the post-quantum cryptographic envelope in the second temporary key response package to obtain a third temporary key response package.
[0216] Specifically, the key management system concatenates the random number randomly generated by the key management system and the fixed string to obtain a third concatenation. Then, the key management system performs post-quantum encryption processing on the third concatenation to obtain the first encryption key. The key management system then performs post-quantum encryption encapsulation processing on the third concatenation to obtain the first encapsulated message in the post-quantum cryptographic envelope. Then, the key management system encrypts the private key in the post-quantum encryption key pair according to the first encryption key to obtain the post-quantum encryption private key in the post-quantum cryptographic envelope. Finally, the key management system stores the public key in the post-quantum encryption key pair and the post-quantum cryptographic envelope in the second temporary key response package to obtain a third temporary key response package.
[0217] In this way, the key management system uses the first encryption key generated by the post-quantum encryption algorithm to encrypt the private key in the post-quantum encryption key pair, ensuring the security of the private key in the post-quantum encryption key pair during transmission.
[0218] See also Fig.30 In some implementations, step 0615 (processing the fourth temporary key response packet according to the classical signature algorithm and the post-quantum signature algorithm to obtain a key response packet) includes: 06151: Sign the fourth temporary key response package according to the classic signature algorithm to obtain a second classic signature message; 06152: Performing post-quantum signature processing on the fourth temporary key response packet according to the post-quantum signature algorithm to obtain a second post-quantum signature message; 06153: Store the second classical signature message and the second post-quantum signature message in the fourth temporary key response package to obtain a key response package.
[0219] In some embodiments, the signature module is used to perform a signature process on the fourth temporary key response package according to a classical signature algorithm to obtain a second classical signature message. And perform a post-quantum signature process on the fourth temporary key response package according to a post-quantum signature algorithm to obtain a second post-quantum signature message. The storage module is also used to store the second classical signature message and the second post-quantum signature message in the fourth temporary key response package to obtain a key response package.
[0220] In some embodiments, the processor is further configured to perform a signature process on the fourth temporary key response package according to a classical signature algorithm to obtain a second classical signature message, and perform a post-quantum signature process on the fourth temporary key response package according to a post-quantum signature algorithm to obtain a second post-quantum signature message, and store the second classical signature message and the second post-quantum signature message in the fourth temporary key response package to obtain a key response package.
[0221] Specifically, the key management center performs a signature process on the fourth temporary key response package according to the classical signature algorithm to obtain a second classical signature message. Then, the key management center performs a post-quantum signature process on the fourth temporary key response package according to the post-quantum signature algorithm to obtain a second post-quantum signature message. Finally, the key management center stores the second classical signature message and the second post-quantum signature message in the fourth temporary key response package to obtain a key response package.
[0222] In this way, the key management center processes the fourth temporary key response package according to the post-quantum cryptography algorithm and the classical algorithm to obtain a key response package, which can ensure that the key application package is not accessed by unauthorized persons during transmission.
[0223] The following is an example to illustrate the method of the implementation method of the present application. In the embodiment of the present application, the terminal is a user terminal device that uses a user digital certificate issued by a certificate authentication center and a user key pair distributed by a key management system. The certificate authentication center issues a digital certificate including a signature certificate and an encryption certificate to the user, and applies to the key management system KM for the user's encryption key pair. The certificate authentication center is usually directly connected to the cryptographic device, and the cryptographic device completes the relevant cryptographic operations. The implementation method of the present application regards the certificate authentication center and the cryptographic device as a whole, hereinafter directly referred to as the certificate authentication center CA, referred to as CA. The key management system generates and distributes the terminal's encryption key pair to the certificate authentication center CA. The key management system is also usually directly connected to the cryptographic device, and the cryptographic device completes the relevant cryptographic and key operations. The implementation method of the present application regards the key management system and the cryptographic device as a whole, hereinafter directly referred to as the key management system KM, referred to as KM. The quantum network node is a network node, and the quantum network node stores and provides the generated quantum key to the device management center through a trusted channel or provides the generated quantum key to the cryptographic device through a key service node. The key service node is a service node, and the key service node is used to connect to the quantum network node and provide pre-shared key injection and quantum key services for multiple cryptographic devices.
[0224] See also Fig.31, the terminal classic signature key pair is the user SM2 signature key pair, the terminal post-quantum signature key pair is the user PQC signature key pair, and the terminal post-quantum encryption key pair is the user PQC temporary encryption key pair. The application message is an online certificate and key application message. The classic signature identifier associated with the terminal classic signature public key is the SM2 algorithm identifier, and the post-quantum signature identifier associated with the terminal post-quantum signature public key is the PQC signature algorithm identifier.
[0225] Before communicating, CA accesses the second quantum network node that is physically closest and authorized through a trusted channel. A trusted channel refers to a mechanism or protocol that provides a secure communication path between two communicating entities. One way to establish it is to place the authentication server and the second quantum network node in the same cabinet and connect them directly with a shielded network cable. This channel ensures the confidentiality, integrity and availability of data during transmission, preventing unauthorized access, tampering or eavesdropping. In addition, CA generates and issues SM2 signature root certificates and PQC signature root certificates. Only with the root certificates can CA issue various certificates. In addition, CA issues SM2 signature certificates and PQC signature certificates for KM.
[0226] The terminal uses the key service node to charge the personal password module in the terminal with a pre-shared key, with a total of 1M bits of 128-bit keys. The personal password module includes but is not limited to the smart password key (HSM) and the virtual security module (VSM). Then, the terminal sends a quantum key application to the key service node and randomly uses a key in the smart password key as the protection key. The terminal performs a hash operation (Hash-based Message Authentication Code, HMAC) on the key ID and the application content by using the SM3 algorithm and the protection key. Afterwards, the key service node also performs a hash operation on the key ID and the application content by using the SM3 algorithm and the protection key to verify the integrity and authenticity of the data. HMAC is a method that uses hash functions and keys to provide data integrity and source authentication.
[0227] After the quantum key application is confirmed successfully, the terminal receives the quantum key encryption result obtained by the key service node by encrypting the first quantum key QK_UUID-1 and the quantum key identifier UUID_QK according to the protection key. The first quantum key QK_UUID-1 is generated by the first quantum network node connected to the key service node and distributed to the key service node. The quantum key identifier UUID_QK is obtained by the first quantum network node identifying the first quantum key QK_UUID-1 according to the unique universal identification code of the first quantum network node. The terminal then decrypts the quantum key encryption result according to the protection key to obtain the first quantum key QK_UUID-1 and the quantum key identifier UUID_QK.
[0228] The terminal uses a personal password module such as an intelligent password key to generate a user SM2 signature key pair, a user PQC signature key pair, and a user PQC temporary encryption key pair. Then, the terminal concatenates the public key of the user SM2 signature key pair, the public key of the user PQC signature key pair, the public key of the user PQC temporary encryption key pair, and the quantum key identifier UUID_QK to obtain a first concatenation T1. The terminal then uses the SM3 cryptographic hash algorithm and the first quantum key QK_UUID-1 to calculate the first concatenation T1 to obtain the first encrypted message M1. Finally, the terminal sends the public key of the user SM2 signature key pair, the public key of the user PQC signature key pair, the public key of the user PQC temporary encryption key pair, the quantum key identifier UUID_QK, and the first encrypted message M1 to the CA online as an online certificate and key application message.
[0229] After receiving the certificate and key application message sent by the terminal, the CA first sends a quantum key application to the second quantum network node directly connected to the CA based on the quantum key identifier UUID_QK. After the quantum key application is approved, the second quantum network node sends the second quantum key QK_UUID-2 to the CA. The CA concatenates the public key of the user SM2 signature key pair, the public key of the user PQC signature key pair, the public key of the user PQC temporary encryption key pair, and the quantum key identifier UUID_QK to obtain the second concatenation T2. The second concatenation T2 is then encrypted using the SM3 cryptographic hash algorithm and the second quantum key QK_UUID-2 to obtain the second encrypted message M2. The first encrypted message M1 and the second encrypted message M2 are then compared to confirm whether the first encrypted message M1 and the second encrypted message M2 are consistent. When the first encrypted message M1 and the second encrypted message M2 are consistent, it is confirmed that the application message received by the CA is correct.
[0230] After receiving the second quantum key QK_UUID-2 sent by the second quantum network node and confirming that the application message received by CA is correct, CA generates the first temporary key application package CARequest-1 according to the KM security protocol. Then, CA stores the user SM2 signature key pair and the user PQC temporary encryption key pair in the user public key information substructure (userPubKey) of the user information substructure (AppUserInfo) of the key request structure (KSRequest) of the first temporary key application package CARequest-1, and obtains the second temporary key application package CARequest-2. Then, CA stores the SM2 algorithm identifier and the PQC algorithm identifier in the signature algorithm structure signatureAlgorithm in the CARequest-2 structure to obtain the third temporary key application package CARequest-3. Then, the SM2 algorithm and the PQC algorithm are used to sign the third temporary key application package CARequest-3 to obtain the first classical signature value and the first post-quantum signature value, and the first classical signature value and the first post-quantum signature value are stored in the signature value signatureValue in the third temporary key application package CARequest-3 to obtain the key application package CARequest. Finally, CA sends the key application package CARequest to KM.
[0231] After receiving the key application package CARequest sent by CA, KM uses CA's SM2 signature root certificate to verify the first classic signature value in the key application package to obtain a first signature verification result, and uses the PQC signature root certificate to verify the first post-quantum signature value to obtain a second signature verification result. When both the first signature verification result and the second signature verification result are correct, KM generates an SM2 encryption key pair and a PQC encryption key pair for the terminal. KM generates a first temporary key response package KMRespond-1 according to the KM security protocol. The ksRespond substructure of the first temporary key response package KMRespond-1 contains at least two Respond response subpackages, and the public key and the classic cryptographic envelope in the SM2 encryption key pair are stored in a Respond response subpackage to obtain a second temporary response package KMRespond-2. In some embodiments, the classic cryptographic envelope is generated in the following manner: KM uses a randomly generated temporary symmetric key to encrypt the private key in the SM2 encryption key pair to obtain a classic encrypted private key in the classic cryptographic envelope, and then uses the public key in the SM2 signature key pair to encrypt the temporary symmetric key in the classic cryptographic envelope. The public key and the post-quantum cryptographic envelope in the PQC encryption key pair are stored in a Respond response sub-package to obtain a third temporary response package KMRespond-3. In some embodiments, the post-quantum cryptographic envelope is generated as follows: KM randomly generates a 256-bit random number R, and concatenates R with a 256-bit fixed string S agreed upon by KM and CA to obtain a third concatenation P3, i.e., R|S. The third concatenation P3 is encrypted according to the PQC key encapsulation algorithm to obtain the first encryption key K, and then the third concatenation P3 is encapsulated using the public key in the user's PQC temporary encryption key pair to obtain the first encapsulated message F1 in the post-quantum cryptographic envelope. Then, KM uses the first encryption key K and the SM4 block cipher algorithm to encrypt the private key in the PQC encryption key pair to obtain the post-quantum encrypted private key in the post-quantum cryptographic envelope.
[0232] In addition, KM will also store the SM2 algorithm identifier and the PQC algorithm identifier in the signatureAlgorithm structure in the KMRequest structure to obtain the fourth temporary key response package KMRespond-4. The fourth temporary key response package is signed using the SM2 algorithm and the PQC algorithm to obtain the second classical signature message and the second post-quantum signature message, and the second classical signature message and the second post-quantum signature message are stored in the signatureValue in the fourth temporary key response package KMRespond-4 to obtain the key response package KMRespond. KM sends the key response package KMRespond to CA.
[0233] After receiving the key response package KMRespond sent by KM, CA uses KM's SM2 signature certificate to verify the second classical signature message to obtain the second classical signature verification result, and uses KM's PQC signature certificate to verify the second post-quantum signature message to obtain the second post-quantum signature verification result. When both the second classical signature verification result and the second post-quantum signature verification result are correct, CA takes out the public key in the SM2 encryption key pair and the public key of the PQC encryption key pair from the Respond response sub-package in the key response package KMRespond.
[0234] Then, CA generates a classic signature certificate in the security certificate based on the public key in the user's SM2 signature key pair, generates a classic encryption certificate in the security certificate based on the public key in the SM2 encryption key pair, generates a post-quantum signature certificate in the security certificate based on the public key in the user's PQC signature key pair, and generates a post-quantum encryption certificate in the security certificate based on the public key in the PQC encryption key pair. While generating the certificate for issuance, CA uses the SM2 signature algorithm to sign the classic signature certificate, the classic encryption certificate, the post-quantum signature certificate, and the post-quantum encryption certificate to obtain the first classic signature certificate signature in the classic signature certificate, the first classic encryption certificate signature in the classic encryption certificate, the first post-quantum signature certificate signature in the post-quantum signature certificate, and the first post-quantum encryption certificate signature in the post-quantum encryption certificate. Then use the PQC signature algorithm to sign the classic signature certificate, the classic encryption certificate, the post-quantum signature certificate, and the post-quantum encryption certificate to obtain the second classic signature certificate signature in the classic signature certificate, the second classic encryption certificate signature in the classic encryption certificate, the second post-quantum signature certificate signature in the post-quantum signature certificate, and the second post-quantum encryption certificate signature in the post-quantum encryption certificate.
[0235] Subsequently, the CA uses the SM2 signature algorithm and the PQC signature algorithm to sign the classical cryptographic envelope to obtain the first classical cryptographic envelope signature and the first classical cryptographic envelope post-quantum signature. The post-quantum cryptographic envelope is then signed using the SM2 signature algorithm and the PQC signature algorithm to obtain the first post-quantum cryptographic envelope signature and the first post-quantum cryptographic envelope post-quantum signature. Next, the CA encrypts the classical cryptographic envelope according to the second quantum key and the SM4 block encryption algorithm to obtain an encrypted classical cryptographic envelope. The post-quantum cryptographic envelope is encrypted according to the second quantum key and the SM4 block encryption algorithm to obtain an encrypted post-quantum cryptographic envelope. The CA sends the security certificate, the first classical cryptographic envelope signature, the first classical cryptographic envelope post-quantum signature, the first post-quantum cryptographic envelope signature, the first post-quantum cryptographic envelope post-quantum signature, the encrypted classical cryptographic envelope, and the encrypted post-quantum cryptographic envelope as response messages to the terminal.
[0236] After receiving the response message sent by the CA, first, the terminal uses the CA's SM2 signature root certificate to verify the signature of the first classic signature certificate in the classic signature certificate issued by the CA, and uses the PQC signature root certificate to verify the signature of the second classic signature certificate in the classic signature certificate issued by the CA, to confirm that the received classic signature certificate is correct. The terminal uses the CA's SM2 signature root certificate to verify the signature of the first classic encryption certificate in the classic encryption certificate issued by the CA, and uses the PQC signature root certificate to verify the signature of the second classic encryption certificate in the classic encryption certificate issued by the CA, to confirm that the received classic encryption certificate is correct. The terminal uses the CA's SM2 signature root certificate to verify the signature of the first post-quantum encryption certificate in the post-quantum encryption certificate issued by the CA, and uses the PQC signature root certificate to verify the signature of the second post-quantum encryption certificate in the post-quantum encryption certificate issued by the CA, to confirm that the received post-quantum encryption certificate is correct. The terminal uses the CA's SM2 signature root certificate to verify the signature of the first post-quantum signature certificate in the post-quantum signature certificate issued by the CA, and uses the PQC signature root certificate to verify the signature of the second post-quantum signature certificate in the post-quantum signature certificate issued by the CA, confirming that the received post-quantum signature certificate is correct.
[0237] Next, the terminal uses the SM2 signature certificate to verify the signature of the first classical cryptographic envelope to obtain the first terminal verification result, and uses the PQC signature algorithm to verify the post-quantum signature of the first classical cryptographic envelope to obtain the second terminal verification result. When the first terminal verification result and the second terminal verification result are correct, the terminal decrypts the encrypted classical cryptographic envelope according to the first quantum key QK_UUID-1 and the SM4 block encryption algorithm to obtain the classical cryptographic envelope. Subsequently, the SM2 signature certificate is used to verify the signature of the first post-quantum cryptographic envelope to obtain the third terminal verification result, and the PQC signature algorithm is used to verify the post-quantum signature of the first post-quantum cryptographic envelope to obtain the fourth terminal verification result. When the third terminal verification result and the fourth terminal verification result are correct, the terminal decrypts the encrypted post-quantum cryptographic envelope according to the first quantum key QK_UUID-1 and the SM4 block encryption algorithm to obtain the post-quantum cryptographic envelope.
[0238] Then, the terminal decrypts the encrypted temporary symmetric key in the classic cryptographic envelope according to the private key in the terminal signature key pair to obtain a temporary symmetric key. Then, the classic encryption private key is decrypted according to the temporary symmetric key to obtain the private key in the classic encryption key pair. Then, the terminal unseals the first encapsulated message F1 in the post-quantum cryptographic envelope to obtain a second splice. Then, the terminal obtains a fixed string S based on the second splice to confirm the correctness of the post-quantum cryptographic envelope. Then, if the post-quantum cryptographic envelope is correct, the terminal performs post-quantum encryption on the first splice to obtain the first encryption key K. And the post-quantum encryption private key in the post-quantum cryptographic envelope is decrypted according to the first encryption key K to obtain the private key in the post-quantum encryption key pair.
[0239] Finally, the terminal obtains the public key and private key in the classical encryption key pair, the public key and private key in the post-quantum encryption key pair, the classical encryption certificate, the classical signature certificate, the post-quantum encryption certificate, and the post-quantum signature certificate, which can be used for various communication processes of the terminal.
[0240] The present application also provides a computer-readable storage medium containing a computer program. When the computer program is executed by one or more processors, the one or more processors execute the method of the present application.
[0241] It is understood that a computer program includes computer program code. The computer program code may be in source code form, object code form, executable file or some intermediate form. Computer readable storage media may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution medium.
[0242] In the description of this specification, the descriptions with reference to the terms "specifically", "further", "particularly", "understandably", etc. are intended to mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not intended to refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0243] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0244] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A quantum security enhancement method for online certificate issuance and key pair distribution in a communication network. It is characterized in that The communication network includes a terminal, a certificate authentication center, and a key management system. The method is used for the terminal, and the method includes: Acquire a first quantum key and a quantum key identifier from a first network node connected to the terminal; Encrypting the quantum key identifier and the randomly generated terminal key pair according to the first quantum key to obtain a first encrypted message; Generate an application message according to the first encrypted message, the terminal key pair and the quantum key identifier, and send the application message to the certificate authentication center; Receive a response message sent by the certificate authentication center so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal, wherein the response message includes a key response package and a security certificate, the key response package is generated by the key management system according to the key application package sent by the certificate authentication center, the key application package is generated by the certificate authentication center according to the application message, and the security certificate is generated by the certificate authentication center according to the application message and the key response package sent by the key management system.
2. The method according to claim 1, It is characterized in that The method of obtaining a first key and a quantum key identifier from a first network node connected to the terminal includes: Using a service node to inject multiple keys into a cryptographic module of the terminal; Sending a quantum key application to the service node, wherein the quantum key application is protected by a protection key, and the protection key is a randomly used one from a plurality of keys injected into the cryptographic module; receiving a quantum key encryption result obtained by the service node encrypting the first quantum key and the quantum key identifier according to the protection key, where the first quantum key is generated by a first network node connected to the service node and distributed to the service node, and the quantum key identifier is obtained by the first network node identifying the first quantum key according to an identification code of the first network node; The quantum key encryption result is decrypted to obtain the first quantum key and the quantum key identifier.
3. The method according to claim 2, It is characterized in that The step of encrypting the quantum key identifier and the randomly generated terminal key pair according to the first quantum key to obtain a first encrypted message includes: Randomly generate a terminal key pair according to the cryptographic module of the terminal, the terminal key pair including a terminal classical signature key pair, a terminal post-quantum signature key pair and a terminal post-quantum encryption key pair; Concatenate the terminal public key and the quantum key identifier to obtain a first concatenation, wherein the terminal public key includes the terminal classical signature public key of the terminal classical signature key pair, the terminal post-quantum signature public key of the terminal post-quantum signature key pair, and the terminal temporary post-quantum encryption public key of the terminal post-quantum encryption key pair; The first spliced body is encrypted according to the first quantum key to obtain a first encrypted message.
4. The method according to claim 3, It is characterized in that The security certificate includes a classic encryption certificate, a first classic encryption certificate signature, and a second classic encryption certificate signature, and the method further includes: Performing signature verification processing on the first classic encryption certificate signature according to the terminal classic signature public key to obtain a first classic encryption certificate signature verification result; Verifying the signature of the second classical encryption certificate according to the terminal post-quantum signature public key to obtain a second classical encryption certificate verification result; When the first classic encryption certificate verification result and the second classic encryption certificate verification result are correct, confirm that the classic encryption certificate is correct.
5. The method according to claim 3, It is characterized in that The security certificate includes a classic signature certificate, a first classic signature certificate signature, and a second classic signature certificate signature, and the method further includes: Verifying the signature of the first classic signature certificate according to the terminal classic signature public key to obtain a first classic signature certificate verification result; Verifying the signature of the second classic signature certificate according to the terminal post-quantum signature public key to obtain a second classic signature certificate verification result; When the verification result of the first classic signature certificate and the verification result of the second classic signature certificate are correct, confirming that the classic signature certificate is correct.
6. The method according to claim 3, It is characterized in that The security certificate includes a post-quantum encryption certificate, a first post-quantum encryption certificate signature, and a second post-quantum encryption certificate signature, and the method further includes: Performing signature verification processing on the first post-quantum encryption certificate signature according to the terminal classic signature public key to obtain a first post-quantum encryption certificate signature verification result; Performing a signature verification process on the second post-quantum encryption certificate signature according to the terminal post-quantum signature public key to obtain a second post-quantum encryption certificate signature verification result; When the first post-quantum encryption certificate verification result and the second post-quantum encryption certificate verification result are correct, confirm that the post-quantum encryption certificate is correct.
7. The method according to claim 3, It is characterized in that The security certificate includes a post-quantum signature certificate, a first post-quantum signature certificate signature, and a second post-quantum signature certificate signature, and the method further includes: Verifying the signature of the first post-quantum signature certificate according to the terminal classic signature public key to obtain a first post-quantum signature certificate verification result; Verify the signature of the second post-quantum signature certificate according to the terminal post-quantum signature public key to obtain a second post-quantum signature certificate verification result; When the verification result of the first post-quantum signature certificate and the verification result of the second post-quantum signature certificate are correct, confirm that the post-quantum signature certificate is correct.
8. The method according to claim 3, It is characterized in that The response message includes a first classical cryptographic envelope signature, a first classical cryptographic envelope post-quantum signature, a first post-quantum cryptographic envelope signature, a first post-quantum cryptographic envelope post-quantum signature, an encrypted classical cryptographic envelope, and an encrypted post-quantum cryptographic envelope, and the method further includes: Performing signature verification processing on the first classic cryptographic envelope signature to obtain a first terminal signature verification result; Performing a signature verification process on the first classical cryptographic envelope post-quantum signature to obtain a second terminal signature verification result; Performing signature verification processing on the first post-quantum cryptographic envelope signature to obtain a third terminal signature verification result; Performing signature verification processing on the first post-quantum cryptographic envelope post-quantum signature to obtain a fourth terminal signature verification result; When the signature verification result of the first terminal, the signature verification result of the second terminal, the signature verification result of the third terminal and the signature verification result of the fourth terminal are all correct, decrypting the encrypted classical cryptographic envelope according to the first quantum key to obtain a classical cryptographic envelope; The encrypted post-quantum cryptographic envelope is decrypted according to the first quantum key to obtain a post-quantum cryptographic envelope.
9. The method according to claim 8, It is characterized in that The method further comprises: Decrypting the encrypted temporary symmetric key in the classic cryptographic envelope according to the private key in the terminal classic signature key pair to obtain a temporary symmetric key; The classic encryption private key in the classic cryptographic envelope is decrypted according to the temporary symmetric key to obtain the private key in the classic encryption key pair.
10. The method according to claim 8, It is characterized in that The method further comprises: Decapsulating the first encapsulated message in the post-quantum cryptographic envelope to obtain a second spliced body; Obtaining a fixed string according to the second concatenated body to confirm the correctness of the post-quantum cryptographic envelope; When the post-quantum cryptographic envelope is correct, performing post-quantum encryption processing on the first spliced body to obtain a first encryption key; The post-quantum encryption private key in the post-quantum cryptographic envelope is decrypted according to the first encryption key to obtain the private key in the post-quantum encryption key pair.
11. A quantum security enhancement method for online certificate issuance and key pair distribution in a communication network. It is characterized in that The communication network includes a terminal, a certificate authentication center and a key management system, and the method is used in the certificate authentication center, and the method includes: receiving an application message sent by the terminal, wherein the application message is generated by the terminal according to a terminal key pair, a quantum key identifier, and a first encrypted message, the terminal key pair is randomly generated by the terminal, the quantum key identifier is obtained by the first network node to which the terminal has accessed, the first encrypted message is obtained by encrypting the quantum key identifier and the terminal key pair with a first quantum key, and the first quantum key is obtained by the first network node to which the terminal has accessed; Generate a key application package according to the application message, and send the key application package to the key management system; Receiving a key response packet sent by the key management system, wherein the key response packet is generated by the key management system according to the key application packet; Generate a security certificate according to the application message and the key response packet; A response message is generated according to the key response package and the security certificate, and the response message is sent to the terminal, so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal.
12. The method according to claim 11, It is characterized in that The method further comprises: accessing a second network node through a pre-established channel; Issue the security certificate of the certificate authority.
13. The method according to claim 11, It is characterized in that The method further comprises: Sending a quantum key application to a second network node connected to the certificate authentication center according to the quantum key identifier; Receive a second quantum key distributed by the second network node according to the quantum key application.
14. The method according to claim 13, It is characterized in that The application message includes the first encrypted message, a terminal classical signature key pair, a terminal post-quantum signature key pair, a terminal post-quantum encryption key pair, and the quantum key identifier, and the method further includes: Concatenating the terminal classic signature public key in the terminal classic signature key pair, the terminal post-quantum signature public key in the terminal post-quantum signature key pair, the terminal temporary post-quantum encryption public key in the terminal post-quantum encryption key pair, and the quantum key identifier to obtain a second concatenation; Encrypting the second spliced body according to the second quantum key to obtain a second encrypted message; Confirm the correctness of the received terminal classical signature public key, the terminal post-quantum signature public key, the terminal temporary post-quantum encryption public key and the quantum key identifier according to the second encrypted message and the first encrypted message.
15. The method according to claim 14, It is characterized in that The generating a key application package according to the application message, and sending the key application package to the key management system includes: Generate a first temporary key application package according to the terminal key pair; Storing the terminal classical signature public key and the terminal temporary post-quantum encryption public key in the first temporary key application package to obtain a second temporary key application package; The classic signature identifier associated with the terminal classic signature public key and the post-quantum signature identifier associated with the terminal post-quantum signature public key are stored in the second temporary key application package to obtain a third temporary key application package; Signing the third temporary key application package according to the classic signature algorithm associated with the terminal classic signature public key to obtain a first classic signature value; Signing the third temporary key application package according to the post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain a first post-quantum signature value; Storing the first classical signature value and the first post-quantum signature value in the third temporary key application package to obtain a key application package; The key application package is sent to the key management system.
16. The method according to claim 15, It is characterized in that The key application package includes a second classical signature message and a second post-quantum signature message, and generating a security certificate according to the application message and the key response package includes: Upon receiving the key response package sent by the key management system, performing signature verification processing on the second classic signature message according to the classic signature algorithm to obtain a second classic signature verification result; Performing signature verification processing on the second post-quantum signature message according to the post-quantum signature algorithm to obtain a second post-quantum signature verification result; When both the second classical signature verification result and the second post-quantum signature verification result are correct, obtaining a public key in a classical encryption key pair and a public key in a post-quantum encryption key pair from the key response packet; Generate a classic signature certificate in the security certificate for the terminal according to the terminal classic signature public key; Generate a classic encryption certificate in the security certificate for the terminal according to the public key in the classic encryption key pair; Generate a post-quantum signature certificate in the security certificate for the terminal according to the post-quantum signature public key of the terminal; A post-quantum encryption certificate in the security certificate is generated for the terminal according to the public key in the post-quantum encryption key pair.
17. The method according to claim 16, It is characterized in that The method further comprises: Signing the classic encryption certificate according to the private key in the terminal classic signature key pair to obtain a first classic encryption certificate signature in the security certificate; The classical encryption certificate is signed according to the private key in the terminal post-quantum signature key pair to obtain a second classical encryption certificate signature in the security certificate.
18. The method according to claim 16, It is characterized in that The method further comprises: Signing the classic signature certificate according to the private key in the terminal classic signature key pair to obtain a first classic signature certificate signature in the security certificate; The classic signature certificate is signed according to the private key in the terminal post-quantum signature key pair to obtain a second classic signature certificate signature in the security certificate.
19. The method according to claim 16, It is characterized in that The method further comprises: Signing the post-quantum encryption certificate according to the private key in the terminal classic signature key pair to obtain a first post-quantum encryption certificate signature in the security certificate; The post-quantum encryption certificate is signed according to the private key in the terminal post-quantum signature key pair to obtain a second post-quantum encryption certificate signature in the security certificate.
20. The method according to claim 16, It is characterized in that The method further comprises: Signing the post-quantum signature certificate according to the private key in the terminal classic signature key pair to obtain a first post-quantum signature certificate signature in the security certificate; The post-quantum signature certificate is signed according to the private key in the terminal post-quantum signature key pair to obtain a second post-quantum signature certificate signature in the security certificate.
21. The method according to claim 15, It is characterized in that The key response package includes a classical cryptographic envelope and a post-quantum cryptographic envelope, and generating a response message according to the key response package and the security certificate, and sending the response message to the terminal, comprises: Signing the classic cryptographic envelope according to the classic signature algorithm to obtain a first classic cryptographic envelope signature; Signing the classical cryptographic envelope according to the post-quantum signature algorithm to obtain a first classical cryptographic envelope post-quantum signature; Signing the post-quantum cryptographic envelope according to the classical signature algorithm to obtain a first post-quantum cryptographic envelope signature; Signing the post-quantum cryptographic envelope according to the post-quantum signature algorithm to obtain a first post-quantum cryptographic envelope post-quantum signature; Encrypting the classical cryptographic envelope according to the second quantum key to obtain an encrypted classical cryptographic envelope; Encrypting the post-quantum cryptographic envelope according to the second quantum key to obtain an encrypted post-quantum cryptographic envelope; The security certificate, the first classical cryptographic envelope signature, the first classical cryptographic envelope post-quantum signature, the first post-quantum cryptographic envelope signature, the first post-quantum cryptographic envelope post-quantum signature, the encrypted classical cryptographic envelope and the encrypted post-quantum cryptographic envelope are sent to the terminal as response messages.
22. A quantum security enhancement method for online certificate issuance and key pair distribution in a communication network. It is characterized in that The communication network includes a terminal, a certificate authentication center and a key management system, and the method is used in the key management system, and the method includes: receiving a key application package sent by the certificate authentication center, wherein the key application package is generated by the certificate authentication center according to an application message, the application message is generated by the terminal according to a terminal key pair, a quantum key identifier, and a first encrypted message, the terminal key pair is randomly generated by the terminal, the quantum key identifier is obtained by the first network node accessed by the terminal, the first encrypted message is obtained by encrypting the quantum key identifier and the terminal key pair with a first quantum key, and the first quantum key is obtained by the first network node accessed by the terminal; A key response package is generated according to the key application package, and the key response package is sent to the certificate authentication center, wherein the certificate authentication center generates a security certificate according to the application message and the key response package, and sends a response message generated according to the security certificate and the key response package to the terminal, so that the terminal can use the response message to communicate with other terminals in the communication network except the terminal.
23. The method according to claim 22, It is characterized in that The method further comprises: Obtain the management security certificate of the key management system from the certificate authentication center.
24. The method according to claim 22, It is characterized in that The receiving of the key application package sent by the certificate authentication center comprises: Receive a key application package sent by the certificate authentication center, wherein the key application package includes a terminal classic signature public key, a terminal temporary post-quantum encryption public key, a classic signature identifier associated with the terminal classic signature public key, a post-quantum signature identifier associated with the terminal post-quantum signature public key, a first classic signature value, and a first post-quantum signature value.
25. The method according to claim 24, It is characterized in that The method further comprises: Performing signature verification processing on the first classic signature value according to the classic signature algorithm associated with the terminal classic signature public key to obtain a first signature verification result; Performing signature verification processing on the first post-quantum signature value according to a post-quantum signature algorithm associated with the terminal post-quantum signature public key to obtain a second signature verification result; When both the first signature verification result and the second signature verification result are correct, a classical encryption key pair and a post-quantum encryption key pair are generated for the terminal.
26. The method according to claim 25, It is characterized in that The step of generating a key response package according to the key application package and sending the key response package to the certificate authentication center includes: Generate a first temporary key response packet according to the key application packet; Generate a second temporary key response packet according to the first temporary key response packet, the temporary symmetric key randomly generated by the key management system, and the classic encryption key pair; Generate a third temporary key response packet according to the second temporary key response packet and the post-quantum encryption key pair; Storing the classical signature identifier and the post-quantum signature identifier in the third temporary key response package to obtain a fourth temporary key response package; Processing the fourth temporary key response packet according to the classical signature algorithm and the post-quantum signature algorithm to obtain the key response packet; The key response packet is sent to the certificate authentication center.
27. The method according to claim 26, It is characterized in that The generating a second temporary key response package according to the first temporary key response package, the temporary symmetric key randomly generated by the key management system, and the classic encryption key pair comprises: Encrypting the private key in the classic encryption key pair according to the temporary symmetric key to obtain the classic encryption private key in the classic cryptographic envelope; Sign the temporary symmetric key according to the terminal signature public key to obtain the encrypted temporary symmetric key in the classic cryptographic envelope; The public key in the classic encryption key pair and the classic cryptographic envelope are stored in the first temporary key response package to obtain the second temporary key response package.
28. The method according to claim 26, It is characterized in that The generating a third temporary key response packet according to the second temporary key response packet and the post-quantum encryption key pair comprises: Concatenate the random number randomly generated by the key management system and the fixed string to obtain a third concatenated body; Performing post-quantum encryption processing on the third spliced body to obtain a first encryption key; Performing post-quantum encryption encapsulation processing on the third spliced body to obtain a first encapsulated message in a post-quantum cryptographic envelope; Encrypting the private key in the post-quantum encryption key pair according to the first encryption key to obtain the post-quantum encryption private key in the post-quantum cryptographic envelope; The public key in the post-quantum encryption key pair and the post-quantum cryptographic envelope are stored in the second temporary key response package to obtain a third temporary key response package.
29. The method according to claim 26, It is characterized in that The step of processing the fourth temporary key response packet according to the classical signature algorithm and the post-quantum signature algorithm to obtain the key response packet includes: Signing the fourth temporary key response packet according to the classic signature algorithm to obtain a second classic signature message; Performing post-quantum signature processing on the fourth temporary key response packet according to the post-quantum signature algorithm to obtain a second post-quantum signature message; The second classical signature message and the second post-quantum signature message are stored in the fourth temporary key response package to obtain the key response package.
Citation Information
Patent Citations
Quantum key distribution method and system for authentication based on post-quantum cryptography algorithm
CN112152817A
Quantum security data transmission method and digital certificate authentication system
CN114826593A
Anti-quantum security enhancement method for internet key exchange protocol
CN118540164A
Anti-quantum security enhancement method of national secret IPSec VPN protocol
CN118540165A
Anti-quantum security enhancement method for transport layer security protocol
CN118555133A
Cited By
Anti-quantum calculation method and system for electric power information system
CN119272263A
Industrial internet data security communication method based on hybrid anti-quantum cryptography
CN120415711A
An industrial internet data security communication method based on hybrid anti-quantum cryptography
CN120415711B
Identification key safe distribution and backup updating method based on PQC packaging
CN122226278A
Post-quantum security enhancement method for online certificate issuance and key pair distribution
WO2026045839A1
