How to sign PDFs using “GOST-3411-2015-512” and “ECGOST3411-2015-512”?
I using old iText 2.1.7 in a legacy project. I’m working with KalkanProvider and BouncyCastle for cryptographic operations. I need to signing PDFs using the “GOST-3411-2015-512” and “ECGOST3411-2015-512” algorithms, but signature is invalid:Signature is invalid.
Add sign to PDF using old iText-2.1.7
I’m working on a legacy project that uses the old iText-2.1.7 library. I’m just starting to figure it out and I won’t be upgrading to a more modern version yet, so I need help with this version specifically.
I need add signature to pdf, here is my code:
Display a PDF on browser without asking for password but ask for password when opening pdf after downloading
I have an application that displays PDFs in a web page and users can download them. I want to add user and owner passwords to the PDF, but with my code now it’s asking for the user password before displaying on browser. I tried not adding the user password and that makes the pdf display on browser as normal, but it also does not ask for password when opened after being downloaded.