Electronic notarization document proxy signcryption method based on self-authentication and related device

By using a self-certified electronic notarized document proxy signing method, public and private keys are generated, an authorization license is established, and proxy signing is performed. This solves the problems of proxy signing and non-repudiation in existing technologies, and achieves secure and fast electronic signing.

CN118940323APending Publication Date: 2024-11-12CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410984045.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Existing technologies cannot implement proxy signing and cannot prevent the proxy signer from repudiating, resulting in insufficient data security and privacy protection.

Method used

The method of signing electronic notarized documents based on self-certification is adopted. Secret data and temporary encrypted information are generated through the notary server and user client. Multiple user clients verify and generate public and private keys, establish an authorization license and generate proxy authorization request information, use the proxy key to sign, and perform decryption verification.

Benefits of technology

It achieves reliable electronic signature functionality, prevents repudiation by proxy signers, ensures data security and privacy protection, avoids key escrow issues and the overhead of public key certificates, and features strong security, high speed, short key length, and simple and easy-to-implement algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940323A_ABST
    Figure CN118940323A_ABST
Patent Text Reader

Abstract

The invention discloses an electronic notarization document proxy signcryption method based on self-authentication and a related device. The method comprises the following steps: initializing a system; the notarization server generates corresponding notarization-user registration information according to the secret data; the plurality of user clients verify the received notarization-user registration information, and generate respective public keys and private keys based on the temporary ciphertext information; the first user client establishes an authorization license and generates proxy authorization request information; the second user client verifies the received proxy authorization request information and generates a proxy key; the second user client performs signcryption on the electronic file based on the generated proxy key and the public key of the third user client; and the third user client verifies the received signcryption based on the public keys of the first user client and the second user client, authenticates the public keys of the first user client and the second user client, receives the ciphertext in the signcryption, and realizes unsigncryption. And through online network service, a reliable electronic signcryption function is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electronic signature service for electronic documents, and in particular relates to a self-certification-based electronic notarization document proxy signature method and related devices. Background Art

[0002] With the rapid development of network technology, e-commerce and e-government have developed rapidly, and many network information security issues have also been extended. Information security is particularly important. Digital signcryption technology is the foundation and one of the important guarantees of information security theory and technology.

[0003] With the development of public key cryptography, more and more scholars are combining signcryption with signatures with special properties for research. Identity proxy signcryption is widely used in e-commerce, e-government, mobile agents and e-conferences, and provides solutions for cloud data sharing in complex cloud environments.

[0004] Agent Signing is a security technology that allows a trusted agent (such as a software program or service) to sign digital documents or transactions on behalf of the user. It can be used for online banking, e-government, e-commerce, etc.

[0005] The main purpose of proxy signcryption is to ensure the integrity and authenticity of data while protecting the privacy of users. By using proxy signcryption, users can authorize a trusted agent to sign data without directly revealing their private keys. This ensures data security while preventing risks caused by private key leakage.

[0006] In traditional digital signcryption, the signcryption and decryption of information must be one-to-one. It is impossible to perform proxy signcryption and prevent the proxy signer from denying his or her rights. Currently, there are few identity proxy signcryption protocols that meet the relevant properties. How to use some special features to construct an identity proxy signcryption protocol is a problem worth studying. Summary of the invention

[0007] The technical problem to be solved by the present invention is to provide a method and related device for proxy signing of electronic notarized documents based on self-certification in view of the deficiencies in the above-mentioned prior art, which realizes the function of reliable electronic signing through online network services, and is used to solve the current technical problems of being unable to achieve proxy signing and preventing the proxy signer from denying his or her rights.

[0008] The present invention adopts the following technical solutions:

[0009] A method for signing electronic notarial documents based on self-certification, comprising the following steps:

[0010] System initialization;

[0011] The notarization server and the user client generate corresponding secret data and temporary ciphertext information respectively. The notarization server generates corresponding notarization-user registration information according to the secret data and sends it to the user client;

