Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

confused arguments #4

Closed
alekssakovsky opened this issue Sep 14, 2018 · 1 comment
Closed

confused arguments #4

alekssakovsky opened this issue Sep 14, 2018 · 1 comment

Comments

@alekssakovsky
Copy link
Contributor

import signer from 'node-signpdf';

const signedPdf = signer.sign(
fs.readFileSync(PATH_TO_P12_CERTIFICATE),
fs.readFileSync(PATH_TO_PDF_FILE)
); <<<<<<<- in manual

sign(pdfBuffer, p12Buffer) { <<<<<<<<- in code

@vbuch
Copy link
Owner

vbuch commented Sep 14, 2018

Resolved with #6
Just making sure it is referenced in the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants