I would appreciate any insight into the problem we are having with removing digital signatures from the (attached) signed PDF. We’re using Aspose.Pdf 7.4.0. Our code is as follows:
public void RemoveSignaturesFromPdf(MemoryStream pdf)
PdfFileSignature pdfSign = new PdfFileSignature();
var names = pdfSign.GetSignNames();
… et cetera.
When calling pdfSign.GetSignNames(), the following exception occurs:
Adobe Reader opens this PDF with no problem, and says that all signatures are valid.
Thank you for your help.