Issue validating signatures
Hello,
I am having an issue validating some signatures while using Adobe Acrobat Reader.
I have a digitaly signed pdf document that appears as invalid on Acrobat Reader DC but appears as valid both in iText and FoxitReader.
When I open the file in Adobe Reader DC and validate the signature i get this message:
Error during signature verification.
Error encountered while validating:
Error encountered while BER decoding:
When I try to access the certificates by clicking "Certificate Details" nothing happens.
On the other side, whenever I validate the signature with either FoxitReader or iText the signature appears as valid and I can access the certificate chain used for the signature.
The certificate is not a "signing certificate" (e.g. Certificate doesn't have the "non-repudiation" or "digitalSignature" Key usages), which we purposely ignore for this signature. Also Acrobat Reader would give a diferent error if such was the only problem.
Additionaly, if I corrupt the hash used in the signature (with the same certificate), i get to access the certificate chain in the document with Adobe ReaderDC, even though i get the error stating that the signature has been corrupted or modified.
The documents are:
signed and no corrupted hash
signed and with corrupted hash
Would appreciate any help on understanding why this happens.
Thanks in advance,
