<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.java.lib.itext.general">
    <title>gmane.comp.java.lib.itext.general</title>
    <link>http://blog.gmane.org/gmane.comp.java.lib.itext.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62040"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62039"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62038"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62037"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62036"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62035"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62034"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62033"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62032"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62031"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62030"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62029"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62028"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62027"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62026"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62025"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62024"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62023"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62022"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62021"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62040">
    <title>Re: AES-256 encryption with certificates?</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62040</link>
    <description>&lt;pre&gt;Yes, I know the constant is defined, but the functionality isn't there.

I can run the EncryptWithCertificate.java example from the book fine.
However, if I change ENCRYPTION_AES_128 to ENCRYPTION_AES_256 in this
example (in the two locations that it occurs), then I get:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at
com.itextpdf.text.pdf.PdfEncryption.setupByEncryptionKey(PdfEncryption.java:527)
    at
com.itextpdf.text.pdf.PdfEncryption.getEncryptionDictionary(PdfEncryption.java:633)
    at com.itextpdf.text.pdf.PdfWriter.setEncryption(PdfWriter.java:2057)
    at
part3.chapter12.EncryptWithCertificate.createPdf(EncryptWithCertificate.java:73)
    at
part3.chapter12.EncryptWithCertificate.main(EncryptWithCertificate.java:178)

This behaviour was mentioned in a previous message on this list - the
explanation at the time was that the AES-256 functionality wasn't
implemented yet.

I have installed the Unlimited Strength Jurisdiction Policy Files, and the
example code installs the BouncyCastle crypto provider:

Security.addProvider(new BouncyCastleProvider());

On 22 May 2012 15:23, 1T3XT BVBA &amp;lt;info&amp;lt; at &amp;gt;1t3xt.info&amp;gt; wrote:

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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&lt;/pre&gt;</description>
    <dc:creator>David Allsopp</dc:creator>
    <dc:date>2012-05-24T16:08:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62039">
    <title>The process can not access to the file because itis used by another process</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62039</link>
    <description>&lt;pre&gt;hello
i use a pdfstream for getting stream one for mode open and the other for
create ,so how can i replace pdfstream by the file name

Dim open As New FileStream("D:\FormA.pdf", FileMode.Open)
 Dim create As  New FileStream("D:\FormB.pdf", FileMode.create)
           Dim reader As PdfReader = New PdfReader(open)
   Dim stamper As PdfStamper = New PdfStamper(reader,create)
"----------------
----------code"

             open.Close()
           stamper.Close()

cordially
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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&lt;/pre&gt;</description>
    <dc:creator>Ahmed OUBAHA</dc:creator>
    <dc:date>2012-05-24T15:51:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62038">
    <title>Re: PDF: Option to show immediately Bookmark - List</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62038</link>
    <description>&lt;pre&gt;Op 24/05/2012 16:32, websalat schreef:
I assume you've used the example on p213 (4.2.4 Concatenating documents 
with bookmarks) to achieve this, now switch to p435 (13.3.1 Page layout, 
page mode, and viewer preferences). In table 13.4 "Page mode values" on 
p436, you'll find the page mode PageModeUseOutlines. You need to set 
this page mode if you want the bookmarks panel to be open by default.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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

&lt;/pre&gt;</description>
    <dc:creator>iText Info</dc:creator>
    <dc:date>2012-05-24T14:46:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62037">
    <title>Re: Spaces between chars</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62037</link>
    <description>&lt;pre&gt;Maybe using a monospaced font like courier insted of helvetica would help.

Paulo

On Thu, May 24, 2012 at 11:56 AM, Michael Maciak &amp;lt;mmaciak&amp;lt; at &amp;gt;gmx.de&amp;gt; wrote:

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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

&lt;/pre&gt;</description>
    <dc:creator>Paulo Soares</dc:creator>
    <dc:date>2012-05-24T14:40:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62036">
    <title>PDF: Option to show immediately Bookmark - List</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62036</link>
    <description>&lt;pre&gt;Hey - i have a little Question,

