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

[iText-questions] Loading specified Fonts on IBM iSeries

2013-02-27 Thread Bala . Rajamani
Hello, I am trying to use iText on IBM AS400/iSeries environment as part of my Java application but unable to load the specified font but it is working on a Windows environment. Wondering if iText configuration can be customized to load the system font from a specific iSeries library or system pa

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] Problem with Font tags in iTextSharp XMLWorker

2013-02-27 Thread Salman Ghani
Hi I'm using itextsharp 5.3.5 and xml worker to generate the PDF from my html page. In my html page I have a rich text editor which generate the html using the div tags and font tags. Please see the below html piece generated by my field. http://www.w3.org/1999/xhtml";>this text is not wo

[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

Re: [iText-questions] Itext 5.4.0 - Splitting pdf / UA

2013-02-27 Thread 1T3XT BVBA
On 27/02/2013 16:55, loic wrote: > Hi, > > Using Itext 5.4.0, i'm splitting pdf without problems using high level > fonctions as : > PdfWriter.getDirectContent(); > PdfWriter.getImportedPage(); > ... > > It works fine, but now *I need to keep accessibility within the split pdf* > ... > > I ha

[iText-questions] Itext 5.4.0 - Splitting pdf / UA

2013-02-27 Thread loic
Hi, Using Itext 5.4.0, i'm splitting pdf without problems using high level fonctions as : PdfWriter.getDirectContent(); PdfWriter.getImportedPage(); ... It works fine, but now *I need to keep accessibility within the split pdf* ... I have replace PdfWriter by PdfAWriter, but it is not enough