DenLindy,

DenLindy wrote
> I am attempting to sign a PDF using an external signature similar to Code
> sample 4.12
> [...]
>    sig = arxCoSignService.getSignatureOfDataBuffer(message, username,
> password);
> [...]
> The ARX CoSign device only needs the PDF bytes, username and password to
> create a signature. So, I am not sure I am using the best example from the
> white paper. 
> Is it possible to use itext to signDetached without the externalDigest or
> certificateChain?

iText can be used differently for signing, yes, but first you should tell us
what "arxCoSignService.getSignatureOfDataBuffer" really returns. Does it
return the naked encrypted digest of the message bytes? Or a PKCS1 data
object? Or even a PKCS7 signature container? Or something different still?

The answer to that questions determines which additional steps iText must
take to actually generate the integrated PDF signature.

As a first estimate, unless that arxCoSignService returns a PKCS7 (or CMS)
signature container (or you yourself create such a container from the
arxCoSignService result), iText will definitively need both externalDigest
and certificateChain.

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Signing-a-PDF-with-itext-using-an-ARX-CoSign-device-tp4656792p4656843.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to