i merge some PDFs, iTextSharp, to one and add all exists bookmarks.

How options must set - to immedatly show these list of bookmarks when file
was open
for example
http://www.abload.de/img/itext_pdf_book8clhi.png
http://www.abload.de/img/itext_pdf_book8clhi.png 

But currently showes:  http://www.abload.de/img/itext_pdf_book8clhi.png
http://www.abload.de/img/itext_pdf_book8clhi.png 
I must click on bookmark-symbol to show the list.. :(

websalat




--
View this message in context: http://itext-general.2136553.n4.nabble.com/PDF-Option-to-show-immediately-Bookmark-List-tp4653064.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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

&lt;/pre&gt;</description>
    <dc:creator>websalat</dc:creator>
    <dc:date>2012-05-24T14:32:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62035">
    <title>Re: PDF: Option to show immediately Bookmark -List</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62035</link>
    <description>&lt;pre&gt;Little Mistake:

websalat wrote
The *right - link*:  http://www.abload.de/img/itext_pdf4yx6z.png
http://www.abload.de/img/itext_pdf4yx6z.png 

--
View this message in context: http://itext-general.2136553.n4.nabble.com/PDF-Option-to-show-immediately-Bookmark-List-tp4653064p4653066.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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

&lt;/pre&gt;</description>
    <dc:creator>websalat</dc:creator>
    <dc:date>2012-05-24T14:34:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62034">
    <title>Re: Spaces between chars</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62034</link>
    <description>&lt;pre&gt;Op 24/05/2012 12:56, Michael Maciak schreef:

Er... That's normal when you're using proportional fonts. In your case: 
you're using Helvetica. That's a proportional font. See 
http://en.wikipedia.org/wiki/Proportional_fonts#Proportion


It's not a shame if you need to ask something (that's what a mailing 
list is for), but it's kind of embarrassing if you give the impression 
you've done your best finding an answer to a trivial question, so please 
don't exaggerate by saying you've tried plenty of things. Just my 2 
cents, I hope you don't take offense.


There is no problem! It would be a huge problem (ugly results) if the 
width of the chars and spaces of font Helvetica all had the same font. 
Use a monospaced font such as Courier: 
http://en.wikipedia.org/wiki/Monospaced_font

Note that there are much better ways to define a layout apart from using 
spaces to position text. You may want to explore those other options for 
your customer.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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&lt;/pre&gt;</description>
    <dc:creator>iText Info</dc:creator>
    <dc:date>2012-05-24T14:37:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62033">
    <title>Spaces between chars</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62033</link>
    <description>&lt;pre&gt;Dear iText team,

 

I have got an issue with the space length, I need to format some rows in the
same position but the width of single chars and spaces are different,
destroying my format.

I am used Phrases, Paragraphs different Fonts and I couldn't fix this. Thx
for any advice. I attached the file so it is easier to see the problem.

 

Best Regards,

Michael

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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&lt;/pre&gt;</description>
    <dc:creator>Michael Maciak</dc:creator>
    <dc:date>2012-05-24T10:56:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62032">
    <title>[SPAM] Re: Adding content in append mode</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62032</link>
    <description>&lt;pre&gt;Alexander,

Alexander Raitskin wrote

Invalid according to which signature validation?

If according to Adobe Reader/Acrobat: That is by design! Adobe software
accepts only a very limited set of changes to a signed PDF (actually the set
depends on the kind of signature applied, but even the type allowing the
most changes is very restrictive.)

If according to iText verification: Please supply sample documents and code
to reproduce this.

Regards,   Michael

PS: You can find a description of the allowed changes in the Adobe white
paper "Adobe Acrobat 9 Digital Signatures, Changes and Improvements" and
updates of it.

--
View this message in context: http://itext-general.2136553.n4.nabble.com/Adding-content-in-append-mode-tp4652982p4653037.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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

