Open ssleptsov opened 5 years ago
Hello @ssleptsov I am sorry that hummusRecipe only supports certain annotations now https://chunyenhuang.github.io/hummusRecipe/Recipe.html#.annot
You may fork and hack the code for different annotations here https://github.com/chunyenHuang/hummusRecipe/blob/master/lib/annotation.js#L59
I will consider to add the support for your case. Thanks for asking.
Do we have any update on this. I am also trying to add the same Signature Widget so that I can digitally sign it using node-signpdf
Do we have any update on this. I am also trying to add the same Signature Widget so that I can digitally sign it using node-signpdf
Have you done with your task of signing a pdf ?
I'm trying to convert this code from pdfkit to hummusRecipe. And I can't find a way to set a AcroForm and add widget/sig. Do you have any suggestion? Thanks!
` const signature = pdf.ref({ Type: 'Sig', Filter: 'Adobe.PPKLite', SubFilter: 'adbe.pkcs7.detached', ByteRange: [ 0, DEFAULT_BYTE_RANGE_PLACEHOLDER, DEFAULT_BYTE_RANGE_PLACEHOLDER, DEFAULT_BYTE_RANGE_PLACEHOLDER, ], Contents: Buffer.from(String.fromCharCode(0).repeat(signatureLength)), Reason: new String(reason), // eslint-disable-line no-new-wrappers M: new Date(), });
`