Skip navigation
Currently Being Moderated

PDF cross-reference streams

Jan 5, 2012 10:40 AM

Tags: #signature #cross-reference_streams

Hello,

 

I noticed a behaviour I don't understand with some PDFs. They are hybrid-reference file where both cross-reference sections carry the same informations (there are 9 meaningful objects and the 9 are referenced by both sections).

When I sign the document twice, the second signature invalidates the first one. This seems to be due to the copy in the update trailers of the reference to the original cross-refernce stream, i.e. :

 

 

trailer

<</XRefStm 78305/ [...]>>

Is this a bad practice?

 
Replies
  • Currently Being Moderated
    Jan 5, 2012 10:46 AM   in reply to Clément K.

    It’s hard to understand what you mean.

     

    Are you saying that you have a file which started out as compressed object/xref streams and was then updated using classic xrefs?  If so, that’s going to be a problem as it’s not fully supported according to the standard.  (sort of like Ghostbusters – don’t mix the streams!)

     

    If you are signing such a file (or any non-signed PDF for that matter), it’s always a good idea to a “full, garbage collected” save first.  THEN sign away.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points