&lt;/pre&gt;</description>
    <dc:creator>mkl</dc:creator>
    <dc:date>2012-05-24T14:15:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62031">
    <title>Adding content in append mode</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62031</link>
    <description>&lt;pre&gt;Hi,
 I have a signed PDF document in append mode.

 I want to add some text/image to a new revision with PdfStamper, however everything I am trying to add makes the previous signature invalid except for a new signature field.

 Here is a code I use to add a new page (which makes the digital signature invalid too).

 RandomAccessFileOrArray raf = new RandomAccessFileOrArray(InputStream);
 PdfReader reader = new PdfReader(raf, null);
 PdfStamper stamper = new PdfStamper(reader, OutputStream, '\0', true);
 stamper.InsertPage(0, new iTextSharp.text.Rectangle(0, 0, 100, 100));
 // stamper.AddSignature("test", 1, 1, 1, 1, 1); - if I use this instead of the previous line, then the signature remains valid.
 stamper.Close();
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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&lt;/pre&gt;</description>
    <dc:creator>Alexander Raitskin</dc:creator>
    <dc:date>2012-05-24T13:07:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62030">
    <title>Re: Problems on text extraction on iTextSharp5.2.0</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62030</link>
    <description>&lt;pre&gt;Most likely, the PDF actually contains the text multiple times (either right
on top of itself, or possibly slightly offset to make the text appear bold). 
Take a look at the content stream itself (either using RUPS or dump the
content using PdfContentReaderTool) and see if that isn't the case.

If that is the case, you may be able to contribute an enhancement to
LocationTextExtractionStrategy that detects overlapping words - it may be
really tricky, but it's worth investigation if this is important for you.

--
View this message in context: http://itext-general.2136553.n4.nabble.com/Problems-on-text-extraction-on-iTextSharp-5-2-0-tp4652795p4652974.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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

&lt;/pre&gt;</description>
    <dc:creator>Kevin Day</dc:creator>
    <dc:date>2012-05-24T13:29:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62029">
    <title>Re: The process can not access the file because it is used by another process</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62029</link>
    <description>&lt;pre&gt;Use the file names instead of the streams. Streams are read entirely
to memory and are not closed, you'll have to close them yourself.

Paulo

On Thu, May 24, 2012 at 12:08 PM, Ahmed OUBAHA &amp;lt;hamid.oubaha&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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

&lt;/pre&gt;</description>
    <dc:creator>Paulo Soares</dc:creator>
    <dc:date>2012-05-24T11:19:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62028">
    <title>The process can not access the file because it isused by another process</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62028</link>
    <description>&lt;pre&gt;hello
I have a problem of IOException " The process can not access the file
because it is used by another process ", I have two pdf files, one for
reading and the other for  writing, so I used two filestream, and a
PdfStamper, knowing that I close my PdfStamper when i finished my
treatement

 Dim open As New FileStream("D:\FormA.pdf", FileMode.Open)
 Dim create As  New FileStream("D:\FormB.pdf", FileMode.create)
            Dim reader As PdfReader = New PdfReader(open)
            Dim stamper As PdfStamper = New PdfStamper(reader, create)
"----------------
----------code"

              open.Close()
            stamper.Close()

cordially
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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&lt;/pre&gt;</description>
    <dc:creator>Ahmed OUBAHA</dc:creator>
    <dc:date>2012-05-24T11:08:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62027">
    <title>Problems on text extraction on iTextSharp 5.2.0</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62027</link>
    <description>&lt;pre&gt;Dear iTextSharp Support

I use  iTextSharp 5.2.0 and the text extraction not work well on my PDF 
file.
Both LocationTextExtractionStrategy  and SimpleTextExtractionStrategy  
mix and duplicate information.
I attach the file that give problems.

