3.2.4 • Published 1 month ago

@signpdf/signpdf v3.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@signpdf

npm version

The main package from the @signpdf family that tries to make signing of PDFs simple in Node.js.

Usage

$ npm i -S @signpdf/signpdf node-forge. Then considering you have a well-prepared PDF that already has a signature placeholder and you have prepared a signer implementation usage should be as simple as:

import signpdf from '@signpdf/signpdf';
...
const signedPdf = await signpdf.sign(fs.readFileSync(PATH_TO_PDF_FILE), signer);

If your PDF does not contain a placeholder, we have helpers:

We also have a single signer implementation currently:

Notes

PAdES compliant signatures

To produce PAdES compliant signatures, the ETSI Signature Dictionary SubFilter value must be ETSI.CAdES.detached instead of the standard Adobe value. If you are using placeholder-plain or placeholder-pdfkit010 this can be done with a parameter.

Credits

3.2.4

1 month ago

3.2.3

2 months ago

3.2.0

3 months ago

3.1.0

5 months ago

3.0.0

7 months ago

3.0.8

7 months ago

3.0.6

7 months ago

3.0.5

7 months ago

3.0.4

7 months ago

3.0.3

7 months ago

3.0.2

7 months ago