title: Sign a Pdf using custom digital signature in Java
body: <p>I've created a digital signature using Sun's code:<a href="http://download.oracle.com/javase/tutorial/security/apisign/examples/GenSig.java" rel="nofollow">http://download.oracle.com/javase/tutorial/security/apisign/examples/GenSig.java</a>. How can I sign a pdf file using this digital signature? That is: how can I add the signature to a pdf file?</p>