[Repost]
When signing a normal PDF file, the certificate shown at Adobe Reader is valid. But if I change the security setting of this PDF file and sign again, Adobe Reader shows that the document has been altered. I tried another PDF library but has no such issue.
In order to investigate the issue further on our end, I request you to please share the source file, used sample code and generated PDF reproducing the issue.
Can you please also share the “test.pkcs12” as it has been referred in the code and it is missing. We are unable to use the sample code shared because of this.
Thank you for sharing the information. I have been able to reproduce the issue on our end. A ticket with ID PDFJAVA-40407 has been created in our issue tracking system to further investigate the issue on our end. This thread has been linked with the issue so that you may be notified once the issue will be fixed.