I am trying to digitally sign a PDF using Aspose Pdf by using an external device to actually do the signing, in this case Azure Key Vault. iText has a very good mechanism for this. They provide IExternalSignature interface that you can implement which provides the Sign functionality, however I can't find anything similar with Aspose Pdf.
I am working with the examples from this blog post: https://rahulpnath.com/blog/signing-a-pdf-file-using-azure-key-vault/
Does anyone know how the third example (Non Exportable Certificate) can be implemented with Aspose Pdf?
You can use
ExternalSignature
object that providesX509Certificate2
for signing document. Please use following code snippet. In these examples the Windows certificate store is used to get the certificate for signing:We hope this will be helpful. Please feel free to contact us if you need any further assistance.