Unlock instant, AI-driven research and patent intelligence for your innovation.

PKCS#7 signature implementation method suitable for small-memory embedded equipment

A technology for embedded equipment and implementation methods, applied in encryption devices with shift registers/memory, user identity/authority verification, digital transmission systems, etc., to achieve the effects of saving hardware costs, eliminating development work, and facilitating transplantation

Active Publication Date: 2020-03-31
AITIWEIER ELECTRONICS TECH BEIJING
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The object of the present invention is to provide a kind of PKCS#7 signature implementation method suitable for small memory embedded devices, thereby solving the aforementioned problems existing in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • PKCS#7 signature implementation method suitable for small-memory embedded equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, and are not intended to limit the present invention.

[0022] Such as figure 1 As shown, this embodiment provides a PKCS#7 signature implementation method suitable for small-memory embedded devices, and the implementation method includes the following steps,

[0023] S1. Analyzing the private key file and certificate file required for the signature, and judging whether the private key file matches the certificate file, if yes, execute step S2; if not, feed back a matching error message, and terminate the signature;

[0024] S2. Perform digest operation and signature operation on the source data to obtain the signature result;

[0025] S3. According ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a PKCS#7 signature implementation method suitable for small-memory embedded equipment, and the implementation method comprises the following steps: S1, analyzing a private keyfile and a certificate file needed by signature, judging whether the private key file is matched with the certificate file or not, and executing the step S2 if the private key file is matched with thecertificate file; if not, feeding back matching error information, and terminating the signature; S2, performing abstract operation and signature operation on the source data to obtain a signature result; and S3, according to a PKCS#7 specification, packaging data of each domain required by the signature result by adopting an ASN.1 standard. The method has the advantages that the occupied memoryis small, the method can be operated on embedded equipment or single-chip microcomputer equipment, and the hardware cost can be saved under the condition that the requirements of customers are met; and, moreover, development and transplantation are convenient, codes are compiled in a C language and can basically run on all embedded platforms, and complex and repeated development work can be omitted.

Description

technical field [0001] The invention relates to the field of POS machine application program development, in particular to a PKCS#7 signature implementation method suitable for small-memory embedded devices. Background technique [0002] PKCS#7 is also called the syntax standard of encrypted messages, an encryption standard produced by the RSA security system exchanging digital certificates in the public key encryption system. PKCS#7 describes the syntax of digital certificates and other encrypted messages—in particular, methods for encrypting data and digitally signing them, as well as algorithms. When digitally signing using PKCS#7, the result contains the signing certificate (a list of relevant certificate revocation lists) and any other certificates on the proven path. If the data is encrypted using PKCS#7, it usually contains the issuer's reference message and the serial number of the certificate, which is related to the public key used to decrypt the encrypted data. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L9/32H04L9/06
CPCH04L9/3249H04L9/3268H04L9/3265H04L9/0643
Inventor 卢建兴刘福标
Owner AITIWEIER ELECTRONICS TECH BEIJING