SAFE.PPKSF is a filter that denotes a SAFE-BioPharma.org compliant signature. 
The code referenced was provided to Paulo/Bruno back in the early days of iText 
as an example of a detached signature with authenticated attributes as part of 
the signature.

cm


On Mar 13, 2012, at 2:50 PM, itext-questions-requ...@lists.sourceforge.net 
wrote:

> Send iText-questions mailing list submissions to
>       itext-questions@lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.sourceforge.net/lists/listinfo/itext-questions
> or, via email, send a message with subject or body 'help' to
>       itext-questions-requ...@lists.sourceforge.net
> 
> You can reach the person managing the list at
>       itext-questions-ow...@lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of iText-questions digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: 3D Artwork: multiple meshes in one view (kulod)
>   2. Re: PDFReader rebuilt property causes    DocumentException
>      (Reza Hedayat)
>   3. Re: 3D Artwork: multiple meshes in one view (Leonard Rosenthol)
>   4. Re: how to use rups on linux (Larry Evans)
>   5. SAFE.PPKSF (TvT)
>   6. iText-related Crash (Dan Schreiber)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 13 Mar 2012 07:23:52 -0700 (PDT)
> From: kulod <stoe...@sicat.com>
> Subject: Re: [iText-questions] 3D Artwork: multiple meshes in one view
> To: itext-questions@lists.sourceforge.net
> Message-ID: <1331648632406-4469190.p...@n4.nabble.com>
> Content-Type: text/plain; charset=us-ascii
> 
> Although I re-download it already earlier, it works only just. 
> 
> But back to the nodes:
> If there is a parent 3D stream object I expect that there can be also sub
> stream objects? 
> 
> --
> View this message in context: 
> http://itext-general.2136553.n4.nabble.com/3D-Artwork-multiple-meshes-in-one-view-tp4466621p4469190.html
> Sent from the iText - General mailing list archive at Nabble.com.
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 13 Mar 2012 15:26:59 +0100
> From: Reza Hedayat <reza.heda...@adnovum.ch>
> Subject: Re: [iText-questions] PDFReader rebuilt property causes
>       DocumentException
> To: itext-questions@lists.sourceforge.net
> Cc: "nevissign-...@adnovum.ch" <nevissign-...@adnovum.ch>
> Message-ID: <4f5f5933.5060...@adnovum.ch>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hi Paulo
> 
> Thanks a lot for your comprehensive answer.
> The approach to use the PdfStamper to create a valid PDF out of a 
> recovered PDF works for me.
> 
> Best wishes
> Reza
> 
> 
> 
> On 03/13/12 14:32, Paulo Soares wrote:
>> On Tue, Mar 13, 2012 at 12:14 PM, Reza Hedayat<reza.heda...@adnovum.ch>  
>> wrote:
>>> Hi iText developers
>>> 
>>> The PdfReader class has a protected member variable called rebuilt, which is
>>> set to true in some cases. Therefore, this causes a DocumentException in the
>>> PdfStamperImp class as follows:
>>> 
>>> [start: Fragment of com.itextpdf.text.pdf.PdfStamperImp]
>>> ...
>>> 
>>> PdfStamperImp(PdfReader reader, OutputStream os, char pdfVersion, boolean
>>> append) throws DocumentException, IOException {
>>> ...
>>>     if (append) {
>>>         if (reader.isRebuilt())
>>>             throw new
>>> DocumentException(MessageLocalization.getComposedMessage
>>> 
>>> ("append.mode.requires.a.document.without.errors.even.if.recovery.was.possible"));
>>>    }
>>> ...
>>> 
>>> [end: Fragment com.itextpdf.text.pdf.PdfStamperImp]
>>> 
>>> Based on the facts mentioned above, there are some questions that bother me:
>>> 
>>> 1. What are the characteristics of a PDF document that are evaluated in
>>> terms of setting the rebuilt property to true?
>> The PDf is broken and the xref table had to be rebult.
>> 
>>> 2. Is it possible to determine these characteristics by a tool?
>> Yes, the tool is iText.
>> 
>>> 3. Is it possible to change these characteristics so that the rebuilt
>>> property is not set to true anymore?
>> Use PdfStamper to output the rebuilt PDF. This will result in a good PDF.
>> 
>>> 4. What is the exact idea behind this logic that leads to a
>>> DocumentException if the document was recognized as "recovered"?
>> Append mode requires a good document as the changes are appended after
>> the original. If the original is broken we may not even know where it
>> ends to append new information. This is even more crucial when
>> signatures are present.
>> 
>> Paulo
>> 
>> ------------------------------------------------------------------------------
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> iText-questions mailing list
>> iText-questions@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
> 
> -- 
> AdNovum Informatik AG
> Reza Hedayat, Software Engineer
> Dipl. Informatik-Ing. FH
> 
> Roentgenstrasse 22, CH-8005 Zurich
> mailto:reza.heda...@adnovum.ch
> phone: +41 44 272 6111, fax: +41 44 272 6312
> http://www.adnovum.ch
> 
> AdNovum Locations: Bern, Budapest, Singapore, Zurich (HQ)
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 13 Mar 2012 07:37:02 -0700
> From: Leonard Rosenthol <lrose...@adobe.com>
> Subject: Re: [iText-questions] 3D Artwork: multiple meshes in one view
> To: Post here <itext-questions@lists.sourceforge.net>
> Message-ID: <cb84d3b4.1ab91%lrose...@adobe.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> That would be an incorrect assumption.  Where in the specification do you
> see a place to put them?
> 
> 
> On 3/13/12 10:23 AM, "kulod" <stoe...@sicat.com> wrote:
> 
>> Although I re-download it already earlier, it works only just.
>> 
>> But back to the nodes:
>> If there is a parent 3D stream object I expect that there can be also sub
>> stream objects? 
>> 
>> --
>> View this message in context:
>> http://itext-general.2136553.n4.nabble.com/3D-Artwork-multiple-meshes-in-o
>> ne-view-tp4466621p4469190.html
>> Sent from the iText - General mailing list archive at Nabble.com.
>> 
>> --------------------------------------------------------------------------
>> ----
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> iText-questions mailing list
>> iText-questions@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
> 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Tue, 13 Mar 2012 09:50:14 -0500
> From: Larry Evans <cppljev...@suddenlink.net>
> Subject: Re: [iText-questions] how to use rups on linux
> To: itext-questions@lists.sourceforge.net
> Message-ID: <jjnmra$74j$1...@dough.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> On 03/13/12 05:31, Jeroen Nouws wrote:
>> what version of java are you using? the official Oracle version or an 
>> openJDK implementation? Try with an oracle java and see if you still 
>> have it.
>> 
> [snip]
> $ java -version
> java version "1.6.0_20"
> OpenJDK Runtime Environment (IcedTea6 1.9.10) (6b20-1.9.10-0ubuntu1~10.04.3)
> OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
> 
> 
> So, my java is OpenJDK.  I found (after a lot of searching):
> 
> 
> http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html
> 
> from which I downloaded:
> 
>   http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.rpm
> 
> However, since my OS is ubuntu, and my synaptic doesn't know how to
> install .rpm, I had to examine a bunch of man pages before resorting
> to googling for 'synaptic rpm' which showed:
> 
> http://www.psychocats.net/ubuntu/installingsoftware#lastresorts
> 
> That suggested to use alien, which I did but got errors:
> 
> -{--cut here--
> 
> fakeroot alien --keep-version jdk-7u3-linux-x64.rpm
> error: incorrect format: unknown tag
> Warning: Skipping conversion of scripts in package jdk: postinst postrm
> prerm
> Warning: Use the --scripts parameter to include the scripts.
> Package build failed. Here's the log:
> dh_testdir
> dh_testdir
> dh_testroot
> dh_clean -k -d
> dh_clean: Compatibility levels before 5 are deprecated.
> .
> .
> .
> dpkg-shlibdeps: warning: couldn't find library libjvm.so needed by
> debian/jdk/usr/java/jdk1.7.0_03/jre/lib/amd64/libsunec.so (ELF format:
> 'elf64-x86-64'; RPATH: '').
> Note: libraries are not searched in other binary packages that do not
> have any shlibs or symbols file.
> To help dpkg-shlibdeps find private libraries, you might need to set
> LD_LIBRARY_PATH.
> dpkg-shlibdeps: warning: couldn't find library libjava.so needed by
> debian/jdk/usr/java/jdk1.7.0_03/jre/lib/amd64/libsunec.so (ELF format:
> 'elf64-x86-64'; RPATH: '').
> Note: libraries are not searched in other binary packages that do not
> have any shlibs or symbols file.
> To help dpkg-shlibdeps find private libraries, you might need to set
> LD_LIBRARY_PATH.
> dpkg-shlibdeps: warning: dependency on libJdbcOdbc.so could be avoided
> if "debian/jdk/usr/java/jdk1.7.0_03/jre/lib/amd64/libJdbcOdbc.so" were
> not uselessly linked against it (they use none of its symbols).
> dpkg-shlibdeps: warning: dependency on libnsl.so.1 could be avoided if
> "debian/jdk/usr/java/jdk1.7.0_03/jre/bin/javaws
> debian/jdk/usr/java/jdk1.7.0_03/bin/javaws" were not uselessly linked
> against it (they use none of its symbols).
> dh_gencontrol
> dh_gencontrol: Compatibility levels before 5 are deprecated.
> dh_md5sums
> dh_md5sums: Compatibility levels before 5 are deprecated.
> dh_builddeb
> dh_builddeb: Compatibility levels before 5 are deprecated.
> dpkg-deb - error: (upstream) version (`unknown') doesn't contain any digits
> dpkg-deb: 1 errors in control file
> dh_builddeb: dpkg-deb --build debian/jdk .. returned exit code 2
> make: *** [binary-arch] Error 9
> find: `jdk-1.7.0_03': No such file or directory
> ~
> 
> -}--cut here--
> 
> Thanks for your patient help Jeroen; however, getting rups to work
> looks like its more trouble than it's worth.  I've decided to give up.
> 
> -regards,
> Larry
> 
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Tue, 13 Mar 2012 18:47:51 +0100
> From: TvT <tvtre...@nepatec.de>
> Subject: [iText-questions] SAFE.PPKSF
> To: Post all your questions about iText here
>       <itext-questions@lists.sourceforge.net>
> Message-ID:
>       <cafhtw60bbacr6xlw1ufkmyqaakupk6kjy-3bpo0ubcts7e7...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi,
> 
> http://itextpdf.sourceforge.net/howtosign.html
> 
> i just saw a filter which i had never seen before:
> dic.put(PdfName.FILTER, new PdfName("SAFE.PPKSF"));
> 
> What kind of filter is that? New one? Official adobe or iText specific?
> 
> Any info's appreciated,
> ToM
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 6
> Date: Tue, 13 Mar 2012 17:09:08 +0200
> From: Dan Schreiber <d...@indeni.com>
> Subject: [iText-questions] iText-related Crash
> To: itext-questions@lists.sourceforge.net
> Message-ID:
>       <CAG5ZcZaPioAFJ28G-=ycbrsdgfzj8unjcqogfs6g+ybceez...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi Everyone,
> 
> Our development environment crashed because of iText's free version. This
> is a jstack dump:
> 02aaabc585000 nid=0x3af7 runnable [0x00002aaaf0269000]
>   java.lang.Thread.State: RUNNABLE
>        at java.awt.geom.Path2D$Double.rectCrossings(Path2D.java:1288)
>        at java.awt.geom.Path2D.intersects(Path2D.java:2290)
>        at java.awt.geom.Path2D.intersects(Path2D.java:2314)
>        at
> org.xhtmlrenderer.layout.BoxCollector.intersectsAggregateBounds(BoxCollector.java:90)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:121)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:139)
>        at
> org.xhtmlrenderer.layout.BoxCollector.collect(BoxCollector.java:46)
>        at org.xhtmlrenderer.layout.Layer.paint(Layer.java:314)
>        at
> org.xhtmlrenderer.pdf.ITextRenderer.paintPage(ITextRenderer.java:384)
>        at
> org.xhtmlrenderer.pdf.ITextRenderer.writePDF(ITextRenderer.java:348)
>        at
> org.xhtmlrenderer.pdf.ITextRenderer.createPDF(ITextRenderer.java:315)
>        at
> org.xhtmlrenderer.pdf.ITextRenderer.createPDF(ITextRenderer.java:246)
> 
> This is a histo dump:
> num     #instances         #bytes  class name
> ----------------------------------------------
>   1:       1344539      776639912  [B
>   2:       1798853      301253344  [C
>   3:        535059       72768024  org.xhtmlrenderer.render.InlineLayoutBox
>   4:        762761       52412032  [Ljava.lang.Object;
>   5:       1519522       48624704  java.lang.String
>   6:       1149491       45979640  com.someco.p.d
>   7:        203533       38674984  [I
>   8:        216490       31313568  <constMethodKlass>
>   9:        216490       29455216  <methodKlass>
>  10:        387065       24772160  org.xhtmlrenderer.render.InlineBox
>  11:         23732       23915216  <constantPoolKlass>
>  12:        727350       23275200  java.awt.Rectangle
>  13:        243878       23095936  [Ljava.util.HashMap$Entry;
>  14:        147045       22350840  org.xhtmlrenderer.render.LineBox
>  15:        667914       21373248  java.util.HashMap$Entry
>  16:        855194       20524656
> java.util.concurrent.LinkedBlockingQueue$Node
>  17:         23732       18543256  <instanceKlassKlass>
>  18:        537890       17212480
> org.xhtmlrenderer.css.style.derived.RectPropertySet
>  19:        688836       16532064  org.xhtmlrenderer.layout.PaintingInfo
>  20:        688836       16532064  java.awt.Dimension
>  21:        264061       15254448  <symbolKlass>
>  22:        268028       15009568  org.xhtmlrenderer.render.InlineText
> 
> Would this be avoided with iText's paid version?
> 
> Dan Schreiber
> Team Lead, R&D, indeni Ltd.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> 
> ------------------------------
> 
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> iText(R) is a registered trademark of 1T3XT BVBA
> 
> End of iText-questions Digest, Vol 70, Issue 35
> ***********************************************

Chris MacKenzie
Principal, MacKenzie Associates, Inc.
(Mobile (978) 578-0691
*eMail c...@mackenz.com




------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
iText-questions mailing list
iText-questions@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

Reply via email to