[0012] Multiple user clients verify the received notarization-user registration information respectively, and generate their own public and private keys based on the temporary ciphertext information; when signing by proxy, the public key is used for encryption and the private key is used for signing;

[0013] The first user client establishes an authorization license, generates and sends a proxy authorization request message; the second user client verifies the received proxy authorization request message and generates a proxy key;

[0014] The second user client signs and encrypts the electronic document based on the generated proxy key and the public key of the third user client and sends it;

[0015] The third user client verifies the received signcryption based on the public keys of the first user client and the second user client, authenticates the public key of the first user client and the public key of the second user client, receives the ciphertext in the signcryption, and realizes decryption of the signcryption.

[0016] Preferably, the notarization server and the user client generate corresponding secret data and temporary ciphertext information respectively as follows:

[0017] The notarization server NTS and the user clients Ua, Ub, and Uc respectively call the secret data generation algorithm to generate the corresponding secret data and temporary ciphertext information, that is, the notarization server (s nts , Y nts )、User Client(s ua , T ua )、(s ub , T ub )、(s uc , T uc );

[0018] The notary server NTS responds to the registration request sent by users Ua, Ub, and Uc (with their respective IDA information) and sends the registration request according to the notary server secret data s nts , call the node registration algorithm to calculate the corresponding notarization-user registration information for each user, and send the notarization-user registration information to the corresponding user clients Ua, Ub, and Uc.

[0019] Preferably, generating respective public keys and private keys based on temporary ciphertext information is specifically as follows:

