PeculiarVentures / PKI.js

PKI.js is a pure JavaScript library implementing the formats that are used in PKI applications (signing, encryption, certificate requests, OCSP and TSP requests/responses). It is built on WebCrypto (Web Cryptography API) and requires no plug-ins.
http://pkijs.org
Other
1.25k stars 204 forks source link

Multiple Signatures PDF Modification #298

Closed jmtiong closed 3 years ago

jmtiong commented 3 years ago

I am attempting to implement multiple signatures on a PDF in my application. I read through the adobe docs and on 6.3.6 Multiple signatures it has this image

image

I have successfully implement a single signer but now I am wondering how can I do it for multiple signers?

I saw stackoverflow solution for itext stating to make it into append mode but I have no clue how it is done using this library.

Can anyone show me reference to how it can be implemented?

rmhrisk commented 3 years ago

PKI.js does not have anything to do with the PDF format we simple provided an example of embedding a CMS into a PDF to show an example of a use case for CMS, similar to how we did with SMIME.

We have another library we built when we made Hancock.ink to support the many different PDF use cases but it is not publicly available at this time.

Since this issue isn’t related to PKI.js I am closing the issue.