Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-07 Thread Paulo Soares
Yep. It needs a makeSignature() for already assembled containers rather than just raw signatures. I'll see if I can add this next week together with the deferred signature support. The adapter would be very helpful. Paulo On Wed, Nov 7, 2012 at 5:54 AM, Bruno Lowagie br...@lowagie.com wrote: Op

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-07 Thread DenLindy
What is chainFull? Where does it come from? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Signing-a-PDF-with-itext-using-an-ARX-CoSign-device-tp4656792p4656876.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-07 Thread Andreas Kuehne
Hi DenLindy, it will depend on the context. If you ordered 'chainFull' in a BDSM studio as in the context of PDF signing. Assuming the latter it will be the array of all certificates, starting from the signing certificate up to the trusted root. The ARX signer will know about the certificate

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-07 Thread Andreas Kuehne
Hi Bruno, I'm in München for the moment, presenting the current version of the white paper on digital signatures at W-JAX (at 10:15 in the Calgary room at the Westin Grand). enjoy your visit to Germany! I have a number of TODOs for the next version of the white paper, and I'm accepting

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-06 Thread roboboot
I use this code in iext 4.22 (but I guess you are using 5.3.x). Because I have to make the porting of this code to the 5.3.x and I have the same CoSign appliance, I think my code could be useful to you and me. Some details: I invoke a WS exposed by the CoSign Appliance and I sent only the digest

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-06 Thread DenLindy
Roberto I am very excited to find another CoSign user. Thank you for responding. I hope we can help each other. I am using itext 5.3.3. I will study your code and see if I can get it to work with itext 5.3.3 and SAPI 5.4. Thanks again. -- View this message in context:

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-06 Thread engr919
Hi, thanks for your email. i cannot find iText 4.22 in iText website. could you please upload the JAR's. thank you. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Signing-a-PDF-with-itext-using-an-ARX-CoSign-device-tp4656792p4656856.html Sent from the iText -

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-06 Thread Chris Howell
Hi, Sorry I don't have jars... I just use the two following imports. import com.lowagie.text.*; import com.lowagie.text.pdf.*; Thanks, Chris On Tue, Nov 6, 2012 at 2:46 PM, engr919 engr...@windowslive.com wrote: Hi, thanks for your email. i cannot find iText 4.22 in iText website. could

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-06 Thread roboboot
iText 4.22 is not an official version but the last nightly-built on iText 4.2.1 sources. I recompiled that version to patch a problem on signing big PDF files. For your needs it's the same to take the 4.2.1 JARS. -- View this message in context:

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-06 Thread roboboot
Thanks to you. I'll stay tuned to hear from you good news :) DenLindy wrote Roberto I am very excited to find another CoSign user. Thank you for responding. I hope we can help each other. I am using itext 5.3.3. I will study your code and see if I can get it to work with itext 5.3.3 and

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-06 Thread Andreas Kuehne
Thanks roboboot, you made my day! After all these years working on the DSS TC (https://www.oasis-open.org/committees/dss-x/) you showed me he first DSS implementation code 'in the wild'! So really someone read the specs ;-) Does ARX also implement the 'Visible signature profile'? This would do

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-06 Thread Bruno Lowagie
Op 6/11/2012 21:21, Andreas Kuehne schreef: @all: Would there be interest in an adapter for iText to access a DSS server doing the signature creation stuff remotely? Of course! I'm in München for the moment, presenting the current version of the white paper on digital signatures at W-JAX (at

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-05 Thread DenLindy
Thanks for the response, I was beginning to think no one could help me with this. arxCoSignService.getSignatureOfDataBuffer returns a detached PKCS#7 signature as a byte array. CoSign is a hardware appliance, from Algorithmic Research, that is installed on our network. It includes all the PKI

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-05 Thread Andreas Kuehne
Hi Den, arxCoSignService.getSignatureOfDataBuffer returns a detached PKCS#7 signature as a byte array. CoSign is a hardware appliance, from Algorithmic Research, that is installed on our network. It includes all the PKI ingredients including the CA and the repository of the user’s private

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-05 Thread DenLindy
I still do not understand how to put the signature in the sig field with the MakeSignature.signDetached() method. Do you have any sample code? Thanks. -- View this message in context:

Re: [iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-11-05 Thread DenLindy
Yes, arxCoSignService.getSignatureOfDataBuffer needs a copy of the PDF in a byte array. It returns the signature and I need to insert it into a PDF signature field. Possibly multiple times, in different signature fields (of course) at different times. Thanks. -- View this message in context:

[iText-questions] Signing a PDF with itext using an ARX CoSign device

2012-10-30 Thread Dennis Lindeman
I am attempting to sign a PDF using an external signature similar to Code sample 4.12: The client-side application in Digital Signatures for PDF documents, A White Paper by Bruno Lowagie (iText Software). I created this ExternalSignature implementation, to get the signature from an ARX CoSign