actually i had written a java code to password protect and digital sign a pdf file . in this program i am using private key and export.cer (public key certificate) . now the problem with this code i am facing is the digital signature is valid in my system and if i mail it to my friend the signature signed by me is becoming invalid .
the above two was created using java keytool command in command prompt .
so i thought it is problem with the certificate since it was not trusted one . so i planned to take it from verisign and trying with the openssl command .
do i need to install something in my friends system so that the signature becomes valid .