A Valid PDF Signature is Not Valid by Aspose.Pdf


When i try to verify digital signatures of PDF documents, some documents are marked as Not-Valid.
The code i am using:

string File1 = “Some Path”;
Aspose.Pdf.Document PDF_Doc = new Aspose.Pdf.Document(File1);
PdfFileSignature PFS1 = new PdfFileSignature(PDF_Doc);
if (PFS1.GetSignNames().Count > 0)
foreach (string Cert_00 in PFS1.GetSignNames())
if (PFS1.VerifySigned(Cert_00))
MessageBox.Show(“Not Valid !!!”);

image.png (24.4 KB)

SampleSignedPDFDocument.pdf (265.9 KB)



Thanks for contacting support.

We have tested the scenario with latest version of API and managed to observe the same results, which you have mentioned. Therefore, we have logged an issue as PDFNET-43228 in our issue tracking system. We will further investigate it and keep you updated with the status of its rectification. Please be patient and spare us little time.

We are sorry for the inconvenience.