Thank you for yourattentionand I look forwardtoa solution
&lt;/pre&gt;</description>
    <dc:creator>Giacomo Tosoni</dc:creator>
    <dc:date>2012-05-24T08:44:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62026">
    <title>Re: Field not populated</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62026</link>
    <description>&lt;pre&gt;Thank you Hami. I did try your method but the result is the same. The XML
'stubborn_field' value is changed successfully to '77777777' using the
setValue method (and verified using the System out print) but once again the
actual value in the generated PDF is still empty.

String xml = nodeToString(vNode);
System.out.println(xml);
xml = setValue(xml, "stubborn_field", "77777777");
System.out.println(xml);
InputStream isXml = new ByteArrayInputStream(xml.getBytes());
AcroFields vStamperForm = stamper.getAcroFields();
XfaForm xfaForm = vStamperForm.getXfa();
xfaForm.fillXfaForm(isXml);


public static String setValue(String xml, String field, String value ) {
    return xml.replaceFirst("&amp;lt;"+field+"\\&amp;gt;(.*)\\&amp;lt;\\/"+field+"\\&amp;gt;",
"&amp;lt;"+field+"&amp;gt;"+value+"&amp;lt;/&amp;amp;quot;+field+&amp;amp;quot;&amp;gt;");
}


hami wrote


--
View this message in context: http://itext-general.2136553.n4.nabble.com/Field-not-populated-tp4648278p4652737.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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

&lt;/pre&gt;</description>
    <dc:creator>DeeJay</dc:creator>
    <dc:date>2012-05-24T08:53:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62025">
    <title>Re: Problem with signature verification when using SHA2 algorithms</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62025</link>
    <description>&lt;pre&gt;Use a crypto provider that supports SHA512 such as BouncyCastle.

Paulo

On Wed, May 23, 2012 at 11:07 PM, sanduche &amp;lt;sanduche&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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

&lt;/pre&gt;</description>
    <dc:creator>Paulo Soares</dc:creator>
    <dc:date>2012-05-24T08:29:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62024">
    <title>Re: Concatenate document: fill form document anddynamic document</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62024</link>
    <description>&lt;pre&gt;Doing the following line is successful:
      int file1Pages = new PdfReader("fileName.pdf").getNumberOfPages();

However, doing the following fails with the exception stated below:
      byte[] pdfByteArray;  // Content obtained from a database BLOB.
      int file1Pages = new PdfReader(pdfByteArray).getNumberOfPages();
Exception:
Rebuild failed: trailer not found.; Original message: PDF startxref not
found.

The content is exactly the same.
Extracting the BLOB from the database into a file and opening the file with
Adobe Reader works.
The PDF is indeed lacking a trailer.  However, reading it from a file and
not from a byte stream is nevertheless successful.

Where am I going wrong?



--
View this message in context: http://itext-general.2136553.n4.nabble.com/Concatenate-document-fill-form-document-and-dynamic-document-tp2168780p4651953.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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

&lt;/pre&gt;</description>
    <dc:creator>Itsik</dc:creator>
    <dc:date>2012-05-23T18:44:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62023">
    <title>Re: Problem with signature verification whenusing SHA2 algorithms</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62023</link>
    <description>&lt;pre&gt;Hi, I have a problem with signature verification for signatures that are
using SHA-256, SHA-384 or SHA-512 hash algorithms. Verification from Adobe
Reader X goes just fine, reporting signature is valid but verification from
iText is throwing exception. I'm using iText 5.2.1. 

Example of .pdf that is failing verification is attached: 
http://itext-general.2136553.n4.nabble.com/file/n4652245/test_sign_SHA512.pdf
test_sign_SHA512.pdf 

Stack trace for exception is: 
ExceptionConverter: java.security.NoSuchAlgorithmException: SHA512
MessageDigest
 not available
        at sun.security.jca.GetInstance.getInstance(Unknown Source)
        at java.security.Security.getImpl(Unknown Source)
        at java.security.MessageDigest.getInstance(Unknown Source)
        at com.itextpdf.text.pdf.PdfPKCS7.&amp;lt;init&amp;gt;(PdfPKCS7.java:564)
        at com.itextpdf.text.pdf.PdfPKCS7.&amp;lt;init&amp;gt;(PdfPKCS7.java:415)
        at
