Closed phmjunior closed 3 years ago
Hi,
When I call the sign() with the parameters, the following error returns
ERROR ReferenceError: Buffer is not defined at SignPdf.sign (signpdf.js:38) at TicService.getCliente (tic.service.ts:29)
I did the following test, creating a Buffer to access the method
const caminho1 = '%appdata%/Microsoft/SystemCertificates/My/Certificates'; const caminho2 = '%appdata%/Microsoft/SystemCertificates/My/Certificates'; const a = Buffer.from(caminho1); const b = Buffer.from(caminho2); const assinado = signer.sign(a, b);
This issue has been automatically marked as stale because it has not had activity in the past 90 days. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
When I call the sign() with the parameters, the following error returns
I did the following test, creating a Buffer to access the method