Does the Aspose PDF Java method FileSignature.verifySignature() check if the certificate is trusted, or is it just verifying the the document is not changed? I am asking because verifySignature() return true when I run it on a network without internet connection. Adobe Reader say “Signature validity i unknown” when open the same document without internet connection.
I am also trying to verify PAdES signed document and getting a NullPointerException on fileSignature.verifySignature. I found an old post with the same issue here: Verify PAdES signed document. Is there still no support for PAdES?
@bjornhn
We are afraid not. The API is unable to determine whether a certificate is added to the trusted list of Adobe Reader. It only verifies the signature validity that if document is not broken or modified. Furthermore, we are afraid that the issue related to PAdES signed document is not yet resolved. We have associate the respective ticket ID with this forum thread as well and will inform you as soon as it is resolved.
We apologize for the inconvenience.
Thank you for your quick reply and helpful information
@bjornhn
Please feel free to create a new topic in case you need further assistance.