com.itextpdf.text.pdf.AcroFields.verifySignature(AcroFields.java:2307
)
        at
com.itextpdf.text.pdf.AcroFields.verifySignature(AcroFields.java:2257
)
        at
com.spica.eppl.client.controller.MainController.handleVerifyPdfSignat
ure(MainController.java:137)

Code for signature verification:
PdfReader reader = new PdfReader(signedPdfFilePath);
AcroFields af = reader.getAcroFields();
PdfPKCS7 pkcs = af.verifySignature("Racunopolagac"); //line 137 that throw
exception

Code for signing:
PdfReader reader = new PdfReader(srcPdf);
FileOutputStream fout = new FileOutputStream(dstPdf);
PdfStamper stp = PdfStamper.createSignature(reader, fout, '\0', null,
signData.isAppend());
PdfSignatureAppearance sap = stp.getSignatureAppearance();
sap.setCrypto(null, chain, crls, null);
PdfSignature dic = new PdfSignature(PdfName.ADOBE_PPKLITE,
PdfName.ADBE_PKCS7_DETACHED);

String hashAlgorithm = signData.getEmbedSettings().getHashAlgorithm(); /*
SHA1, SHA-256, SHA-384, SHA-512 */
PdfPKCS7 sgn = new PdfPKCS7(pk, chain, crls, hashAlgorithm, null, false);
InputStream data = sap.getRangeStream();
MessageDigest messageDigest = MessageDigest.getInstance(hashAlgorithm);




--
View this message in context: http://itext-general.2136553.n4.nabble.com/Problem-with-signature-verification-when-using-SHA2-algorithms-tp4652242p4652245.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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

&lt;/pre&gt;</description>
    <dc:creator>sanduche</dc:creator>
    <dc:date>2012-05-23T22:07:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62022">
    <title>Problem with signature verification when usingSHA2 algorithms</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62022</link>
    <description>&lt;pre&gt;Hi,
I have a problem with signature verification for signatures that are using
SHA-256, SHA-384 or SHA-512 hash algorithms. Verification from Adobe Reader
X goes just fine, reporting signature is valid but verification from iText
is throwing exception. I'm using iText 5.2.1. 

Example of .pdf that is failing verification is attached: 
http://itext-general.2136553.n4.nabble.com/file/n4652242/test_sign_SHA512.pdf
test_sign_SHA512.pdf 

Stack trace for exception is:
ExceptionConverter: java.security.NoSuchAlgorithmException: SHA512
MessageDigest
 not available
        at sun.security.jca.GetInstance.getInstance(Unknown Source)
        at java.security.Security.getImpl(Unknown Source)
        at java.security.MessageDigest.getInstance(Unknown Source)
        at com.itextpdf.text.pdf.PdfPKCS7.(PdfPKCS7.java:564)
        at com.itextpdf.text.pdf.PdfPKCS7.(PdfPKCS7.java:415)
        at
com.itextpdf.text.pdf.AcroFields.verifySignature(AcroFields.java:2307
)
        at
com.itextpdf.text.pdf.AcroFields.verifySignature(AcroFields.java:2257
)
        at
com.spica.eppl.client.controller.MainController.handleVerifyPdfSignat
ure(MainController.java:137)

Code for signature verification:
PdfReader reader = new PdfReader(signedPdfFilePath);
AcroFields af = reader.getAcroFields();
PdfPKCS7 pkcs = af.verifySignature("Racunopolagac"); //line 137 that throw
exception

