发明名称 Method and system for implementing digital signature in mobile operating system
摘要 A method and a system for implementing a digital signature in a mobile operating system. The method comprises: an application program coding to-be-signed data to obtain a first data packet; calling a preset system function by using an address character string of a service program, an address character string of an application program and the first data packet as parameters; when the service program is called by the preset system function, parsing function parameters, and storing the address character string of the service program; decoding the first data packet; if the decoding succeeds, sending the to-be-signed data and a preset signature type to an intelligent key device; otherwise, using decoding failure information as a returned value, and calling the preset system function by using the address character string of the application program and the returned value as parameters; receiving information returned by the intelligent key device; calling the preset system function by using the information returned by the intelligent key device, the address character string of the application program and the returned value as parameters; and the application program parsing the parameters of the preset system function to obtain a signature result and a returned value, and the operations end.
申请公布号 US9473308(B2) 申请公布日期 2016.10.18
申请号 US201314434262 申请日期 2013.12.02
申请人 FEITAN TECHNOLOGIES CO., LTD. 发明人 Lu Zhou;Yu Huazhang
分类号 H04L9/32;G06F21/57;G06F21/64;H04W4/00;H04L29/06 主分类号 H04L9/32
代理机构 Ohlandt, Greeley, Ruggiero & Perle, LLP 代理人 Ohlandt, Greeley, Ruggiero & Perle, LLP
主权项 1. A method for implementing digital signature in a mobile operating system, comprising: in the case that an application is invoked, performing following steps: step S1 comprising coding, by the application, data to be signed to obtain a first data package; step S2 comprising invoking, by the application, a system preset function by taking an address character string of a service application, an address character string of the application and the first data package as parameters; step S3 comprising analyzing, by the service application, parameters of the system preset function in the case that the service application is invoked by the system preset function, and storing the address character string of the application; step S4 comprising decoding, by the service application, the first data package in the parameters of the system preset function obtained by analyzing, obtaining the data to be signed if the first data package is successfully decoded, and step S5 being executed; otherwise, invoking, by the service application, the system preset function by taking the stored address character string of the application and a returning value as parameter, and going to step S8, where the returning value is information that the decoding is failed; step S5 comprising sending, by the service application, the data to be signed and a preset signing type to a smart key device; step S6 comprising receiving, by the service application, information returned by the smart key device; step S7 comprising invoking, by the service application, the system preset function by taking the information returned by the smart key device, the stored address character string of the application and a returning value as parameters; and step S8 comprising analyzing, by the application, parameters of the system preset function to obtain a signing result or the returning value, and ending in the case that the application is invoked by the system preset function.
地址 Beijing CN