[0020] The user clients Ua, Ub, and Uc call the verification node registration information algorithm to verify the notarization-user registration information sent by Ua, Ub, and Uc respectively; when the verification is successful, according to the secret data s of the user clients Ua, Ub, and Uc ua 、s ub 、s uc And each user registration information calls the key generation algorithm to calculate the public and private key pair (sk ua , Y ua )、(sk ub , Y ub )、(sk uc , Y uc 4. The method for signing electronic notarization documents based on self-certification according to claim 1, wherein generating the proxy key is as follows:

[0021] The user client Ua creates an authorization license M w , used to clarify the identity information, authorization relationship, and usage restrictions of the authorization relationship between the user client Ua and the user client Ub; the user client Ua calls the proxy authorization request generation algorithm to calculate the proxy authorization request information (M w , P ua ), and sends the proxy authorization request information to Ub;

[0022] After receiving the proxy authorization request information from the user client Ua, the user client Ub calls the verification proxy authorization request information algorithm for verification. When the verification is successful, it receives the proxy authorization request and then calls the proxy key generation algorithm to calculate the proxy key SK proxy .

[0023] Preferably, the signcryption is specifically performed as follows:

[0024] The user client Ub uses the proxy key SK proxy , electronic file M, public key Y of user client Uc uc , call the proxy signcryption algorithm to calculate the proxy signcryption ciphertext C m , and (M w , C m ) is sent to the user client Uc.

[0025] Preferably, system initialization specifically includes: configuring system security parameters and generating system public parameters.

[0026] More preferably, the common parameters of the system are specifically:

[0027] Setup(1 l )→(E, q, n, G, IDA)

[0028] Among them, l is the security parameter level, E is an elliptic curve defined on a finite field F(q), G is a public base point on E with an order of prime number n, q is a prime number, and IDA is the unique identification data of the participant.

[0029] Preferably, decrypting the signcryption is specifically:

[0030] The user client Uc receives the (M w ,C m ), the public key Y of the user client Ua ua 、The public key Y of the user client Ub ub , call the authentication proxy signcryption algorithm for verification. When the verification succeeds, the public keys of the user client Ua and the user client Ub are authenticated at the same time, and the user client Uc accepts the ciphertext C m .

[0031] More preferably, when verification fails, the ciphertext C m Illegal.

[0032] In a second aspect, an embodiment of the present invention provides an electronic notarization document proxy signcryption system based on self-certification, including:

[0033] Initial module, system initialization;

[0034] In the registration module, the notarization server and the user client generate corresponding secret data and temporary ciphertext information respectively. The notarization server generates corresponding notarization-user registration information according to the secret data and sends it to the user client;

[0035] Public and private key module: multiple user clients verify the received notarization-user registration information respectively, and generate their own public and private keys based on temporary ciphertext information; use the public key for encryption and the private key for signing during proxy signing;

[0036] Key module, the first user client establishes an authorization license, generates and sends a proxy authorization request message; the second user client verifies the received proxy authorization request message and generates a proxy key;

[0037] The signcryption module, the second user client signs and sends the electronic document based on the generated proxy key and the public key of the third user client;

[0038] In the decryption module, the third user client verifies the received signcryption based on the public keys of the first user client and the second user client, authenticates the public key of the first user client and the public key of the second user client, receives the ciphertext in the signcryption, and realizes decryption.

[0039] In a third aspect, a chip includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned self-certification-based proxy signing method for electronic notarized documents when executing the computer program.

[0040] In a fourth aspect, an embodiment of the present invention provides an electronic device, including a computer program, which, when executed by the electronic device, implements the steps of the above-mentioned self-certification-based proxy signing method for electronic notarized documents.

[0041] Compared with the prior art, the present invention has at least the following beneficial effects:

[0042] A method for proxy signing of electronic notarized documents based on self-certification, wherein a notarization service end generates corresponding notarization-user registration information according to secret data; multiple user clients verify the received notarization-user registration information and generate their own public keys and private keys based on temporary ciphertext information; the first user client establishes an authorization license and generates proxy authorization request information; the second user client verifies the received proxy authorization request information and generates a proxy key; the second user client signs the electronic document based on the generated proxy key and the public key of the third user client; the third user client verifies the received signcryption based on the public keys of the first and second user clients, authenticates the public keys of the first and second user clients, receives the ciphertext in the signcryption, and realizes decryption, thereby satisfying various security features of proxy signcryption, without the inherent key escrow problem in the identity environment and a series of overhead problems caused by the existence of public key certificates, and realizes the function of reliable electronic signcryption through online network services, and has the characteristics of strong security, fast speed, short key length, simple and easy algorithm, and easy software and hardware implementation.

[0043] Furthermore, except for the proxy signer and the receiver, no one else can extract the plaintext from the ciphertext. The proxy signer cannot deny that he has sent a valid proxy signer about the plaintext to the receiver. The receiver can achieve strong non-repudiation on the basis of the public verifiability of this scheme without revealing his private key. Therefore, once the proxy signer creates a valid proxy signer on behalf of the original signer, he cannot deny his signership.

[0044] Furthermore, the present invention satisfies strong unforgeability. The public key of the original signer and the public key of the proxy signer are required in the process of decryption. Therefore, each original signer cannot deny his authorization for the proxy signer, and the proxy signer cannot deny his signership. In addition, the identity of the proxy signer is included in the authorization letter, so that an attacker cannot impersonate the proxy signer.

[0045] Furthermore, any third party can determine the identity of the corresponding proxy signer based on the ciphertext, and the proxy signer cannot use the proxy signer key for any purpose other than generating valid ciphertext. The verification in the decryption phase includes the verification of the authorization license, and the proxy signer key contains the authorization information of the original signer. Therefore, the proxy signer cannot sign unauthorized information and can only be used to generate valid proxy signers, which can effectively prevent the abuse of signer rights.

[0046] Furthermore, this scheme meets the distinguishability requirement and designs a new ECC-based sub-authentication proxy signcryption scheme, which overcomes the defects of large bilinear pairing computational complexity and low computational efficiency. It has the advantages of strong security, small computational complexity, fast speed, short key length, and easy computer implementation. Therefore, it has good application prospects in mobile communications, mobile agents, e-commerce, electronic elections, electronic auctions and other fields.

[0047] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.

[0048] In summary, the present invention realizes the function of reliable electronic signcryption through online network services, which is used to solve the current technical problems of being unable to achieve proxy signcryption and preventing the proxy signer from denying his or her rights.

[0049] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 is a flow chart of the method of the present invention;

[0051] Figure 2 A schematic diagram of a computer device provided by an embodiment of the present invention;

[0052] Figure 3 The block diagram of a chip provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] In the description of the present invention, it should be understood that the terms “include” and “comprises” indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.

[0055] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0056] It should be further understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects are in an "or" relationship.

[0057] It should be understood that, although the terms first, second, third, etc. may be used to describe preset ranges, etc. in the embodiments of the present invention, these preset ranges should not be limited to these terms. These terms are only used to distinguish preset ranges from each other. For example, without departing from the scope of the embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.

[0058] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0059] Various structural schematic diagrams of the embodiments disclosed in the present invention are shown in the accompanying drawings. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clear expression. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may additionally design regions / layers with different shapes, sizes, and relative positions according to actual needs.

[0060] See also Figure 1The present invention provides a method for signing electronic notarization documents based on self-certification, wherein the notarization service end NTS and users Ua, Ub, and Uc communicate with each other; the method comprises the following steps:

[0061] S1. System configuration;

[0062] Configure the public parameters of the system (E, q, n, G, IDA); where E is an elliptic curve defined on a finite field F(q), G is a public base point on E with an order of prime number n; IDA is the unique identification data of the participant, including: IDA ua 、IDA ub 、IDA uc 、IDA nts , are the unique identification data of the user clients Ua, Ub, Uc and the impartial server NTS respectively; H is the hash function, H:{0,1}→G;

[0063] S2. User registration;

[0064] S201, the notarization server NTS, the user clients Ua, Ub, Uc respectively call the random data generation algorithm to generate the corresponding secret data and temporary ciphertext information, that is, the notarization server (s nts , Y nts )、User Client(s ua , T ua )、(s ub , T ub )、(s uc , T uc );

[0065] S202, the notary server NTS responds to the registration request sent by the users Ua, Ub, and Uc (with their respective IDA information), and according to the notary server secret data s nts , call the node public key generation algorithm and private key extraction algorithm A to calculate the corresponding notarization-user registration information for each user, and send the notarization-user registration information to the corresponding user clients Ua, Ub, and Uc.

[0066] Public key generation algorithm:

[0067] Input: Random secret data r, system public parameter G (elliptic curve generator)

[0068] Processing: Ya = rG

[0069] Output: Personal public key data Ya.

[0070] Private key extraction algorithm A:

[0071] Input: personal public key data Ya, personal identity information da, system master key s, system public parameter G

[0072] Processing: Qa=h(da,Ya), Xa=sQaG

[0073] Output: (Qa, Xa) (calculate the intermediate value).

[0074] S3, generate a public and private key pair;

[0075] Each user client calls the private key extraction algorithm B to verify the notarization-user registration information sent by each client; if the verification is successful, the secret data s of each user client Ua, Ub, Uc is used ua 、s ub 、s uc And each user registration information calculates the public and private key pair (sk ua , Y ua )、(sk ub , Y ub )、(sk uc , Y uc ), and synchronize their respective public keys.

[0076] Private key extraction algorithm B:

[0077] Input: personal public key data Ya, Xa, Qa, secret data r, system master public key y, system public parameter G, elliptic curve order n

[0078] Processing: Xa+rG==yQa+Ya, Sa=r+(Xa)_x mod n

[0079] Output: Sa (personal private key).

[0080] S4, generating a proxy key;

[0081] S401, the user client Ua establishes an authorization license M w , which is used to clarify the identity information, authorization relationship, and usage restrictions of the authorization relationship between the user client Ua and the user client Ub; the user client Ua calls the proxy signature key extraction algorithm A to calculate the proxy authorization request information (M w , P ua ), and sends the proxy authorization request information to the user client Ub;

