This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
java code for pswd protection+digital sign (for all pgs)
posted 6 years ago
hello friend ,
i have written a java code for digitally signing and password protect a pdf document using itext.jar...
now what is happening is i am using export.cer and keystore.ks which i created using a keytool command in command prompt. so when i open the pdf the signature is invalid ...only when i manually click on the signature and verify it then it will get validated...also when i send the pdf to my friends computer the same thing is happening .Could anyone please help me out in solving this issue..
is this because i am using some non trusted certificate and keystore
Also if i have to get a trusted certificate from Versign or so...how actually do they give me the private key similar to keystore.ks
the code is given below . please could anyone help me out !!!