I want to add a digital signature to a existing pdf document.
I’m able to sign a pdf with a local available pfx file accordingto Digitally Sign In PDF File | Aspose.PDF for .NET API Reference
I now want to sign an existing pdf document with a certificate which is part of the local certificate store(on windows).
Is it possible to sign a pdf using a given X509Certificate2(which can be loaded from the cert store)?
It seems it works with aspose.words: https://blog.aspose.com/2010/09/18/digitally-sign-pdf-documents-producted-by-aspose-words
But for aspose.pdf, i did not find a way to use a X509Certificate2 for signing the document