[0082] Proxy signcryption key extraction algorithm A:

[0083] Input: authorization certificate mw, original signer A's personal private key Sa, elliptic curve order n

[0084] Processing: Ta = h(mw)Sa mod n

[0085] Output: Ta (calculated intermediate value).

[0086] Proxy signcryption key extraction verification algorithm:

[0087] Input: authorization license mw, Ta, Qa, original signer A's personal public key Ya, system master public key y, elliptic curve generator G

[0088] Processing: TaG==h(mw)(Ya+(yQa)_x G)

[0089] Output: True or False.

[0090] S402: After receiving the proxy authorization request information from the user client Ua, the user client Ub calls the proxy signcryption key verification algorithm for verification. If the verification is successful, the proxy authorization request is accepted, and then the proxy signcryption key extraction algorithm B is called to generate the algorithm to calculate the proxy key SK proxy .

[0091] Proxy signcryption key extraction algorithm B:

[0092] Input: authorization certificate mw, Ta, proxy signer B's personal public key Yb, elliptic curve order n

[0093] Processing: Sp = Ta + h (mw) Sb mod n

[0094] Output: Sp (proxy signcryption key).

[0095] S5. The user client Ub signs and encrypts the electronic file M and sends it to the user client Uc;

[0096] The user client Ub uses the proxy key SK proxy , electronic file M, public key Y of user client Uc uc , call the proxy signcryption algorithm to calculate the proxy signcryption ciphertext C m , and (M w , C m ) is sent to the user client Uc.

[0097] Proxy Signcryption Algorithm:

[0098] Input: random data k, elliptic curve generator G, signcryption recipient public key Yc, Qc, system master key y, message m, authorization license mw, elliptic curve order n, proxy signcryption key Sp;

[0099] Processing: R = kG

[0100] V=k(Yc+(yQc)_xG)

[0101] c=m+(V)_x mod n

[0102] S=h(m,R)^k-1Sp mod n

[0103] Output: (mw, R, c, S).

[0104] S6. Decrypt the signature.

[0105] The user client Uc receives the (M w ,C m ), the public key Y of the user client Ua ua 、The public key Y of the user client Ub ub , call the verification and decryption algorithm for verification. If the verification is successful, the public keys of user client Ua and user client Ub are authenticated at the same time, and Uc accepts the ciphertext C m , otherwise the verification fails and Uc thinks that C m Illegal.

[0106] Decryption algorithm:

[0107] Input: Signature data (mw, R, c, S), signature recipient's personal private key Sc

[0108] Processing: V = RSc

[0109] m=c-(V)_x mod n

[0110] RS==h(m,R)*h(mw)*((Ya+(YaQa)_xG)+(Yb+(yQb)_xG))

[0111] Output: If true, the message plaintext is output; otherwise, false is returned directly.

[0112] In another embodiment of the present invention, a self-certification-based proxy signcryption system for electronic notarial documents is provided, which can be used to implement the above-mentioned self-certification-based proxy signcryption method for electronic notarial documents. Specifically, the self-certification-based proxy signcryption system for electronic notarial documents includes an initial module, a registration module, a public-private key module, a key module, a signcryption module, and a de-signcryption module.

[0113] Among them, the initial module,system initialization;

[0114] In the registration module, the notarization server and the user client generate corresponding secret data and temporary ciphertext information respectively. The notarization server generates corresponding notarization-user registration information according to the secret data and sends it to the user client;

[0115] The notarization server NTS and the user clients Ua, Ub, and Uc respectively call the secret data generation algorithm to generate the corresponding secret data and temporary ciphertext information, that is, the notarization server (s nts , Ynts )、User Client(s ua , T ua )、(s ub , T ub )、(s uc , T uc );

[0116] The notary server NTS responds to the registration request sent by users Ua, Ub, and Uc (with their respective IDA information) and sends the registration request according to the notary server secret data s nts , call the node registration algorithm to calculate the corresponding notarization-user registration information for each user, and send the notarization-user registration information to the corresponding user clients Ua, Ub, and Uc.

