CN108764848A - A kind of signature method and system of electronic contract - Google Patents

A kind of signature method and system of electronic contract Download PDF

Info

Publication number
CN108764848A
CN108764848A CN201810547761.7A CN201810547761A CN108764848A CN 108764848 A CN108764848 A CN 108764848A CN 201810547761 A CN201810547761 A CN 201810547761A CN 108764848 A CN108764848 A CN 108764848A
Authority
CN
China
Prior art keywords
signature
module
server
signed
contract
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810547761.7A
Other languages
Chinese (zh)
Other versions
CN108764848B (en
Inventor
陆舟
于华章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Feitian Technologies Co Ltd
Original Assignee
Feitian Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Feitian Technologies Co Ltd filed Critical Feitian Technologies Co Ltd
Priority to CN201810547761.7A priority Critical patent/CN108764848B/en
Publication of CN108764848A publication Critical patent/CN108764848A/en
Application granted granted Critical
Publication of CN108764848B publication Critical patent/CN108764848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Technology Law (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention discloses a kind of signature method and system of electronic contract, is related to field of digital signature.Method includes:Client receives the trigger signal for starting to sign a contract and sends contract mark to server;Based on contract server identifies obtains PDF contract documents to be signed;Server generates the first signature result, and interim signature PDF contract documents are generated according to the first signature result and PDF contract documents to be signed;Server generates data to be signed and is sent to client, and client sends data to be signed to coupled intelligent cipher key equipment;The second signature result that receiving device transmits;Server obtains interim signature PDF contract documents, the first signature result in interim signature PDF contract documents is replaced with the second signature result, the second signature packet of group, and the signature information got and interim signature PDF contract documents and the second signature packet are synthesized to together, signed PDF contract documents are generated, signature is completed.Intelligent cipher key equipment is used during signature, improves safety.

Description

A kind of signature method and system of electronic contract
Technical field
The present invention relates to field of digital signature more particularly to a kind of signature method and system of electronic contract.
Background technology
With universal and online transaction technology the development of internet, online transaction is carried out by internet and is had become A kind of important method of commerce.In order to ensure that the interests of Trading parties, electronic contract are occurred in transaction.Existing electronics closes With generally being signed with soft certificate (including long-term digital certificate and Short run digital certificate), since soft certificate is with document certificate Form show, and without fixation be stored in some hardware medium, be susceptible to copied by other people usurp carry out signature electricity The case where sub- contract, security level are relatively low.
Invention content
To solve problems of the prior art, the present invention proposes a kind of signature method and system of electronic contract.
The present invention provides a kind of signature method of electronic contract, including:
Step S1, client receives the trigger signal for starting to sign a contract, and sends contract mark to server;Server Based on contract mark obtains PDF contract documents to be signed;
Step S2, server generates the first signature result, is generated according to the first signature result and PDF contract documents to be signed Interim signature PDF contract documents and preservation corresponding with contract mark;
Step S3, server generates data to be signed and sends data to be signed and contract mark to client;Client Data to be signed are sent to coupled intelligent cipher key equipment;The second signature result that intelligent cipher key equipment transmits is received, and Second signature result and contract mark are sent to server;
Step S4, based on contract server identifies the interim signature PDF contract documents of acquisition, parses interim signature PDF contracts File replaces the first signature result in interim signature PDF contract documents with the second signature result;
Step S5, server is according to the device certificate got, default signature algorithm and the second signature result composition second Signature packet, and the signature information got and interim signature PDF contract documents and the second signature packet are synthesized to one It rises, generates signed PDF contract documents, signature is completed.
The present invention provides a kind of signature system of electronic contract, including:Client, server and intelligent cipher key equipment;
Client specifically includes:
First receiving module, for receiving the trigger signal for starting to sign a contract;
First sending module, after receiving the trigger signal for starting to sign a contract for the first receiving module, to server Transmission contract identifies;
First receiving module is additionally operable to receive the data to be signed and contract mark that server is sent;
First sending module is additionally operable to wait for what coupled intelligent cipher key equipment the first receiving module of transmission received Signed data;
First receiving module is additionally operable to receive the second signature result that intelligent cipher key equipment transmits;
First sending module is additionally operable to send the second signature result and contract mark to server;
Server specifically includes:
Second receiving module, the contract mark sent for receiving client;
First acquisition module, the contract mark for being received according to the second receiving module obtain PDF contracts text to be signed Part;
First generation module, for generating the first signature result;
Second generation module, the first signature result for being generated according to the first generation module and PDF contracts to be signed text Part generates interim signature PDF contract documents and preservation corresponding with contract mark;
Third generation module, for generating data to be signed;
Second sending module, for sending the data to be signed and the second reception mould that third generation module generates to client The contract mark that block receives;
Second receiving module is additionally operable to receive the second signature result and contract mark that client is sent;
First acquisition module, the contract mark for being additionally operable to be received according to the second receiving module obtain interim signature PDF contracts File;
Parsing module, the interim signature PDF contract documents got for parsing the first acquisition module;
Replacement module, the second signature result for receiving the second receiving module replace what the first generation module generated The first signature result in interim signature PDF contract documents;
First group of packet module, for being received according to the device certificate got, default signature algorithm and the second receiving module The second signature result arrived forms the second signature packet;
4th generation module, the interim signature PDF that signature information and the first acquisition module for that will get are got Second signature packet of contract documents and first group of packet module composition is synthesized to together, generates signed PDF contract documents.
Beneficial effects of the present invention:Method provided by the invention is used, intelligent cipher key equipment is made to participate in electronic contract Signature, and signature during use intelligent cipher key equipment certificate, substantially increase electronic contract signature safety.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without having to pay creative labor, may be used also for those of ordinary skill in the art With obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow chart of binding procedure in a kind of signature method of electronic contract provided by Embodiment 2 of the present invention;
Fig. 2-Fig. 3 is the flow that process is signed in a kind of signature method of electronic contract provided by Embodiment 2 of the present invention Figure;
Fig. 4 is PDF contract documents schematic diagram to be signed provided by Embodiment 2 of the present invention;
Fig. 5 is signed PDF contract documents schematic diagrames provided by Embodiment 2 of the present invention;
Fig. 6 is a kind of block diagram of the signature system for electronic contract that the embodiment of the present invention three provides.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, the every other reality that those skilled in the art are obtained without making creative work Example is applied, shall fall within the protection scope of the present invention.
Embodiment one
The present embodiment one provides a kind of signature method of electronic contract, including:
Step S1, client receives the trigger signal for starting to sign a contract, and sends contract mark to server;Server Based on contract mark obtains PDF contract documents to be signed;
Step S2, server generates the first signature result, is generated according to the first signature result and PDF contract documents to be signed Interim signature PDF contract documents and preservation corresponding with contract mark;
Step S3, server generates data to be signed and sends data to be signed and contract mark to client;Client Data to be signed are sent to coupled intelligent cipher key equipment;The second signature result that intelligent cipher key equipment transmits is received, and Second signature result and contract mark are sent to server;
Step S4, based on contract server identifies the interim signature PDF contract documents of acquisition, parses interim signature PDF contracts File replaces the first signature result in interim signature PDF contract documents with the second signature result;
Step S5, server is according to the device certificate got, default signature algorithm and the second signature result composition second Signature packet, and the signature information got and interim signature PDF contract documents and the second signature packet are synthesized to one It rises, generates signed PDF contract documents, signature is completed.
Preferably, further include before step S5:Based on contract server identifies acquisition signature information.
Preferably, further include in step S1:User end to server sends user information;
Further include before step S5:Server obtains device certificate according to user information.
Preferably, step S1 further includes:Whether server is legal according to user information verification user identity, is then according to conjunction PDF contract documents to be signed are obtained with mark;Otherwise error message is returned to client.
Specifically, according to the first signature result and PDF contract documents sign generate interim signature PDF contract documents and with Contract mark is corresponding to be preserved, specially:Server is according to the device certificate got, default signature algorithm and the first signature result The first signature packet is formed, and the signature information got and PDF contract documents to be signed and the first signed data are included PDF contract documents and preservation corresponding with contract mark are signed to together, generation is interim.
Specifically, the interim signature PDF contract documents of parsing, specially:The interim signature PDF contract documents of server parsing obtain To signature information, PDF contract documents to be signed and the first signature packet.
Correspondingly, the first signature result in interim signature PDF is replaced with the second signature result, specially:Server root It is identified according to predeterminated position and obtains the first signature packet, the first signature packet is parsed according to preset data packet format, obtains the First signature result is replaced with the second signature result by one signature result.
Specifically, server is according to the device certificate got, default signature algorithm and the second signature result composition second Signature packet, specially:Server ties device certificate, default signature algorithm and the second signature according to preset data packet format Fruit forms the second signature packet.
Preferably, further include in step S3:Client obtains Personal Identification Number input by user and is verified, and verifies Success then sends data to be signed to coupled intelligent cipher key equipment;Authentication failed, then report an error end.
Specifically, server generation data to be signed are specially:Server is treated signature PDF contract documents and is got Signature information carries out abstract operation and generates data to be signed.
Preferably, further include in step S1:User end to server sends user information;
Further include before step S3:Server obtains certificate serial number according to user information;
Further include in step S3:Certificate serial number is sent to client by server;Client sends certificate serial number To intelligent cipher key equipment;Intelligent cipher key equipment obtains corresponding device certificate according to certificate serial number.
Preferably, further include in step S3:Intelligent cipher key equipment call preset signature function with preset signature algorithm and Device certificate signs to data to be signed, generates the second signature result, and the second signature result is sent to client.
Preferably, server generates the first signature result, specially:
Server calls are preset signature function and are generated to server with default signature algorithm and the device certificate got Data to be signed sign, generate the first signature result.
Preferably, server generates the first signature result, specially:Server generates random number and using random number as the One signature result;Random number length matches with the public key algorithm in the device certificate got.
Preferably, further include before step S1:
Step T1, client receives user information input by user, and user information is sent to server;
Step T2, client and intelligent cipher key equipment, which are established, connects, and is obtained from coupled intelligent cipher key equipment Certificate information, and certificate information is sent to server;
Step T3, certificate information is bound and is preserved with user information by server.
Preferably, further include before step T2, after step T1:Whether server authentication user information is legal, is, holds Row step T2;Otherwise error message is returned to client, terminated.
Embodiment two
The present embodiment provides a kind of signature methods of electronic contract, and the system based on client and server composition is come real It is existing, referring to Fig. 1-Fig. 3, include the following steps:Binding procedure and signature process;
Binding procedure is as shown in Figure 1, specifically include:
Step 101, client receive user information input by user, and user information are sent to server;
Specifically, user information specifically includes user account and password.
For example, user account:[email protected];Password:123456;
Whether step 102, server authentication user information are legal, are to then follow the steps 103;Otherwise it is tested to client return Failure response is demonstrate,proved, is terminated;
Step 103, client obtain certificate information from coupled intelligent cipher key equipment, and certificate information is sent To server;
In the present embodiment, certificate information includes device certificate and certificate serial number;
For example, device certificate is:
MIICXTCCAcegAwIBAgIONTNENTVEQ0I0OEYxODAwDAYIKoEcz1UBg3UFADB4MQswCQYDVQQGEwJDT jETMBEGA1UEChMKYm9jY29tLmNvbTERMA8GA1UECxMIQkFOS0NPTU0xFDASBgNVBAsTC0VudGVycH Jpc2VzMSswKQYDVQQDEyIwNDBAODIwMTIwNzE4MDJAWzgwMDAwNjA2MjNdQDAwMDE1MB4XDTE3MTE wODAyMjAxM1oXDTM1MDYwMTA0MDAwMFowgYoxGTAXBgNVBAMMEHRlc3QxMDAwMDAwMDAwOTQxCzAJ BgNVBAYMAkNOMRUwEwYDVQQKDAxFTlRFUlNBRkUgQ0ExHDAaBgNVBAsME0N1c3RvbWVycyBTaWduI ENlcnQxFjAUBgNVBAsMDVNNMiBDdXN0b21lcnMxEzARBgNVBAsMCmZ0c2FmZS5jb20wWTATBgcqhk jOPQIBBggqgRzPVQGCLQNCAASENv3yNYE1UcVWLylQfL5J8L5Wv+843yEoB+ LVC2P4roFJV0WdVG0xtViB79yoO9SFpy+ EjQVYsDQIHzdMaN4HoyAwHjALBgNVHQ8EBAMCBsAwDwYDVR0TAQH/BAUwAwEB/ zAMBggqgRzPVQGDdQUAA4GBAAUSRv5qRmrfhk5Nf4xpDSDBH3pt0luxqCmMSudvz2p0Hu/ vH9nBM3aInacpSwcii3KQPWQferQmJ3rhfFiT0RXPLzUsXXB0D1xBpU8DOdu9b90TUKU9sumRkD4Z Zu9bmnrIuO7bxJ0BKjw2Hhe5NIRzWrVu4G1XL5+rcLE3pl46;Certificate serial number: 3533443535444342343846313830
It should be noted that further including before step 103:Client is established with intelligent cipher key equipment and is connected;
Certificate information and user information are bound and are preserved by step 104, server;
Specifically, in the present embodiment, server preserves certificate information into certificate table.
Signature process is as Figure 2-3, specifically includes:
Step 201, client receive user and start the trigger signal signed a contract;
Step 202, user end to server send user information and contract mark;
Specifically, user information specifically includes user account and password.
For example, contract is identified as:8AC16BEC273057A775AB6A4673135D36
Whether step 203, server authentication user identity are legal, are to then follow the steps 204;Otherwise it is returned to client wrong False information;
Step 204, server obtain certificate information according to user information;
Specifically, server obtains the certificate information that preserves in server according to user information, wherein certificate information includes The device certificate and certificate serial number of intelligent cipher key equipment.
Based on contract step 205, server identify the PDF contracts to be signed corresponding with contract mark for obtaining and currently preserving File;
In the present embodiment, this step further includes:Based on contract server identifies judges that the contract identifies corresponding PDF Whether contract documents are that signature is completed or has cancelled, and are, signature is completed to client return PDF contract documents or has made Useless miscue information, it is no to then follow the steps 206;PDF contract documents to be signed are as shown in Figure 4.
Wherein, PDF (abbreviation of Portable Document Format, mean " portable document format "), be by Adobe Systems carry out the file that exchange files are developed for the mode unrelated with application program, operating system, hardware Format.No matter pdf document all can guarantee accurate face based on PostScript language image models on which kind of printer Color and accurate printing effect, i.e. PDF can verily reproduce each character, color and the image of original copy.
Based on contract step 206, server identify obtains the corresponding signature information preserved;
Specifically, the signature information that the needs are arranged includes the pictorial information of stamped signature and the position rectangle of stamped signature, into one Step can also include sign date.
For example, pictorial information is:data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGMAAAA 8CAYAAABy4wS3AAAOT0lEQVR42u1cCViU1Rr+Zx9mBmZhHTULruYGIqJIXNzSXHKrXLLUUqnM3HBL zaW0MnvSzB1BVNyuaVpJIhaa5pYroqZXAUlwiAJ10HslU/7nvh/zzcM8E1vaDaE5z/M+Z87/n3P+ mfc93/ed84ufILiKq7jKw1F0gJShZkgd7mu4rQRkgALQAxKneVSAm4vO+ y9E8KtACBAEdAM6Ak0BD74/CGgJjAV6AM8DkwAvh3lIrEDgTR7zNy0KLEiVRiGotGpAC+ gqRWnxBV5kEv8J9ASe5drIVtCL700B+gN9gclsUY5iRADvlCOGvNbrIHE3yY1jltQ1zD85Sr/ o7Bb9J2dPG5alZxmWp/9YHvQfp55jQYjAxoAWeBKYB4SyCIHskqjPo2w544DBwAQWTO1Etl0kdRlC 9KvVgkg8vNX6ud/2N8VmXTDG5173S8j90S8mfas5NvND47L0t8uDYUHqVIhhX7208usCQ4AAoB3wG hDGItVlF0WW8TIwCxgOdOC+Mgd3R66rE7s46d9GDImHl9J97oHXjauuFnivyc2uH58+ tl9iqllp8nWTqEG0qhLwNMA/gHAmn+JFC3ZFA4CGTCAF8Ci2jC5M+AAnC/ BgMciqXmchnTcJtTHkukl0b33VyhCXY/FZ+9O5gOVnW8sMviqFRns/ s8l4ZzSeCQ9kC9CzED4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936 785.1952 90.76323 825.2221
Optionally, step 206 can also be:
Step A1, server by the PDF contract documents to be signed got and needs the signature information being arranged to be sent to visitor Family end;
Step A2, client receives and shows the treaty content picture and the signature information for needing to be arranged;
Step A3, user end to server sends the signature information being provided with;
Step A4, server obtains signature information.
Step 207, server treat signature PDF contract documents and signature information carries out abstract operation and generates number to be signed According to;
Step 208, server calls preset signature function and treat number of signature with default signature algorithm and certificate serial number According to signing, the first signature result is generated;
For example, the first signature result is:
30460221004BFF8B5A9A1A58907F9642C433977450CF54CD1732C9D7E11AE25B2E56441038022 1004BFF8B5A9A1A58907F9642C433977450CF54CD1732C9D7E11AE25B2E56441038
In the present embodiment, the first signature result can also be one group of random number that server generates.
Step 209, server are formed according to device certificate, default signature algorithm and the first signature result in certificate information First signature packet;
In the present embodiment, server according to preset data packet format by device certificate, the default signature in certificate information Algorithm and the first signature result form the first signature packet.
Specifically, preset data packet format is PKCS7 formats.
For example, the first signature packet is:
<3082040206092a864886f70d010702a08203f3308203ef020101310f300d06096086 480165030402010500300b06092a864886f70d010701a08202613082025d308201c7a00302010 2020e3533443535444342343846313830300c06082a811ccf5501837505003078310b30090603 5504061302434e31133011060355040a130a626f63636f6d2e636f6d3111300f060355040b130 842414e4b434f4d4d31143012060355040b130b456e746572707269736573312b302906035504 031322303430403832303132303731383032405b383030303036303632335d403030303135301 e170d3137313130383032323031335a170d3335303630313034303030305a30818a3119301706 035504030c1074657374313030303030303030303934310b300906035504060c02434e3115301 3060355040a0c0c454e54455253414645204341311c301a060355040b0c13437573746f6d6572 73205369676e204365727431163014060355040b0c0d534d3220437573746f6d6572733113301 1060355040b0c0a6674736166652e636f6d3059301306072a8648ce3d020106082a811ccf5501 822d034200048436fdf235813551c5562f29507cbe49f0be56bfef38df212807e2d50b63f8ae8 14957459d546d31b55881efdca83bd485a72f848d0558b034081f374c68de07a320301e300b06 03551d0f0404030206c0300f0603551d130101ff040530030101ff300c06082a811ccf5501837 5050003818100051246fe6a466adf864e4d7f8c690d20c11f7a6dd25bb1a8298c4ae76fcf6a74 1eefef1fd9c13376889da7294b07228b72903d641f7ab426277ae17c5893d115cf2f352c5d707 40f5c41a54f0339dbbd6fdd1350a53db2e991903e1966ef5b9a7ac8b8eedbc49d012a3c361e17 b93484735ab56ee06d572f9fab70b137a65e3a318201653082016102010130818a3078310b300 906035504061302434e31133011060355040a130a626f63636f6d2e636f6d3111300f06035504 0b130842414e4b434f4d4d31143012060355040b130b456e746572707269736573312b3029060 35504031322303430403832303132303731383032405b383030303036303632335d4030303031 35020e3533443535444342343846313830300d06096086480165030402010500a069301806092 a864886f70d010903310b06092a864886f70d010701301c06092a864886f70d010905310f170d 3138303532383031333032305a302f06092a864886f70d010904312204204bfe7ea72d696a5ff 2f89f3ead659e6de15a729c43c5c41a78c8cde8a1cc5bb2300b06072a8648ce3d020105000448 304602210087f6456df8f0cdea921548a6609f357f2f38fbc62c8a79ccf5b9b20e415a7ad8022 100b15cce2379efdcc6af0dc43e387da188d9ad4af25e95f2be1f254191dfb37ff30000……>
Preferably, can also include in signer's identity information and signature reason and signature information in the first signature packet The information such as the picture attribute (format, size and location etc.) of stamped signature.
Step 210, server will sign information, the first signature packet is synthesized to together with PDF contract documents to be signed, Generate interim signature PDF contract documents and preservation corresponding with contract mark;
Step 211, server by data to be signed, certificate information certificate serial number and contract mark be sent to client End;
Step 212, client obtain personal identification number input by user and are verified, and are proved to be successful, then follow the steps 213;Authentication failed then reports an error end;
For example, personal identification number:12345678a;
Step 213, client send the card in data to be signed and certificate information to coupled intelligent cipher key equipment Preface row number;
For example, certificate serial number:3533443535444342343846313830;
Step 214, client receive the second signature result that intelligent cipher key equipment transmits;
In the present embodiment, intelligent cipher key equipment calls signature function to be treated with default signature algorithm and certificate serial number Signed data is signed, and the second signature result is generated;
For example, the second signature result generated is:
304602210087F6456DF8F0CDEA921548A6609F357F2F38FBC62C8A79CCF5B9B20E415A7AD8022 100B15CCE2379EFDCC6AF0DC43E387DA188D9AD4AF25E95F2BE1F254191DFB37FF3
Second signature result and contract mark are sent to server by step 215, client;
Based on contract step 216, server identify the interim signature PDF contract documents of acquisition;
Step 217, the interim signature PDF contract documents of server parsing, obtain the first signature packet;By signature packet In the first signature result replace with the second signature result;
Specifically, the interim signature PDF contract documents of server parsing obtain signature information, PDF contract documents sign and Signature packet identifies according to predeterminated position and obtains the first signature packet;Signed data is parsed according to preset data packet format Packet obtains the first signature result;First signature result is replaced with into the second signature result.
Step 218, server are formed according to device certificate, default signature algorithm and the second signature result in certificate information Second signature packet;
Specifically, server according to preset data packet format by certificate information device certificate, default signature algorithm and Second signature result forms the second signature packet;
For example, the second signature packet generated is:< 3082040206092a864886f70d010702a08203f3308203ef020101310f300d06096086480165030 402010500300b06092a864886f70d010701a08202613082025d308201c7a003020102020e3533 443535444342343846313830300c06082a811ccf5501837505003078310b30090603550406130 2434e31133011060355040a130a626f63636f6d2e636f6d3111300f060355040b130842414e4b 434f4d4d31143012060355040b130b456e746572707269736573312b302906035504031322303 430403832303132303731383032405b383030303036303632335d403030303135301e170d3137 313130383032323031335a170d3335303630313034303030305a30818a3119301706035504030 c1074657374313030303030303030303934310b300906035504060c02434e3115301306035504 0a0c0c454e54455253414645204341311c301a060355040b0c13437573746f6d6572732053696 76e204365727431163014060355040b0c0d534d3220437573746f6d6572733113301106035504 0b0c0a6674736166652e636f6d3059301306072a8648ce3d020106082a811ccf5501822d03420 0048436fdf235813551c5562f29507cbe49f0be56bfef38df212807e2d50b63f8ae814957459d 546d31b55881efdca83bd485a72f848d0558b034081f374c68de07a320301e300b0603551d0f0 404030206c0300f0603551d130101ff040530030101ff300c06082a811ccf5501837505000381 8100051246fe6a466adf864e4d7f8c690d20c11f7a6dd25bb1a8298c4ae76fcf6a741eefef1fd 9c13376889da7294b07228b72903d641f7ab426277ae17c5893d115cf2f352c5d70740f5c41a5 4f0339dbbd6fdd1350a53db2e991903e1966ef5b9a7ac8b8eedbc49d012a3c361e17b93484735 ab56ee06d572f9fab70b137a65e3a318201653082016102010130818a3078310b300906035504 061302434e31133011060355040a130a626f63636f6d2e636f6d3111300f060355040b1308424 14e4b434f4d4d31143012060355040b130b456e746572707269736573312b3029060355040313 22303430403832303132303731383032405b383030303036303632335d403030303135020e353 3443535444342343846313830300d06096086480165030402010500a069301806092a864886f7 0d010903310b06092a864886f70d010701301c06092a864886f70d010905310f170d313830353 2383031333032305a302f06092a864886f70d010904312204204bfe7ea72d696a5ff2f89f3ead 659e6de15a729c43c5c41a78c8cde8a1cc5bb2300b06072a8648ce3d020105000448304602210 087f6456df8f0cdea921548a6609f357f2f38fbc62c8a79ccf5b9b20e415a7ad8022100b15cce 2379efdcc6af0dc43e387da188d9ad4af25e95f2be1f254191dfb37ff0000……>
Step 219, server will sign information, the second signature packet and interim signature PDF contract documents and be synthesized to one It rises, generate signed PDF contract documents and preserves;
In the present embodiment, signed PDF contract documents are as shown in Figure 5.
Step 220, server are sent to client signs successful information, terminates.
Embodiment three
The present embodiment provides a kind of signature systems of electronic contract, as shown in fig. 6, including:Client, server and intelligence Key devices;
Client specifically includes:
First receiving module 301, for receiving the trigger signal for starting to sign a contract;
First sending module 302, after receiving the trigger signal for starting to sign a contract for the first receiving module 301, to Server sends contract mark;
First receiving module 301 is additionally operable to receive the data to be signed and contract mark that server is sent;
First sending module 302 is additionally operable to send the reception of the first receiving module 301 to coupled intelligent cipher key equipment The data to be signed arrived;
First receiving module 301 is additionally operable to receive the second signature result that intelligent cipher key equipment transmits;
First sending module 302 is additionally operable to send the second signature result and contract mark to server;
Server specifically includes:
Second receiving module 401, the contract mark sent for receiving client;
First acquisition module 402, the contract mark for being received according to the second receiving module 401 obtain PDF to be signed Contract documents;
First generation module 403, for generating the first signature result;
Second generation module 404, the first signature result for being generated according to the first generation module 403 and PDF to be signed Contract documents generate interim signature PDF contract documents and preservation corresponding with contract mark;
Third generation module 405, for generating data to be signed;
Second sending module 406, for sending the data to be signed and second that third generation module 405 generates to client The contract mark that receiving module 401 receives;
Second receiving module 401 is additionally operable to receive the second signature result and contract mark that client is sent;
First acquisition module 402, the contract mark for being additionally operable to be received according to the second receiving module 401 obtain interim signature PDF contract documents;
Parsing module 407, the interim signature PDF contract documents got for parsing the first acquisition module 402;
Replacement module 408, the second signature result for receiving the second receiving module 401 replace the first generation module The first signature result in the 403 interim signature PDF contract documents generated;
First group of packet module 409, for according to the device certificate got, default signature algorithm and the second receiving module 401 the second signature results received form the second signature packet;
4th generation module 410, the interim label that signature information and the first acquisition module 402 for that will get are got Second signature packet of administration's PDF contract documents and first group of packet module 409 composition is synthesized to together, is generated signed PDF and is closed Same file.
Preferably, the first acquisition module 402 is additionally operable to identify acquisition according to the contract that the second receiving module 401 receives Sign information.
Preferably, the first sending module 302 is additionally operable to send user information to server;
Second receiving module 401 is additionally operable to receive the user information that client is sent;
First acquisition module 402 is additionally operable to obtain equipment card according to the user information that the second receiving module 401 receives Book.
Server further includes:First judgment module;
First judgment module, whether the user information verification user identity for being received according to the second receiving module 401 It is legal;
First acquisition module 402 is specifically used for when the first judgment module judges that user identity is legal, based on contract identifies Obtain PDF contract documents to be signed;
Second sending module 406 is additionally operable to when the first judgment module judges that user identity is illegal, is returned to client Error message.
Preferably, the second generation module 404, specifically for according to device certificate, the default signature algorithm and the got One signature result forms the first signature packet, and the signature information got and PDF contract documents to be signed and first are signed Name data inclusion is to together, generating interim signature PDF contract documents and preservation corresponding with contract mark.
Preferably, parsing module 407 obtain signature information specifically for parsing interim signature PDF contract documents, wait signing PDF contract documents and the first signature packet.
Preferably, replacement module 408 are specifically used for identifying the first signature packet of acquisition according to predeterminated position, according to pre- If data packet format parses the first signature packet, the first signature result is obtained, the first signature result is replaced with into the second signature As a result.
Preferably, first group of packet module 409 is specifically used for device certificate, default signature according to preset data packet format Algorithm and the second signature result form the second signature packet.
Preferably, in client further include the first authentication module;
First receiving module 301 is additionally operable to obtain Personal Identification Number input by user;
First authentication module, Personal Identification Number input by user for being received to the first receiving module 301 simultaneously carry out Verification, authentication failed, report an error end;
First sending module 302, specifically for when authentication module is proved to be successful, to coupled intelligent cipher key equipment Send the data to be signed that the first receiving module 301 receives.
Preferably, third generation module 405, specifically for PDF contracts the to be signed text obtained to the first acquisition module 402 Part and the signature information got carry out abstract operation and generate data to be signed.
Preferably, intelligent cipher key equipment includes:Third receiving module and the second acquisition module;
First sending module 302 is additionally operable to send user information to server;
Second receiving module 401 is additionally operable to receive the user information that client is sent;
First acquisition module 402 is additionally operable to obtain certificate sequence according to the user information that the second receiving module 401 receives Number;
Second sending module 406 is additionally operable to send certificate serial number to client;
First sending module 302 is additionally operable to send certificate serial number to coupled intelligent cipher key equipment;
Third receiving module, the certificate serial number sent for receiving client;
Second acquisition module obtains corresponding device certificate according to the certificate serial number that third receiving module receives.
Preferably, intelligent cipher key equipment further includes:5th generation module and third sending module;
5th generation module, for calling default signature function to treat number of signature with default signature algorithm and device certificate According to signing, the second signature result is generated;
Third sending module, the second signature result for generating the 5th generation module are sent to client.
Preferably, the first generation module 403 is specifically used for calling and presets signature function with default signature algorithm and acquisition To device certificate data to be signed that server is generated sign, generate the first signature result.
Preferably, the first generation module 403 is specifically used for generating random number and using random number as the first signature result; Random number length matches with the public key algorithm in the device certificate got.
Preferably, client further includes:Third acquisition module;
First receiving module 301 is additionally operable to receive user information input by user;
First sending module 302 is additionally operable to the user information that the first receiving module 301 receives being sent to server;
Third acquisition module is connected for being established with intelligent cipher key equipment, and from coupled intelligent cipher key equipment Obtain certificate information;
First sending module 302 is additionally operable to the certificate information that third acquisition module is got being sent to server;
Server further includes:Binding module;
Second receiving module 401 is additionally operable to receive the certificate information that client is sent;
Binding module, the certificate information for receiving the second receiving module 401 are bound and are preserved with user information.
Preferably, further include in server:Second authentication module;
Second authentication module, it is whether legal for verifying user information;
Third acquisition module is specifically used for when the second authentication module verification user information is legal, with intelligent cipher key equipment Connection is established, and certificate information is obtained from coupled intelligent cipher key equipment;
Second sending module 406 is additionally operable to, when the second authentication module verification user information is legal, return to client wrong False information.
More than, specific implementation mode only of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all cover Within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (32)

1. a kind of signature method of electronic contract, which is characterized in that including:
Step S1, client receives the trigger signal for starting to sign a contract, and sends contract mark to server;The server PDF contract documents to be signed are obtained according to contract mark;
Step S2, the described server generates the first signature result, according to first signature result and the PDF contracts to be signed File generated signs PDF contract documents and preservation corresponding with contract mark temporarily;
Step S3, the described server generates data to be signed and sends the data to be signed and the contract to the client Mark;The client sends the data to be signed to coupled intelligent cipher key equipment;The intelligent key is received to set Standby the second signature result transmitted, and second signature result and contract mark are sent to server;
Step S4, the described server obtains interim signature PDF contract documents according to contract mark, parses the interim signature PDF contract documents replace the first signature result in the interim signature PDF contract documents with second signature result;
Step S5, the described server is formed according to the device certificate got, default signature algorithm and second signature result Second signature packet, and by the signature information got and the interim signature PDF contract documents and second number of signature It is synthesized to together according to packet, generates signed PDF contract documents, signature is completed.
2. according to the method described in claim 1, it is characterized in that, further including before the step S5:The server according to The contract mark obtains signature information.
3. according to the method described in claim 1, it is characterized in that, further including in step S1:The client is to the service Device sends user information;
Further include before the step S5:The server obtains device certificate according to the user information.
4. according to the method described in claim 3, it is characterized in that, the step S1 further includes:The server is according to Whether user information verification user identity is legal, is, PDF contract documents to be signed are obtained according to contract mark;Otherwise to Client returns to error message.
5. according to the method described in claim 1, it is characterized in that, described according to first signature result and described wait signing PDF contract documents generate interim signature PDF contract documents and preservation corresponding with contract mark, specially:The server The first signature packet is formed according to the device certificate got, default signature algorithm and first signature result, and will be obtained The signature information and the PDF contract documents to be signed got are synthesized to together with first signature packet, are generated interim Sign PDF contract documents and preservation corresponding with contract mark.
6. according to the method described in claim 1, it is characterized in that, described parse the interim signature PDF contract documents, specifically For:The server parses the interim signature PDF contract documents and obtains signature information, PDF contract documents to be signed and first Signature packet.
7. according to the method described in claim 6, it is characterized in that, described replace the interim label with second signature result The first signature result in PDF contract documents is affixed one's name to, specially:The server identifies according to predeterminated position and obtains the first number of signature According to packet, first signature packet is parsed according to preset data packet format, the first signature result is obtained, described first is signed As a result the second signature result is replaced with.
8. according to the method described in claim 1, it is characterized in that, the server is according to the device certificate got, default Signature algorithm and second signature result form the second signature packet, specially:The server is according to preset data packet The device certificate, the default signature algorithm and second signature result are formed the second signature packet by format.
9. according to the method described in claim 1, it is characterized in that, further including in the step S3:The client, which obtains, to be used The Personal Identification Number of family input is simultaneously verified, and is proved to be successful, then is waited for described in coupled intelligent cipher key equipment transmission Signed data;Authentication failed, then report an error end.
10. according to the method described in claim 1, it is characterized in that, server generation data to be signed are specially:It is described Server carries out abstract operation to the PDF contract documents to be signed and the signature information got and generates data to be signed.
11. according to the method described in claim 1, it is characterized in that, further including in step S1:The client is to the service Device sends user information;
Further include before the step S3:The server obtains certificate serial number according to the user information;
Further include in the step S3:The certificate serial number is sent to client by the server;The client is by institute It states certificate serial number and is sent to the intelligent cipher key equipment;The intelligent cipher key equipment is obtained according to the certificate serial number and is corresponded to Device certificate.
12. according to the method for claim 11, which is characterized in that further include in the step S3:The intelligent key is set It is standby that default signature function is called to sign to the data to be signed with default signature algorithm and the device certificate, it generates Second signature result, and second signature result is sent to the client.
13. according to the method described in claim 1, it is characterized in that, the server generates the first signature result, specially: The server calls are preset signature function and are waited for server generation with the device certificate preset signature algorithm and got Signed data is signed, and the first signature result is generated.
14. according to the method described in claim 1, it is characterized in that, the server generates the first signature result, specially: The server generates random number and using the random number as the first signature result;The random number length is set with what is got Public key algorithm in standby certificate matches.
15. according to the method described in claim 1, it is characterized in that, further including before the step S1:
Step T1, client receives user information input by user, and user information is sent to server;
Step T2, client and intelligent cipher key equipment, which are established, connects, and obtains certificate from coupled intelligent cipher key equipment Information, and the certificate information is sent to server;
Step T3, the certificate information is bound and is preserved with the user information by server.
16. according to the method for claim 15, which is characterized in that further include before the step T2, after step T1:Institute It whether legal states server authentication user information, is to then follow the steps T2;Otherwise error message is returned to client, terminated.
17. a kind of signature system of electronic contract, which is characterized in that including:Client, server and intelligent cipher key equipment;
The client, specifically includes:
First receiving module, for receiving the trigger signal for starting to sign a contract;
First sending module, after receiving the trigger signal for starting to sign a contract for first receiving module, to server Transmission contract identifies;
First receiving module is additionally operable to receive the data to be signed and contract mark that the server is sent;
First sending module is additionally operable to receive to coupled intelligent cipher key equipment transmission first receiving module Data to be signed;
First receiving module is additionally operable to receive the second signature result that the intelligent cipher key equipment transmits;
First sending module is additionally operable to send second signature result and contract mark to the server;
The server, specifically includes:
Second receiving module, the contract mark sent for receiving the client;
First acquisition module, the contract mark for being received according to second receiving module obtain PDF contracts text to be signed Part;
First generation module, for generating the first signature result;
Second generation module, the first signature result and the PDF to be signed for being generated according to first generation module are closed Sign PDF contract documents and preservation corresponding with contract mark temporarily with file generated;
Third generation module, for generating data to be signed;
Second sending module, for sending data to be signed that the third generation module generates and described the to the client The contract mark that two receiving modules receive;
Second receiving module is additionally operable to receive second signature result and the contract mark that the client is sent Know;
First acquisition module, the contract mark for being additionally operable to be received according to second receiving module obtain interim signature PDF Contract documents;
Parsing module, the interim signature PDF contract documents got for parsing first acquisition module;
Replacement module, second signature result for receiving second receiving module replace described first and generate mould The first signature result in the interim signature PDF contract documents that block generates;
First group of packet module, for being received according to the device certificate got, default signature algorithm and second receiving module Second signature result arrived forms the second signature packet;
4th generation module, the interim signature that signature information and first acquisition module for that will get are got The second signature packet that PDF contract documents are formed with first group of packet module is synthesized to together, generates signed PDF contracts File.
18. system according to claim 17, which is characterized in that first acquisition module is additionally operable to according to described The contract mark that two receiving modules receive obtains signature information.
19. system according to claim 17, which is characterized in that first sending module is additionally operable to the service Device sends user information;
Second receiving module is additionally operable to receive the user information that the client is sent;
First acquisition module is additionally operable to obtain equipment card according to the user information that second receiving module receives Book.
20. according to the system described in right 19, which is characterized in that the server further includes:First judgment module;
First judgment module, the user information for being received according to second receiving module verify user identity It is whether legal;
First acquisition module is specifically used for when first judgment module judges that user identity is legal, according to the conjunction With PDF contract documents to be signed described in mark acquisition;
Second sending module is additionally operable to when first judgment module judges that user identity is illegal, to the client End returns to error message.
21. system according to claim 17, which is characterized in that second generation module is specifically used for according to acquisition Device certificate, default signature algorithm and first signature result arrived forms the first signature packet, and the label that will be got Administration's information and the PDF contract documents to be signed are synthesized to together with first signature packet, are generated interim signature PDF and are closed With file and it is corresponding with contract mark preserve.
22. system according to claim 17, which is characterized in that the parsing module is specifically used for parsing described interim Signature PDF contract documents obtain signature information, PDF contract documents to be signed and the first signature packet.
23. system according to claim 22, which is characterized in that the replacement module is specifically used for according to predeterminated position Mark obtains the first signature packet, and first signature packet is parsed according to preset data packet format, obtains the first signature As a result, first signature result is replaced with the second signature result.
24. system according to claim 17, which is characterized in that first group of packet module is specifically used for according to default The device certificate, the default signature algorithm and second signature result are formed the second signed data by data packet format Packet.
25. system according to claim 17, which is characterized in that further include the first authentication module in the client;
First receiving module is additionally operable to obtain Personal Identification Number input by user;
First authentication module, Personal Identification Number input by user for being received to first receiving module simultaneously carry out Verification, authentication failed, report an error end;
First sending module, it is close to coupled intelligence specifically for when first authentication module is proved to be successful Key equipment sends the data to be signed that first receiving module receives.
26. system according to claim 17, which is characterized in that the third generation module is specifically used for described the The PDF contract documents to be signed of one acquisition module acquisition and the signature information got carry out abstract operation and generate number to be signed According to.
27. system according to claim 17, which is characterized in that the intelligent cipher key equipment includes:Third receiving module With the second acquisition module;
First sending module is additionally operable to send user information to the server;
Second receiving module is additionally operable to receive the user information that the client is sent;
First acquisition module is additionally operable to obtain certificate sequence according to the user information that second receiving module receives Row number;
Second sending module is additionally operable to send the certificate serial number to the client;
First sending module is additionally operable to send the certificate serial number to coupled intelligent cipher key equipment;
The third receiving module, the certificate serial number sent for receiving the client;
Second acquisition module obtains corresponding device certificate according to the certificate serial number that the third receiving module receives.
28. system according to claim 27, which is characterized in that the intelligent cipher key equipment further includes:5th generates mould Block and third sending module;
5th generation module, for calling default signature function with default signature algorithm and the device certificate to described Data to be signed are signed, and the second signature result is generated;
The third sending module, second signature result for generating the 5th generation module are sent to the visitor Family end.
29. system according to claim 17, which is characterized in that first generation module is specifically used for calling default Signature function is signed with the data to be signed that the device certificate preset signature algorithm and got generates server, raw At the first signature result.
30. system according to claim 17, which is characterized in that first generation module is specifically used for generating random It counts and using the random number as the first signature result;The random number length and the public key algorithm in the device certificate got Match.
31. system according to claim 17, which is characterized in that the client further includes:Third acquisition module;
First receiving module is additionally operable to receive user information input by user;
First sending module is additionally operable to the user information that first receiving module receives being sent to server;
The third acquisition module is connected for being established with intelligent cipher key equipment, and from coupled intelligent cipher key equipment Obtain certificate information;
First sending module is additionally operable to the certificate information that the third acquisition module is got being sent to server;
The server further includes:Binding module;
Second receiving module is additionally operable to receive the certificate information that the client is sent;
The binding module, the certificate information for receiving second receiving module are bound simultaneously with the user information It preserves.
32. according to the system described in right 31, which is characterized in that further include in the server:Second authentication module;
Second authentication module, it is whether legal for verifying user information;
The third acquisition module is specifically used for when second authentication module verification user information is legal, with intelligent key Equipment establishes connection, and obtains certificate information from coupled intelligent cipher key equipment;
Second sending module is additionally operable to when second authentication module verification user information is legal, to the client Return to error message.
CN201810547761.7A 2018-05-31 2018-05-31 Electronic contract signing method and system Active CN108764848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810547761.7A CN108764848B (en) 2018-05-31 2018-05-31 Electronic contract signing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810547761.7A CN108764848B (en) 2018-05-31 2018-05-31 Electronic contract signing method and system

Publications (2)

Publication Number Publication Date
CN108764848A true CN108764848A (en) 2018-11-06
CN108764848B CN108764848B (en) 2021-03-16

Family

ID=64000917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810547761.7A Active CN108764848B (en) 2018-05-31 2018-05-31 Electronic contract signing method and system

Country Status (1)

Country Link
CN (1) CN108764848B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109784873A (en) * 2019-02-28 2019-05-21 飞天诚信科技股份有限公司 A kind of working method and equipment of electronic contract signature platform
CN110245220A (en) * 2019-05-05 2019-09-17 深圳法大大网络科技有限公司 Electronic document signs method, apparatus and server, storage medium
CN110263581A (en) * 2019-05-08 2019-09-20 深圳法大大网络科技有限公司 Contract signs method, system, terminal device and storage medium
CN110830449A (en) * 2019-10-17 2020-02-21 北京三快在线科技有限公司 File processing method and device, electronic equipment and readable storage medium
CN111523135A (en) * 2020-07-06 2020-08-11 飞天诚信科技股份有限公司 PDF file electronic signature method and device
CN111832080A (en) * 2020-07-21 2020-10-27 杭州天谷信息科技有限公司 Method for making electronic contract useless
WO2021051942A1 (en) * 2019-09-18 2021-03-25 平安科技(深圳)有限公司 Information addition method and related apparatus
CN112994900A (en) * 2021-04-25 2021-06-18 北京信安世纪科技股份有限公司 File countersigning method, device, client, server and storage medium
CN114820147A (en) * 2022-06-02 2022-07-29 杭州天谷信息科技有限公司 Signing method and signing system for staged electronic contract

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100085633A (en) * 2009-01-21 2010-07-29 (주)듀플렉스 System and method for digitalizing paper document with time stamp
CN103338185A (en) * 2013-05-31 2013-10-02 飞天诚信科技股份有限公司 File sharing method and file sharing system
CN104243451A (en) * 2014-08-19 2014-12-24 天地融科技股份有限公司 Information interaction method and system and smart key equipment
CN106067849A (en) * 2016-05-24 2016-11-02 飞天诚信科技股份有限公司 A kind of digital signature method being applicable to PDF document and device
CN106656504A (en) * 2016-10-27 2017-05-10 飞天诚信科技股份有限公司 Signature device and system and working method thereof
CN108092779A (en) * 2018-01-05 2018-05-29 北京汇通金财信息科技有限公司 A kind of method and device for realizing electronic signature

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100085633A (en) * 2009-01-21 2010-07-29 (주)듀플렉스 System and method for digitalizing paper document with time stamp
CN103338185A (en) * 2013-05-31 2013-10-02 飞天诚信科技股份有限公司 File sharing method and file sharing system
CN104243451A (en) * 2014-08-19 2014-12-24 天地融科技股份有限公司 Information interaction method and system and smart key equipment
CN106067849A (en) * 2016-05-24 2016-11-02 飞天诚信科技股份有限公司 A kind of digital signature method being applicable to PDF document and device
CN106656504A (en) * 2016-10-27 2017-05-10 飞天诚信科技股份有限公司 Signature device and system and working method thereof
CN108092779A (en) * 2018-01-05 2018-05-29 北京汇通金财信息科技有限公司 A kind of method and device for realizing electronic signature

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109784873A (en) * 2019-02-28 2019-05-21 飞天诚信科技股份有限公司 A kind of working method and equipment of electronic contract signature platform
CN109784873B (en) * 2019-02-28 2021-07-02 飞天诚信科技股份有限公司 Working method and device of electronic contract signing platform
CN110245220A (en) * 2019-05-05 2019-09-17 深圳法大大网络科技有限公司 Electronic document signs method, apparatus and server, storage medium
CN110263581A (en) * 2019-05-08 2019-09-20 深圳法大大网络科技有限公司 Contract signs method, system, terminal device and storage medium
WO2021051942A1 (en) * 2019-09-18 2021-03-25 平安科技(深圳)有限公司 Information addition method and related apparatus
CN110830449A (en) * 2019-10-17 2020-02-21 北京三快在线科技有限公司 File processing method and device, electronic equipment and readable storage medium
CN110830449B (en) * 2019-10-17 2020-11-13 北京三快在线科技有限公司 File processing method and device, electronic equipment and readable storage medium
CN111523135A (en) * 2020-07-06 2020-08-11 飞天诚信科技股份有限公司 PDF file electronic signature method and device
CN111832080A (en) * 2020-07-21 2020-10-27 杭州天谷信息科技有限公司 Method for making electronic contract useless
CN112994900A (en) * 2021-04-25 2021-06-18 北京信安世纪科技股份有限公司 File countersigning method, device, client, server and storage medium
CN112994900B (en) * 2021-04-25 2021-09-17 北京信安世纪科技股份有限公司 File countersigning method, device, client, server and storage medium
CN114820147A (en) * 2022-06-02 2022-07-29 杭州天谷信息科技有限公司 Signing method and signing system for staged electronic contract
CN114820147B (en) * 2022-06-02 2022-11-25 杭州天谷信息科技有限公司 Signing method and signing system for staged electronic contract

Also Published As

Publication number Publication date
CN108764848B (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN108764848A (en) A kind of signature method and system of electronic contract
CN106899570B (en) The processing method of two dimensional code, apparatus and system
CN106209763B (en) A kind of login method and system
CN106600717B (en) A kind of method, system and smart machine based on the networking ticket checking of user terminal interface
AU727710B2 (en) An electronic lottery system and its operating method and computer-readable recording medium in which the electronic lottery program code is stored
CN101340437B (en) Time source regulating method and system
US5587809A (en) System and a process for transmission of secure faxes
CN104283885B (en) A kind of implementation method of many SP secure bindings based on intelligent terminal local authentication
CN106067849A (en) A kind of digital signature method being applicable to PDF document and device
CN109255712A (en) Electronic signature method, apparatus, storage medium and server
CN109618341A (en) A kind of digital signature authentication method, system, device and storage medium
CN108206803B (en) Service agency processing method and device
US20160020909A1 (en) A method, a system, a computer system and a computer program product for certifying a procedure of signature of an electronic file relating to an agreement between at least two parties
CN108055253A (en) Software login verification method, device and system
CN106936790A (en) The method that client and server end carries out two-way authentication is realized based on digital certificate
CN100477579C (en) Method for registering and enabling PKI functionalities
CN105591745A (en) Method and system for performing identity authentication on user using third-party application
CN110335159B (en) Application information processing method, device and equipment and readable storage medium
CN110060403A (en) The more ticket electronic voting methods of a people and system based on block chain
CN106778290A (en) A kind of application software verification method and system based on wechat platform
CN110363533A (en) A kind of real-name authentication system and method
CN110233850A (en) Register method, application server, user terminal and system based on alliance&#39;s chain
CN108174360A (en) A kind of note transmission method and device, short-message verification method and device
CN101488246A (en) Check verification method, check verification apparatus and check verification system
CN103530777B (en) Interactive electronic certificate verifying system and method based on mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
OL01 Intention to license declared