oh I cannot attach the image, see my work flow is something like this http://i64.tinypic.com/29v02u.png so I am doing the signing on the client and reattaching the signed hash that I receive from client.
On Thu, May 25, 2017 at 4:09 PM Paresh Chouhan <pareshchouhan2...@gmail.com> wrote: > On Thu, May 25, 2017 at 3:13 PM Tilman Hausherr <thaush...@t-online.de> > wrote: > >> Am 25.05.2017 um 08:22 schrieb Paresh Chouhan: >> > Original PDF : https://www.mediafire.com/?bg9z4c9450v01io >> > Signed PDF : https://www.mediafire.com/?fqvnf9mg50pfzjh >> >> Thanks... I wanted to see the files first because I'm lazy and had hoped >> it's some obvious problem in the PDF itself, but it isn't. So I looked >> at your code... the signing is quite different than in our example, why >> is this so? The "CreateSignatureBase" class has the code to produce the >> signature. >> >> That you mention a HSM isn't really relevant... At work, I'm signing >> with a PKI card and all I had to change was getting the keystore. >> >> Tilman >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org >> For additional commands, e-mail: users-h...@pdfbox.apache.org >> > [image: workflow.png] >> > -- > Regards > Paresh Chouhan > https://github.com/pareshchouhan > -- Regards Paresh Chouhan https://github.com/pareshchouhan