[0117] Public and private key module: multiple user clients verify the received notarization-user registration information respectively, and generate their own public and private keys based on temporary ciphertext information; use the public key for encryption and the private key for signing during proxy signing;

[0118] The user clients Ua, Ub, and Uc call the verification node registration information algorithm to verify the notarization-user registration information sent by Ua, Ub, and Uc respectively; when the verification is successful, according to the secret data s of the user clients Ua, Ub, and Uc ua 、s ub 、s uc And each user registration information calls the key generation algorithm to calculate the public and private key pair (sk ua , Y ua )、(sk ub , Y ub )、(sk uc , Y uc ), and synchronize their respective public keys.

[0119] Key module, the first user client establishes an authorization license, generates and sends a proxy authorization request message; the second user client verifies the received proxy authorization request message and generates a proxy key;

[0120] The signcryption module, the second user client signs and sends the electronic document based on the generated proxy key and the public key of the third user client;

[0121] The user client Ub uses the proxy key SK proxy , electronic file M, public key Y of user client Uc uc , call the proxy signcryption algorithm to calculate the proxy signcryption ciphertext C m , and (M w , C m ) is sent to the user client Uc.

[0122] In the decryption module, the third user client verifies the received signcryption based on the public keys of the first user client and the second user client, authenticates the public key of the first user client and the public key of the second user client, receives the ciphertext in the signcryption, and realizes decryption.

[0123] The user client Uc receives the (M w ,C m ), the public key Y of the user client Ua ua 、The public key Y of the user client Ub ub , call the authentication proxy signcryption algorithm for verification. When the verification succeeds, the public keys of the user client Ua and the user client Ub are authenticated at the same time, and the user client Uc accepts the ciphertext C m When verification fails, the ciphertext C m Illegal.

[0124] In another embodiment of the present invention, a terminal device is provided, the terminal device includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, and are specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding functions; the processor described in the embodiment of the present invention can be used for the operation of the self-certified electronic notarization document proxy signature method, including:

[0125] System initialization; the notarization server and the user client generate corresponding secret data and temporary ciphertext information respectively, and the notarization server generates corresponding notarization-user registration information based on the secret data and sends it to the user client; multiple user clients verify the received notarization-user registration information respectively, and generate their own public keys and private keys based on the temporary ciphertext information; the public key is used for encryption and the private key is used for signing during proxy signcryption; the first user client establishes an authorization license, generates and sends proxy authorization request information; the second user client verifies the received proxy authorization request information and generates a proxy key; the second user client signs and sends the electronic document based on the generated proxy key and the public key of the third user client; the third user client verifies the received signcryption based on the public keys of the first user client and the second user client, and authenticates the public keys of the first user client and the second user client at the same time, receives the ciphertext in the signcryption, and realizes decryption.

[0126] See also Figure 2 , the terminal device is a computer device, and the computer device 60 of this embodiment includes: a processor 61, a memory 62, and a computer program 63 stored in the memory 62 and executable on the processor 61. When the computer program 63 is executed by the processor 61, the method for calculating the fluid composition in the reservoir transformation wellbore in the embodiment is implemented. To avoid repetition, it is not described one by one here. Alternatively, when the computer program 63 is executed by the processor 61, the functions of each model / unit in the electronic notarization document proxy signature system based on self-certification in the embodiment are implemented. To avoid repetition, it is not described one by one here.

[0127] The computer device 60 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The computer device 60 may include, but is not limited to, a processor 61 and a memory 62. Those skilled in the art will appreciate that Figure 2 This is only an example of the computer device 60 and does not constitute a limitation of the computer device 60. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.

[0128] The processor 61 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0129] The memory 62 may be an internal storage unit of the computer device 60, such as a hard disk or memory of the computer device 60. The memory 62 may also be an external storage device of the computer device 60, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the computer device 60.

