Re: HSM Signing

2017-09-29 Thread Paresh Chouhan
gner class? > > Thanks again, > - Michael > > > > > On Sep 28, 2017, at 5:09 AM, Paresh Chouhan <pareshchouhan2...@gmail.com> > wrote: > > > > here's the setup for signing > > > https://0bin.net/paste/1hDByAx4i9dBAoGh#0CCZBX5Il0FHxsuYQUvoe

Re: HSM Signing

2017-09-28 Thread Paresh Chouhan
here's the setup for signing https://0bin.net/paste/1hDByAx4i9dBAoGh#0CCZBX5Il0FHxsuYQUvoe7otY3-tHxtM0Zs9IYqLozG On Thu, Sep 28, 2017 at 5:35 PM Paresh Chouhan <pareshchouhan2...@gmail.com> wrote: > Yes, Michael I wrote that post, It is working well with an HSM, > > https:/

Re: HSM Signing

2017-09-28 Thread Paresh Chouhan
igest to external service to sign pdfs? Any help would be greatly > appreciated. > > Thanks, > - Michael -- Regards Paresh Chouhan https://github.com/pareshchouhan

Re: PDF Signing, generated PDF Document certification is invalid, using HSM

2017-05-26 Thread Paresh Chouhan
Tilman Hausherr <thaush...@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

Re: PDF Signing, generated PDF Document certification is invalid, using HSM

2017-05-25 Thread Paresh Chouhan
age signature and update it latter with the >CMS > > > > > On Thu, May 25, 2017 at 7:42 AM, Paresh Chouhan < > pareshchouhan2...@gmail.com > > wrote: > > > oh I cannot attach the image, see my work flow is something like this > > http://i64.tinypic.com/29

Re: PDF Signing, generated PDF Document certification is invalid, using HSM

2017-05-25 Thread 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 <pareshchouhan2...@gmail.com> wrote: &g

Re: PDF Signing, generated PDF Document certification is invalid, using HSM

2017-05-25 Thread Paresh Chouhan
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 wa

Re: PDF Signing, generated PDF Document certification is invalid, using HSM

2017-05-25 Thread Paresh Chouhan
on. > Tilman > > > - > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > For additional commands, e-mail: users-h...@pdfbox.apache.org > > -- Regards Paresh Chouhan https://github.com/pareshchouhan

PDF Signing, generated PDF Document certification is invalid, using HSM

2017-05-24 Thread Paresh Chouhan
COSDictionary catalogDict = doc.getDocumentCatalog().getCOSObject(); COSDictionary permsDict = new COSDictionary(); catalogDict.setItem(COSName.PERMS, permsDict); permsDict.setItem(COSName.DOCMDP, signature); catalogDict.setNeedToBeUpdated(true); permsDict.setNeedToBeUpdated(true); } } -- Regards Paresh Chouhan https://github.com/pareshchouhan

Re: PDF Signing, generated PDF Document certification is invalid, using HSM

2017-05-24 Thread Paresh Chouhan
sorry for double post, indentation wasn't preserved so here's a pastebin : https://pastebin.com/b3qZH6xW On Wed, May 24, 2017 at 3:42 PM Paresh Chouhan <pareshchouhan2...@gmail.com> wrote: > I have a service which signs the data and provides me with the signed > hash, it correctly ge

PDF Signing, generated PDF Document certification is invalid, using HSM

2017-05-24 Thread Paresh Chouhan
COSDictionary catalogDict = doc.getDocumentCatalog().getCOSObject(); COSDictionary permsDict = new COSDictionary(); catalogDict.setItem(COSName.PERMS, permsDict); permsDict.setItem(COSName.DOCMDP, signature); catalogDict.setNeedToBeUpdated(true); permsDict.setNeedToBeUpdated(true); } } -- Regards Paresh Chouhan https://github.com/pareshchouhan