Advanon / pdf-signatures

Nodejs package to sign pdfs with external electronic signatures (PKCS7)
GNU Affero General Public License v3.0
16 stars 6 forks source link

Signing with p12 certificate with password #12

Open Arturokin opened 3 years ago

Arturokin commented 3 years ago

Hello, Reading the docs i can't find an example of how to sign un p12 certificate, i tried using one in base64 but nothing happens,

Mi question is, pkcs7 format requires public and private files to be separated, to sign the PDF, i can convert the p12 to pkcs7 dividing the two types (public and private), but when calling signPdf function, what do i use? private or public certificate? can you help me out on this?

ajakka commented 2 years ago

I also would love to know if it's possible to use p12 certificates with this library.