Code used for signing:
PdfReader reader = new PdfReader(srcPdf);
FileOutputStream fout = new FileOutputStream(dstPdf);
PdfStamper stp = PdfStamper.createSignature(reader, fout, '\0', null,
signData.isAppend());
PdfSignatureAppearance sap = stp.getSignatureAppearance();
sap.setCrypto(null, chain, crls, null);
PdfSignature dic = new PdfSignature(PdfName.ADOBE_PPKLITE,
PdfName.ADBE_PKCS7_DETACHED);

String hashAlgorithm = signData.getEmbedSettings().getHashAlgorithm(); /*
SHA1, SHA-256, SHA-384, SHA-512 */
PdfPKCS7 sgn = new PdfPKCS7(pk, chain, crls, hashAlgorithm, null, false);
InputStream data = sap.getRangeStream();
MessageDigest messageDigest = MessageDigest.getInstance(hashAlgorithm);


--
View this message in context: http://itext-general.2136553.n4.nabble.com/Problem-with-signature-verification-when-using-SHA2-algorithms-tp4652242.html
Sent from the iText - General mailing list archive at Nabble.com.------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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&lt;/pre&gt;</description>
    <dc:creator>sanduche</dc:creator>
    <dc:date>2012-05-23T22:04:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62021">
    <title>Invitation to connect on LinkedIn</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62021</link>
    <description>&lt;pre&gt;LinkedIn
------------




    saroon s r requested to add you as a connection on LinkedIn:
  

------------------------------------------

Pervaiz,

I'd like to add you to my professional network on LinkedIn.

- saroon

Accept invitation from saroon s r
http://www.linkedin.com/e/-af3krs-h2k691bc-0/TKe-S8pJ3Cwsn-F_TysNP8aEA28gS4kc78x9aQpEa8HbJmrDYVu0owJ/blk/I243706685_110/6lColZJrmZznQNdhjRQnOpBtn9QfmhBt71BoSd1p65Lr6lOfP0NclYRe3oSc3sPd399bS5acAhLlmNvbP0Vc38RcjsMczsLrCBxbOYWrSlI/EML_comm_afe/?hs=false&amp;amp;tok=2hGzjRg8w5dBg1

View invitation from saroon s r
http://www.linkedin.com/e/-af3krs-h2k691bc-0/TKe-S8pJ3Cwsn-F_TysNP8aEA28gS4kc78x9aQpEa8HbJmrDYVu0owJ/blk/I243706685_110/c34NnPkUdzoMdPcQcAALqnpPbOYWrSlI/svi/?hs=false&amp;amp;tok=1bB-GaW7c5dBg1

------------------------------------------

Why might connecting with saroon s r be a good idea?

saroon s r's connections could be useful to you:

After accepting saroon s r's invitation, check saroon s r's connections to see who else you may know and who you might want an introduction to. Building these connections can create opportunities in the future.
 
&lt;/pre&gt;</description>
    <dc:creator>saroon s r via LinkedIn</dc:creator>
    <dc:date>2012-05-23T09:09:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62020">
    <title>Re: add margin to existing pdf/image</title>
    <link>http://permalink.gmane.org/gmane.comp.java.lib.itext.general/62020</link>
    <description>&lt;pre&gt;
Note that addTemplate() will cause you to lose all interactivity.
You may want to adapt the example shown on p441 (listing 13.8).
That example "crops" pages, meaning it makes the pages smaller.
You want to do the inverse, but the same principle applies.

Instead of pageDict.put(PdfName.CROPBOX, rect); with a smaller rectangle,
you need:
pageDict.put(PdfName.MEDIABOX, rect);
pageDict.put(PdfName.CROPBOX, rect);
with a bigger rectangle.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions&amp;lt; at &amp;gt;lists.sourceforge.net
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

&lt;/pre&gt;</description>
    <dc:creator>1T3XT BVBA</dc:creator>
    <dc:date>2012-05-23T06:22:31</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.java.lib.itext.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.java.lib.itext.general</link>
  </textinput>
</rdf:RDF>