[0130] Furthermore, the memory 62 may include both an internal storage unit of the computer device 60 and an external storage device. The memory 62 is used to store computer programs and other programs and data required by the computer device. The memory 62 may also be used to temporarily store data that has been output or is to be output.

[0131] See also Figure 3 The terminal device 600 is an electronic device, and the electronic device is in the form of a general computing device. The components of the electronic device may include but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.

[0132] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention described in the above method section of this specification. For example, the processing unit 610 can perform the following steps: Figure 1 Follow the steps shown in .

[0133] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0134] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0135] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0136] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.

[0137] In another embodiment of the present invention, the present invention also provides a storage medium, specifically a computer-readable storage medium, which is a memory device in a terminal device for storing programs and data. It can be understood that the computer-readable storage medium here can include both the built-in storage medium in the terminal device and the extended storage medium supported by the terminal device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs. It should be noted that the computer-readable storage medium here can be a high-speed RAM memory, or a non-volatile memory (Non-VolatileMemory), such as at least one disk memory.

[0138] The processor may load and execute one or more instructions stored in a computer-readable storage medium to implement the corresponding steps of the self-certification-based electronic notarization document proxy signing method in the above embodiment; the processor may load and execute the following steps of one or more instructions in the computer-readable storage medium:

[0139] System initialization; the notarization service end and the user client generate corresponding secret data and temporary ciphertext information respectively, and the notarization service end generates corresponding notarization-user registration information according to the secret data and sends it to the user client; multiple user clients respectively verify the received notarization-user registration information, and generate their own public keys and private keys based on the temporary ciphertext information; use the public key for encryption and the private key for signing during proxy signing; the first user client establishes an authorization license, generates and sends proxy authorization request information; the second user client verifies the received proxy authorization request information and generates a proxy key; the second user client signs and sends the electronic document based on the generated proxy key and the public key of the third user client; the third user client verifies the received sign-encryption based on the public keys of the first user client and the second user client, and simultaneously authenticates the public key of the first user client and the public key of the second user client, receives the ciphertext in the sign-encryption, and realizes decryption. In summary, the present invention provides a self-certified electronic notarization document proxy signing method and related devices, which use the public key for encryption and the private key for signing during proxy signing to prevent data leakage and tampering.

[0140] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0141] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0142] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0143] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0144] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0145] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0146] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0147] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0148] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0149] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0150] The above contents are only for explaining the technical idea of ​​the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the claims of the present invention.

Claims

1. A method for signing electronic notarized documents based on self-certification, characterized in that: The following steps are involved: System initialization; The notarization server and the user client generate corresponding secret data and temporary ciphertext information respectively. The notarization server generates corresponding notarization-user registration information according to the secret data and sends it to the user client; Multiple user clients verify the received notarization-user registration information respectively, and generate their own public and private keys based on the temporary ciphertext information; when signing by proxy, the public key is used for encryption and the private key is used for signing; The first user client establishes an authorization license, generates and sends a proxy authorization request message; The second user client verifies the received proxy authorization request information and generates a proxy key; The second user client signs and encrypts the electronic document based on the generated proxy key and the public key of the third user client and sends it; The third user client verifies the received signcryption based on the public keys of the first user client and the second user client, authenticates the public key of the first user client and the public key of the second user client, receives the ciphertext in the signcryption, and realizes decryption of the signcryption.

2. The method for signing electronic notarized documents based on self-certification according to claim 1, characterized in that: The notarization server and the user client generate corresponding secret data and temporary ciphertext information respectively as follows: The notarization server NTS and the user clients Ua, Ub, and Uc respectively call the secret data generation algorithm to generate the corresponding secret data and temporary ciphertext information, that is, the notarization server (s nts , Y nts )、User Client(s ua , T ua )、(s ub , T ub )、(s uc , T uc ); The notary server NTS responds to the registration request sent by users Ua, Ub, and Uc (with their respective IDA information) and sends the registration request according to the notary server secret data s nts , call the node registration algorithm to calculate the corresponding notarization-user registration information for each user, and send the notarization-user registration information to the corresponding user clients Ua, Ub, and Uc.

