We are currently evaluating Aspose.Total for few ongoing projects and try to understand more about how
PdfFileSignature.VerifySigned(signName) validation works. We went through the documentation and found no specific details except the usage of those two methods.
For testing purposes I created a PDF document and signed it using a self-signed cerficate which I created on the same machine. The
PdfFileSignature class was able to read all the required information, and the
VerifySignature methods both returned
Then I removed the cerficate which I used to sign the document. As a result, Adobe Reader reported an issue with the signature saying that it cannot verify its validity, and thus the signature validity status became UNKNOWN. When running the same test again, however, both the
VerifySignature methods return value was still
So if possible, please help us clarfying these topics:
- The difference between
VerifySignedmethods of the
- What does a
truereturn value of any of the above methods say about the verified signature, in terms of validity? Is the validity of the certificate also verified (expiration date, etc) or the methods just check if the document contains a signature having the provided name?
Thank you in advance,