Closed rafliher closed 7 months ago
Hi @rafliher,
If you look at the types of pdfkitAddPlaceholder
you will see that the pdf
parameter is supposed to be a PDFDocument
. That is an instance of pdfkit. So it would work if you give it pdfDoc
(before saving) instead of pdfBytes
. I don't know why you thought it should be base64 encoded.
Some error raised when trying so sign a pdf in form of bytes and p12Signer
i can obtain a valid P12Signer instance
trying to sign it, an error was raised