3. The method for signing electronic notarized documents based on self-certification according to claim 1, characterized in that: The specific steps for generating respective public and private keys based on temporary ciphertext information are as follows: The user clients Ua, Ub, and Uc call the verification node registration information algorithm to verify the notarization-user registration information sent by Ua, Ub, and Uc respectively; when the verification is successful, according to the secret data s of the user clients Ua, Ub, and Uc ua 、s ub 、s uc And each user registration information calls the key generation algorithm to calculate the public and private key pair (sk ua , Y ua )、(sk ub , Y ub )、(sk uc , Y uc ), and synchronize their respective public keys.

4. The method for signing electronic notarized documents based on self-certification according to claim 1, characterized in that: Generate a proxy key as follows: The user client Ua creates an authorization license M w , used to clarify the identity information, authorization relationship, and usage restrictions of the authorization relationship of the user client Ua and the user client Ub; The user client Ua calls the proxy authorization request generation algorithm to calculate the proxy authorization request information (M w , P ua ), and sends the proxy authorization request information to Ub; After receiving the proxy authorization request information from the user client Ua, the user client Ub calls the verification proxy authorization request information algorithm for verification. When the verification is successful, it receives the proxy authorization request and then calls the proxy key generation algorithm to calculate the proxy key SK proxy .

5. The method for signing electronic notarized documents based on self-certification according to claim 1, characterized in that: The specific steps for signing are: The user client Ub uses the proxy key SK proxy , electronic file M, public key Y of user client Uc uc , call the proxy signcryption algorithm to calculate the proxy signcryption ciphertext C m , and (M w , C m ) is sent to the user client Uc.

6. The method for signing electronic notarized documents based on self-certification according to claim 1, characterized in that: System initialization specifically includes: configuring system security parameters and generating system public parameters.

7. The method for signing electronic notarized documents based on self-certification according to claim 6, characterized in that: The public parameters of the system are as follows: Setup(1 l )→(E,q,n,G,IDA) Among them, l is the security parameter level, E is an elliptic curve defined on a finite field F(q), G is a public base point on E with an order of prime number n, q is a prime number, and IDA is the unique identification data of the participant.

8. The method for signing electronic notarized documents based on self-certification according to claim 1, characterized in that: The decryption code is as follows: The user client Uc receives the (M w ,C m ), the public key Y of the user client Ua ua 、The public key Y of the user client Ub ub , call the authentication proxy signcryption algorithm for verification. When the verification succeeds, the public keys of the user client Ua and the user client Ub are authenticated at the same time, and the user client Uc accepts the ciphertext C m .

9. The method for signing electronic notarized documents based on self-certification according to claim 8, characterized in that: When verification fails, the ciphertext C m Illegal.

10. A self-certification-based electronic notarization document proxy signcryption system, characterized in that: include: Initial module, system initialization; In the registration module, the notarization server and the user client generate corresponding secret data and temporary ciphertext information respectively. The notarization server generates corresponding notarization-user registration information according to the secret data and sends it to the user client; Public and private key module: multiple user clients verify the received notarization-user registration information respectively and generate their own public and private keys based on temporary ciphertext information; When signing with a proxy, the public key is used for encryption and the private key is used for signing; Key module, the first user client establishes an authorization license, generates and sends the proxy authorization request information; The second user client verifies the received proxy authorization request information and generates a proxy key; The signcryption module, the second user client signs and sends the electronic document based on the generated proxy key and the public key of the third user client; In the decryption module, the third user client verifies the received signcryption based on the public keys of the first user client and the second user client, authenticates the public key of the first user client and the public key of the second user client, receives the ciphertext in the signcryption, and realizes decryption.

11. A chip, characterized in that: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 7.

12. An electronic device, characterized in that: Comprising the chip as claimed in claim 11.