pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paresh Chouhan <pareshchouhan2...@gmail.com>
Subject Re: PDF Signing, generated PDF Document certification is invalid, using HSM
Date Fri, 26 May 2017 11:55:57 GMT
Thanks Tilman, I have posted the question on Stackoverflow,
for anyone arriving at a dead end hopefully you can find the solution here
:
https://stackoverflow.com/questions/44196316/pdf-signing-generated-pdf-document-certification-is-invalid-using-external-si

On Thu, May 25, 2017 at 9:05 PM Tilman Hausherr <THausherr@t-online.de>
wrote:

> ok... sorry I can't help further. Maybe it's best to ask on
> stackoverflow. Use a label for bouncycastle and include all, i.e. code,
> links to PDF files and the image.
>
>
> Tilman
>
>
>
>
>
> Am 25.05.2017 um 12:42 schrieb Paresh Chouhan:
> > 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
> > <pareshchouhan2013@gmail.com <mailto:pareshchouhan2013@gmail.com>>
> wrote:
> >
> >     On Thu, May 25, 2017 at 3:13 PM Tilman Hausherr
> >     <THausherr@t-online.de <mailto:THausherr@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-unsubscribe@pdfbox.apache.org
> >         <mailto:users-unsubscribe@pdfbox.apache.org>
> >         For additional commands, e-mail: users-help@pdfbox.apache.org
> >         <mailto:users-help@pdfbox.apache.org>
> >
> >         workflow.png
> >
> >     --
> >     Regards
> >     Paresh Chouhan
> >     https://github.com/pareshchouhan
> >
> > --
> > Regards
> > Paresh Chouhan
> > https://github.com/pareshchouhan
>
>
> --
Regards
Paresh Chouhan
https://github.com/pareshchouhan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message