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

A pkcs#7 signature implementation method suitable for small memory embedded devices

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, convenient transplantation, and small memory occupation

Active Publication Date: 2022-03-25
AITIWEIER ELECTRONICS TECH BEIJING
View PDF5 Cites 0 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
  • A pkcs#7 signature implementation method suitable for small memory embedded devices

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 devices, the implementation method includes the following steps, S1, analyzing the private key file and certificate file required by the signature, and judging the private key file Whether it matches with the certificate file, if yes, then execute step S2; if not, feed back matching error information, and terminate the signature; S2, perform digest operation and signature operation on the source data, to obtain the signature result; S3, according to PKCS# 7 specification, using the ASN.1 standard to package the various domain data required by the signature result. The advantages are: the implementation method occupies less memory, can run on embedded devices or single-chip microcomputer devices, and can save hardware costs when meeting customer needs; moreover, it is convenient to develop and transplant, and the code is written in C language, which can basically be used in all embedded devices. Running on a standard platform, complex and repetitive development work can be avoided.

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L9/32H04L9/06
CPCH04L9/3249H04L9/3268H04L9/3265H04L9/0643
Inventor 卢建兴刘福标
Owner AITIWEIER ELECTRONICS TECH BEIJING