Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-28 Thread adamec
Thanks a lot for all the answers - I think this thread is good for every bigginer out there!! -- View this message in context: http://itext-general.2136553.n4.nabble.com/PKCS-1-signature-iText-signed-pdf-tp4657691p4657710.html Sent from the iText - General mailing list archive at Nabble.com. -

Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-28 Thread Andreas Kuehne
Get well soon ;-) > On 28/02/2013 9:42, Andreas Kuehne wrote: >> But I do miss your spicy comments > I got verbally slammed again recently. > I need some time to recover ;-) > > -- > Everyone hates slow websites. So do we.

Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-28 Thread 1T3XT BVBA
On 28/02/2013 9:42, Andreas Kuehne wrote: > But I do miss your spicy comments I got verbally slammed again recently. I need some time to recover ;-) -- Everyone hates slow websites. So do we. Make your web apps faster with

Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-28 Thread Andreas Kuehne
Hi Bruno, that's the most informative post I've read for a long time. You named all the pitfalls (too obvious for me to see) and gave good orientation for the newbie! But I do miss your spicy comments ;-) Greetings, Andreas > On 27/02/2013 21:06, adamec wrote: >> Hmmm, first of all - thanks for

Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-27 Thread 1T3XT BVBA
On 27/02/2013 21:06, adamec wrote: > Hmmm, first of all - thanks for atttention :) > > I still quite donet understand. When I sign a pdf with iText by means of > private key I provide (using PrivateKeySignature), I also create hash for > document. Then, this hash is signed afterwards and alsdo atta

Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-27 Thread adamec
Hmmm, first of all - thanks for atttention :) I still quite donet understand. When I sign a pdf with iText by means of private key I provide (using PrivateKeySignature), I also create hash for document. Then, this hash is signed afterwards and alsdo attached to pdf. Am I missing something? What

Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-27 Thread Andreas Kuehne
Hi adamec, let me try it a bit more verbose:A detached signature is completely different from an embedded signature inside a PDF! You cannot turn one into the other! Another explanation: When you create a detached signature on a PDF, everything's fine. If you try to include a signature into this P

Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-27 Thread adamec
I am not sure if I understand - which part doesn't make sense? Let's say I have smartcard and I want to use it to sign a pdf file. Later, I just want to attach this signature to a pdf using iText. Is there something wrong with the idea itself, or what do you mean? -- View this message in contex

Re: [iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-27 Thread Leonard Rosenthol
You can't do that - it doesn't make any sense in the PDF context. On 2/27/13 12:35 PM, "adamec" wrote: >Hi guys. > >I cannot find a way, how to use already created detached PKCS#1 signature >with iText. This topic is quite similar, but gives me no answers (and uses >old version of iText) -> >ht

[iText-questions] PKCS#1 signature + iText = signed pdf

2013-02-27 Thread adamec
Hi guys. I cannot find a way, how to use already created detached PKCS#1 signature with iText. This topic is quite similar, but gives me no answers (and uses old version of iText) -> http://itext-general.2136553.n4.nabble.com/HASH-SMARTCARD-and-PKCS-7-detached-td3047252.html. I have raw PKCS#1 si