Hi,
We're creating an application that needs to electronically sign a PDF using an electronic ID card that has the private key embedded in the card and cannot be downloaded. In order to sign using this card, one is supposed to create a hash of the to-be-secured object (the pdf in this case), send this to the card to sign it with its private key and retrieve the result. This result should be placed in the PDF as an electronic signature.
The result received after signing the hash string will be the digital certificate information and the signed hash string, then we will rely on this information to create a pdf file with a complete signature
I was wondering if this is possible with Spire.PDF? I searched through the SDK but couldn't seem to find a way to do this. Does Spire.PDF only support signatures based on a certificate with both public and private key embedded within? Or is there an other way?
--------------
I found a similar way supported by iText, May I ask if SpirePDF supports such a way?
stackoverflow.com/questions/55042503/sign-pdf-hash-using-java-and-itext
Thanks.