Digital certificate generation method and device based on hybrid encryption technology, equipment and medium
By combining asymmetric encryption and quantum key distribution technology to generate hybrid encrypted digital certificates, the problem of insufficient security in the face of quantum computing by traditional digital certificates is solved, and efficient and secure protection of data transmitted by diagnostic equipment is achieved.
Patent Information
- Application Number
- CN202411322279.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-11-29
AI Technical Summary
Traditional digital certificate methods are insecurity in the face of quantum computing threats and cannot effectively protect sensitive information transmitted by diagnostic devices, resulting in an increased risk of data theft and tampering.
Using a digital certificate generation method based on hybrid encryption technology, combining asymmetric encryption technology to generate public and private keys, and quantum keys are generated through quantum key distribution technology, and the initial digital certificate is encrypted using quantum keys to form hybrid encrypted numbers. Certificates and stored on the blockchain to enable encrypted communication and key updates.
It significantly improves the security of digital certificates and remains indestructible when facing the threat of quantum computing, which not only ensures the efficiency of encryption but also takes into account the pursuit of security, greatly improving the confidentiality and integrity of data during transmission.
Smart Images

Figure CN119051860A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of digital information transmission technology, and in particular to a method, device, equipment and medium for generating a digital certificate based on hybrid encryption technology. Background Art
[0002] In the fields of automobile manufacturing, industrial automation control, medical equipment, and many key infrastructures, the demand for equipment security and data protection has risen to an unprecedented level. These fields not only rely on efficient performance and precise control, but also regard information security as the cornerstone of maintaining stable system operation, protecting user privacy, and complying with laws and regulations. As a key tool for monitoring and evaluating the health status of the system, the security of diagnostic equipment is directly related to the efficiency of the production process, product quality, and user safety and privacy.
[0003] However, with the development of technology, the use of traditional digital certificate methods to authenticate the security of diagnostic equipment has gradually failed to meet the growing security needs. Traditional digital certificate methods mainly rely on classical encryption algorithms (such as RSA asymmetric encryption algorithm, ECC elliptic curve encryption algorithm, etc.) to ensure the confidentiality, integrity and authentication of data. However, these algorithms are at risk of being quickly cracked in the face of quantum computing.
[0004] Quantum computers can use properties such as quantum parallelism and quantum entanglement to crack the widely used classical encryption algorithms in a very short time, thereby threatening the security of traditional digital certificate methods. Once the encryption algorithm is cracked, attackers can easily steal and tamper with sensitive data in transmission. This means that data transmission channels that rely on these algorithms for protection will become vulnerable. Sensitive information transmitted by diagnostic equipment, such as vehicle fault data, industrial control instructions, medical diagnosis reports, and patients' personal health information, will face the risk of being stolen, tampered with, or abused.
[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0006] The main purpose of this application is to provide a digital certificate generation method, device, equipment and medium based on hybrid encryption technology, aiming to solve the technical problem of how to ensure the long-term security of digital certificates.
[0007] To achieve the above purpose, the present application proposes a method for generating a digital certificate based on hybrid encryption technology, the method comprising:
[0008] Generate a pair of asymmetric keys based on asymmetric encryption technology, wherein the asymmetric keys include a public key and a private key;
[0009] Generate quantum keys through quantum channels using quantum key distribution technology;
[0010] Based on the asymmetric key, the certificate signing request is signed using an asymmetric encryption algorithm to obtain a preliminary digital certificate;
[0011] The preliminary digital certificate is encrypted using the quantum key to generate a hybrid encrypted digital certificate.
[0012] In one embodiment, the step of generating a pair of asymmetric keys based on asymmetric encryption technology includes:
[0013] Obtaining an identifier, where the identifier is a unique identifier generated during the production process of the device;
[0014] An asymmetric key is generated based on a strong encryption algorithm, the private key is stored in a preset security module, and the public key is bound to the identifier.
[0015] In one embodiment, the step of generating a quantum key through a quantum channel using quantum key distribution technology includes:
[0016] Establishing the quantum channel;
[0017] Transmit and screen out valid quantum bits through the quantum channel to obtain a preliminary key;
[0018] The preliminary key is enhanced to obtain the quantum key.
[0019] In one embodiment, the step of transmitting and selecting valid quantum bits through the quantum channel to obtain a preliminary key includes:
[0020] preparing the quantum bit, and transmitting the quantum bit through the quantum channel;
[0021] Measuring the quantum bit using a measurement basis;
[0022] A measurement result of a quantum bit measured using the same measurement basis is obtained, and a preliminary key is generated according to the measurement result.
[0023] In one embodiment, the step of processing the certificate signing request based on the asymmetric key using a traditional encryption algorithm to generate a preliminary digital certificate includes:
[0024] Use the private key to sign the information in the certificate signing request to generate a certificate signing request file;
[0025] The certificate signing request file is verified and a preliminary digital certificate is generated after the verification passes.
[0026] In one embodiment, the step of using a quantum key to perform secondary encryption on the preliminary digital certificate to generate a hybrid encrypted digital certificate further includes:
[0027] Storing the hybrid encrypted digital certificate on a blockchain;
[0028] Distributing the hybrid encrypted digital certificate to the device through a secure channel;
[0029] During the data exchange process, the hybrid encryption digital certificate is signed and verified. If the verification is successful, the hybrid encryption digital certificate is decrypted using the quantum key for subsequent encrypted communication.
[0030] Implement a key update mechanism and record key update events on the blockchain;
[0031] When an abnormal event occurs, the hybrid encrypted digital certificate is revoked and the certificate status is updated on the blockchain;
[0032] Regularly review the security of certificate generation, storage, distribution, and use.
[0033] In one embodiment, the step of using a quantum key to perform secondary encryption on the preliminary digital certificate to generate a hybrid encrypted digital certificate further includes:
[0034] Storing the hybrid encrypted digital certificate on a blockchain;
[0035] Distributing the hybrid encrypted digital certificate to the device through a secure channel;
[0036] During the data exchange process, the hybrid encryption digital certificate is signed and verified. If the verification is successful, the hybrid encryption digital certificate is decrypted using the quantum key for subsequent encrypted communication.
[0037] Implement a key update mechanism and record key update events on the blockchain;
[0038] When an abnormal event occurs, the hybrid encrypted digital certificate is revoked and the certificate status is updated on the blockchain;
[0039] Regularly review the security of certificate generation, storage, distribution, and use.
[0040] In addition, to achieve the above purpose, the present application also proposes a digital certificate generation device based on hybrid encryption technology, and the digital certificate generation device based on hybrid encryption technology includes:
[0041] An asymmetric key generation module, used to generate a pair of asymmetric keys based on asymmetric encryption technology;
[0042] A quantum key generation module, used to generate a quantum key through a quantum channel using quantum key distribution technology;
[0043] A preliminary digital certificate generation module, used to sign the certificate signing request based on the asymmetric key using an asymmetric encryption algorithm to obtain a preliminary digital certificate;
[0044] A hybrid encrypted digital certificate generation module is used to encrypt the preliminary digital certificate using the quantum key to generate a hybrid encrypted digital certificate.
[0045] In addition, to achieve the above-mentioned purpose, the present application also proposes a digital certificate generation device based on hybrid encryption technology, the device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the digital certificate generation method based on hybrid encryption technology as described above.
[0046] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the digital certificate generation method based on hybrid encryption technology as described above are implemented.
[0047] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the digital certificate generation method based on hybrid encryption technology as described above.
[0048] One or more technical solutions proposed in this application have at least the following technical effects:
[0049] This application combines asymmetric encryption technology with quantum key distribution technology to significantly improve the security of digital certificates. Specifically, first, asymmetric encryption technology is used to generate public and private key pairs. This technical means ensures the basic security of information transmission, where the public key is used for encryption and the private key is used for decryption. It not only ensures the confidentiality of data transmission, but also facilitates the verification function of digital signatures, thereby solving the problems of identity authentication and data integrity.
[0050] Furthermore, quantum key distribution technology is used to generate quantum keys through quantum channels, which greatly improves the security of the encryption process. Quantum key distribution uses the principles of quantum mechanics to allow both communicating parties to generate a shared and absolutely secure quantum key through a quantum channel. This quantum key can be used to encrypt and decrypt information, thereby ensuring the confidentiality and integrity of the communication.
[0051] Finally, combining the advantages of the above two encryption technologies, this method uses an asymmetric encryption algorithm to process the certificate signing request, generates a preliminary digital certificate with basic security, and then uses the quantum key to encrypt the preliminary certificate to generate a hybrid encrypted digital certificate. This hybrid encryption strategy not only retains the efficient verification characteristics of asymmetric encryption, but also makes the hybrid encrypted digital certificate more difficult to be intercepted and tampered with during transmission through the unbreakable nature of the quantum key.
[0052] Compared with the existing technology, this technical solution has achieved the following significant effects: First, it greatly improves the security of digital certificates, so that digital certificates can remain indestructible when facing the threat of quantum computing; second, through hybrid encryption, it not only ensures the efficiency of encryption, but also takes into account the pursuit of security. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0054] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0055] Figure 1 A flowchart of a method for generating a digital certificate based on hybrid encryption technology provided in Example 1 of the present application;
[0056] Figure 2 A flowchart of a method for generating a digital certificate based on hybrid encryption technology according to the present invention;
[0057] Figure 3 This is a schematic diagram of the module structure of a digital certificate generation device based on hybrid encryption technology in an embodiment of the present application;
[0058] Figure 4 Schematic diagram of the device structure of the hardware operating environment involved in the digital certificate generation method based on hybrid encryption technology in the embodiment of the present application.
[0059] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0060] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0061] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0062] It can be seen from the above embodiments that the technical solution of the present application combines asymmetric encryption technology with quantum key distribution technology, uses quantum keys to perform secondary encryption on the preliminary certificate, and generates a hybrid encrypted digital certificate, which effectively solves the technical problem of how to ensure the long-term security of digital certificates.
[0063] Based on this, the embodiment of the present application provides a method for generating a digital certificate based on hybrid encryption technology, referring to Figure 1 , Figure 1 A flowchart of a method for generating a digital certificate based on hybrid encryption technology is provided in accordance with the present invention.
[0064] It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown here.
[0065] In this embodiment, the method for generating a digital certificate based on hybrid encryption technology includes steps S10 to S40:
[0066] Step S10, generating a pair of asymmetric keys based on asymmetric encryption technology, wherein the asymmetric keys include a public key and a private key;
[0067] In a feasible implementation, step S10 may include steps S11 to S12:
[0068] Step S11, obtaining an identifier, where the identifier is a unique identifier generated by the device during the production process;
[0069] It should be noted that during the device production stage, the manufacturer will generate a unique identifier, which is usually engraved on the device or stored in the device's non-volatile memory to ensure that the serial number of each device is unique globally to avoid confusion and counterfeiting.
[0070] Step S12, generating an asymmetric key based on a strong encryption algorithm, storing the private key in a preset security module, and binding the public key to the identifier.
[0071] For example, first select a suitable strong encryption algorithm, such as RSA or ECC, based on security requirements and application scenarios. The RSA algorithm is widely used because of its long history, wide application, and high security; the ECC algorithm requires a shorter key length at the same security level and is suitable for resource-constrained devices. Make sure that the device has a built-in security module (such as a hardware security module HSM) or software library that supports the selected encryption algorithm. These modules or libraries should provide security functions such as key generation, storage, and management.
[0072] In addition, it should be noted that when the device is started, the built-in security module or software library is first initialized to ensure that it is in a secure state and ready to generate keys; the generated public and private keys are securely stored in the device's security module. The private key is confidential and must be securely stored inside the device, usually in a hardware security module (HSM) or a secure storage area. The public key can be securely shared with other systems or services that need to communicate with it without worrying about the risk of data leakage, because the public key itself is not used for decryption or signature verification.
[0073] The manufacturer or device management system can associate the public key with the device's unique identifier and store it in a database or registry. This binding ensures that in subsequent communications, any system that receives the public key can verify that the public key indeed belongs to a specific device.
[0074] Step S20, generating a quantum key through a quantum channel using quantum key distribution technology;
[0075] It should be noted that quantum key distribution (QKD) is a technology that uses the principles of quantum mechanics to achieve secure communication. It allows the communicating parties (in this case, the device and the CA) to generate a shared and absolutely secure key through a quantum channel, which can then be used to encrypt and decrypt information, thereby ensuring the confidentiality and integrity of the communication.
[0076] In a feasible implementation, step S20 may include steps S21 to S23:
[0077] Step S21, establishing the quantum channel;
[0078] For example, a quantum channel is a medium for transmitting quantum states (or quantum bits) from a sender to a receiver, which can be a fiber optic cable or free space. When selecting a quantum channel, factors such as channel stability, transmission distance, and possible noise interference need to be considered; in addition, it is necessary to ensure that the quantum channel is in good condition without obvious attenuation or interference, which requires pre-testing and calibration of the channel to ensure the transmission quality of quantum bits.
[0079] Step S22, transmitting and screening valid quantum bits through the quantum channel to obtain a preliminary key;
[0080] It should be noted that the device, as the sender, generates a series of quantum bits according to the QKD protocol (such as BB84, E91, etc.) and sends them to the CA through the quantum channel. The CA, as the receiver, uses the same QKD protocol to measure the received quantum bits. Due to the characteristics of quantum mechanics (such as the uncertainty principle and the no-cloning theorem), any third party attempting to intercept or steal quantum bits will interfere with the system and be detected. The sender and receiver publicly compare the measurement basis they use for each quantum bit through classical channels (such as fiber optic networks, satellite communications, etc.). The measurement result is only considered valid when they use the same measurement basis. In this way, invalid bits caused by mismatched measurement bases can be screened out to obtain a preliminary key.
[0081] In a feasible implementation, step S22 may include steps S221 to S223:
[0082] Step S221, preparing the quantum bit, and transmitting the quantum bit through the quantum channel;
[0083] It should be noted that the sender uses a quantum random number generator or a quantum state preparation device to generate a series of random quantum bits. These quantum bits can be photons in different polarization states, such as horizontal polarization (H), vertical polarization (V), 45-degree polarization (+), or 135-degree polarization (-). According to the randomly generated binary sequence (for example, 0 and 1), the sender encodes these quantum bits into the polarization state of the photons. Generally, 0 and 1 can correspond to two different polarization states (such as H and V, or + and -), and the encoded quantum bits are sent to the receiver through the quantum channel.
[0084] Step S222, measuring the quantum bit using a measurement basis;
[0085] It should be noted that before or after sending the qubits, the sender and receiver each randomly select a series of measurement bases to measure these qubits. The measurement basis is usually the same as or different from the encoding basis of the qubit (for example, horizontal / vertical polarization basis or 45 degree / 135 degree polarization basis). The sender and receiver publish their respective measurement bases for measuring each qubit through the classical channel. This process does not require the publication of the measurement results, only the other party is informed of which measurement basis they used.
[0086] Step S223, obtaining measurement results of quantum bits measured using the same measurement basis, and generating a preliminary key based on the measurement results.
[0087] It should be noted that the sender and receiver compare their published measurement bases and screen out those qubits that use the same measurement base for measurement. The measurement results of these qubits will be used to generate keys. In order to evaluate the noise or potential eavesdropper interference in the channel, the sender and receiver can randomly select a small number of qubits that use the same measurement base and publish their measurement results. By comparing these published measurement results, the error rate of the quantum channel can be estimated. For the remaining qubits that use the same measurement base and have not been published, the sender and receiver will generate a preliminary key based on their measurement results. If their measurement results are the same, the bit at that position is used as part of the key; if they are different, the bit can be discarded or processed using more complex error correction and privacy amplification techniques.
[0088] Step S23, enhancing the preliminary key to obtain a quantum key.
[0089] It should be noted that the preliminary key is further processed, such as error correction and privacy amplification, to enhance its security and reliability. The final quantum key is distributed to the device and CA through a secure classical channel for subsequent encrypted communication.
[0090] Step S30, based on the asymmetric key, using an asymmetric encryption algorithm to sign the certificate signing request to obtain a preliminary digital certificate;
[0091] In a feasible implementation, step S30 may include steps S31 to S32:
[0092] Step S31, using the private key to sign the information in the certificate signing request to generate a certificate signing request file;
[0093] Exemplarily, based on the asymmetric key generated in step S10, a certificate signing request (CSR) is generated using a private key and specific software (such as OpenSSL). In the process of generating the CSR, some information needs to be filled in, which will be included in the CSR and may eventually be included in the issued digital certificate. This information includes: Common name: usually the domain name or IP address of the device, used to uniquely identify the device in the certificate; Organization: the name of the organization to which the device belongs; Organizational unit: the name of the department or unit within the organization; City / region: the city or region where the organization is located; State / province: the state or province where the organization is located; Country: the country where the organization is located; Email address: an email address used to contact the organization or device administrator; Public key: the public key of the device, used to encrypt information sent to the device or verify the signature of the device.
[0094] After filling in all the necessary information, the software will use the private key to sign the information in the CSR and generate a certificate signing request file, which is usually a text file containing all the above information and a hash value signed with the private key.
[0095] It should be noted that the main purpose of CSR is to provide sufficient information to the CA so that the CA can verify the identity of the requester and issue a digital certificate containing the public key and other identity information. This certificate can be used by other entities to verify the identity of the device and ensure the integrity and confidentiality of information in encrypted communications.
[0096] Step S32, verifying the information of the certificate signature request file, and generating a preliminary digital certificate after the verification passes.
[0097] It should be noted that after generating the CSR, the device manufacturer or owner will submit the CSR file to the selected CA. The CA will verify the information in the CSR. After the verification is passed, the CA uses its own private key to sign the public key and identity information in the CSR to generate a preliminary digital certificate.
[0098] Step S40: Use the quantum key to encrypt the preliminary digital certificate to generate a hybrid encrypted digital certificate.
[0099] It should be noted that in this step, a quantum communication channel has been established between the CA and the device, and a shared quantum key has been generated through QKD technology. The CA uses the generated quantum key to encrypt the preliminary digital certificate. This encryption provides an additional layer of security, because the security of quantum keys is based on the principles of quantum mechanics and has a very high resistance to cracking. Ultimately, the CA will send the preliminary certificate encrypted by the quantum key (that is, the final hybrid encrypted digital certificate) to the device through a secure method (such as a secure classical channel).
[0100] In addition, it should be noted that after the device receives the final certificate, it uses its own quantum key to decrypt the certificate and restore the preliminary digital certificate. Then, the device can use its own private key (corresponding to the public key submitted to the CA) to verify whether the signature on the preliminary certificate is valid, thereby confirming the authenticity and integrity of the certificate.
[0101] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 After step S40, the method for generating a digital certificate based on hybrid encryption technology further includes steps S51 to S56:
[0102] Step S51, storing the hybrid encrypted digital certificate on the blockchain;
[0103] Step S52, distributing the hybrid encryption digital certificate to the device through a secure channel;
[0104] It should be noted that secure protocols such as HTTPS and TLS can be used to establish an encrypted channel to ensure that the certificate is not stolen or tampered with during transmission. Before distributing the certificate, the recipient can be authenticated to ensure that the certificate is only sent to legitimate users or devices. Certificate receipt notifications and download links can be sent to users or devices through email, SMS, or in-app notifications.
[0105] Step S53, during the data exchange process, the hybrid encryption digital certificate is signature verified. If the verification is successful, the hybrid encryption digital certificate is decrypted using the quantum key for subsequent encrypted communication;
[0106] It should be noted that the public key of the certificate authority can be used to verify the signature on the hybrid encryption digital certificate to ensure the authenticity and integrity of the certificate. After the verification is passed, the hybrid encryption digital certificate is decrypted using the quantum key to obtain the public key and other necessary information, which is then used to establish an encrypted communication session.
[0107] Step S54, implement the key update mechanism and record the key update event on the blockchain;
[0108] It should be noted that a key update strategy can be formulated, such as regular updates, immediate updates when keys are leaked, etc. The time, reason, and new key information of each key update can be recorded on the blockchain. This helps track the life cycle of the key and ensure the security of the system.
[0109] Step S55, when an abnormal event occurs, the hybrid encryption digital certificate is revoked and the certificate status is updated on the blockchain;
[0110] It should be noted that an anomaly detection system can be established to monitor the use of certificates and potential security threats. Once an abnormal event is found (such as private key leakage, certificate abuse, etc.), the revocation process is immediately initiated. The revocation request can be initiated by the certificate holder, the certificate authority, or the relevant security agency. The status of the certificate can be updated to "revoked" on the blockchain, and a certificate revocation list or online certificate status protocol response can be published so that other users or systems can verify the validity of the certificate.
[0111] Step S56, regularly checking the security of the certificate generation, storage, distribution and use process.
[0112] It should be noted that security audits can be conducted regularly to check the security, compliance and vulnerability of the certificate management system. System logs and monitoring data can also be analyzed to identify potential security threats and abnormal behaviors.
[0113] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the digital certificate generation method based on hybrid encryption technology of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0114] This application also provides a digital certificate generation device based on hybrid encryption technology, please refer to Figure 3 , the digital certificate generation device based on hybrid encryption technology includes:
[0115] An asymmetric key generation module 10, used to generate a pair of asymmetric keys based on asymmetric encryption technology;
[0116] A quantum key generation module 20, used to generate a quantum key through a quantum channel using a quantum key distribution technology;
[0117] A preliminary digital certificate generation module 30 is used to sign the certificate signing request based on the asymmetric key using an asymmetric encryption algorithm to obtain a preliminary digital certificate;
[0118] The hybrid encrypted digital certificate generation module 40 is used to encrypt the preliminary digital certificate using the quantum key to generate a hybrid encrypted digital certificate.
[0119] The digital certificate generation device based on hybrid encryption technology provided by the present application adopts the digital certificate generation method based on hybrid encryption technology in the above embodiment, which can solve the technical problem of how to perform business duplication judgment more efficiently, flexibly and reliably. Compared with the prior art, the beneficial effects of the digital certificate generation device based on hybrid encryption technology provided by the present application are the same as the beneficial effects of the digital certificate generation method based on hybrid encryption technology provided by the above embodiment, and the other technical features of the digital certificate generation device based on hybrid encryption technology are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0120] The present application provides a digital certificate generation device based on hybrid encryption technology, and the digital certificate generation device based on hybrid encryption technology includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the digital certificate generation method based on hybrid encryption technology in the above-mentioned embodiment one.
[0121] Reference below Figure 4, which shows a schematic diagram of the structure of a digital certificate generation device based on hybrid encryption technology suitable for implementing the embodiment of the present application. The digital certificate generation device based on hybrid encryption technology in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The digital certificate generation device based on hybrid encryption technology shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0122] like Figure 4 As shown, the digital certificate generation device based on hybrid encryption technology may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the digital certificate generation device based on hybrid encryption technology are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems may be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 may allow the digital certificate generation device based on hybrid encryption technology to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a digital certificate generation device based on hybrid encryption technology with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have alternatively.
[0123] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0124] The digital certificate generation device based on hybrid encryption technology provided by the present application adopts the digital certificate generation method based on hybrid encryption technology in the above embodiment, which can solve the technical problem of how to ensure the long-term security of digital certificates. Compared with the prior art, the beneficial effects of the digital certificate generation device based on hybrid encryption technology provided by the present application are the same as the beneficial effects of the digital certificate generation method based on hybrid encryption technology provided by the above embodiment, and other technical features in the digital certificate generation device based on hybrid encryption technology are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0125] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0126] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0127] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the digital certificate generation method based on hybrid encryption technology in the above-mentioned embodiment.
[0128] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0129] The computer-readable storage medium may be included in a digital certificate generation device based on hybrid encryption technology; or may exist independently without being assembled into a digital certificate generation device based on hybrid encryption technology.
[0130] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0131] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0132] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0133] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned method for generating a digital certificate based on hybrid encryption technology, and can solve the technical problem of how to ensure the long-term security of digital certificates. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the method for generating a digital certificate based on hybrid encryption technology provided by the above-mentioned embodiment, and will not be elaborated here.
[0134] The present application also provides a computer program product, including a computer program, which implements the steps of the digital certificate generation method based on hybrid encryption technology as described above when executed by a processor.
[0135] The computer program product provided by the present application can solve the technical problem of how to ensure the long-term security of digital certificates. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the digital certificate generation method based on hybrid encryption technology provided by the above embodiment, which will not be repeated here.
[0136] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for generating a digital certificate based on hybrid encryption technology, characterized in that: The method comprises: Generate a pair of asymmetric keys based on asymmetric encryption technology, wherein the asymmetric keys include a public key and a private key; Generate quantum keys through quantum channels using quantum key distribution technology; Based on the asymmetric key, the certificate signing request is signed using an asymmetric encryption algorithm to obtain a preliminary digital certificate; The preliminary digital certificate is encrypted using the quantum key to generate a hybrid encrypted digital certificate.
2. The method according to claim 1, characterized in that The step of generating a pair of asymmetric keys based on asymmetric encryption technology includes: Obtaining an identifier, where the identifier is a unique identifier generated during the production process of the device; An asymmetric key is generated based on a strong encryption algorithm, the private key is stored in a preset security module, and the public key is bound to the identifier.
3. The method according to claim 1, characterized in that The step of generating a quantum key through a quantum channel using a quantum key distribution technology comprises: Establishing the quantum channel; Transmit and screen out valid quantum bits through the quantum channel to obtain a preliminary key; The preliminary key is enhanced to obtain the quantum key.
4. The method according to claim 3, characterized in that The step of transmitting and screening out effective quantum bits through the quantum channel to obtain a preliminary key comprises: preparing the quantum bit, and transmitting the quantum bit through the quantum channel; Measuring the quantum bit using a measurement basis; A measurement result of a quantum bit measured using the same measurement basis is obtained, and a preliminary key is generated according to the measurement result.
5. The method according to claim 1, characterized in that The step of processing the certificate signing request based on the asymmetric key using a traditional encryption algorithm to generate a preliminary digital certificate includes: Use the private key to sign the information in the certificate signing request to generate a certificate signing request file; The certificate signing request file is verified and a preliminary digital certificate is generated after the verification passes.
6. The method according to claim 1, characterized in that After the step of using the quantum key to re-encrypt the preliminary digital certificate to generate a hybrid encrypted digital certificate, the following steps are further included: Storing the hybrid encrypted digital certificate on a blockchain; Distributing the hybrid encrypted digital certificate to the device through a secure channel; During the data exchange process, the hybrid encryption digital certificate is signed and verified. If the verification is successful, the hybrid encryption digital certificate is decrypted using the quantum key for subsequent encrypted communication. Implement a key update mechanism and record key update events on the blockchain; When an abnormal event occurs, the hybrid encrypted digital certificate is revoked and the certificate status is updated on the blockchain; Regularly review the security of certificate generation, storage, distribution, and use.
7. A digital certificate generation device based on hybrid encryption technology, characterized in that: The digital certificate device based on hybrid encryption technology includes: An asymmetric key generation module, used to generate a pair of asymmetric keys based on asymmetric encryption technology; A quantum key generation module, used to generate quantum keys through a quantum channel using quantum key distribution technology; A preliminary digital certificate generation module, used to sign the certificate signing request using an asymmetric encryption algorithm based on the asymmetric key to obtain a preliminary digital certificate; A hybrid encrypted digital certificate generation module is used to encrypt the preliminary digital certificate using the quantum key to generate a hybrid encrypted digital certificate.
8. A digital certificate generation device based on hybrid encryption technology, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for generating a digital certificate based on hybrid encryption technology as described in any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the method for generating a digital certificate based on hybrid encryption technology as described in any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method for generating a digital certificate based on hybrid encryption technology according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Batch full-automatic certificate automatic detection and renewal method and system
CN119402211A
A batch fully automated certificate automatic detection and renewal method and system
CN119402211B
