Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 495319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:34:55+00:00 2026-05-13T05:34:55+00:00

To put it simply – I want to add multiple signatures on a PDF

  • 0

To put it simply – I want to add multiple signatures on a PDF (using iText), without adding new revision for each.

I’ve read the following thread, and it makes much sense (since Bruno wrote the answer)

It is obvious, that if the document has 2 revisions, the first signature doesn’t cover the second revision. However, is it possible (according to the PDF standard, and in iText) to have two signatures for the same revision? (I have set a certification level to CERTIFIED_FORM_FILLING_AND_ANNOTATIONS).

The point is that the document is created once and is not altered at all, except for adding the signatures. And since the signed PDFs will be sent to non-technical people, seeing the “the document has been changed” can trigger some ‘disbelief’ (due to lack of knowledge about PDF, which, alas, I can’t expect of them). So, to put it again – it it possible to have 2 signatures in 1 revision, added at different times by different people.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T05:34:55+00:00Added an answer on May 13, 2026 at 5:34 am

    I got a useful answer on the iText mailing list, which I’m going to share.
    Here, a guy nick-named mkl explains that with Adobe products this is down to a hen-and-egg problem.

    ISO 32000-1:2008, section 12.8.1 says: “A byte range digest shall be computed over a range of bytes in the file, that shall be indicated by the ByteRange entry in the signature dictionary. This range should be the entire file, including the signature dictionary but excluding the signature value itself (the Contents entry). Other ranges may be used but since they do not check for all changes to the document, their use is not recommended. When a byte range digest is present, all values in the signature dictionary shall be direct objects.”

    Thus, according to this norm, more piecewise byte ranges are permissible. Therefore, it especially is permissible to have multiple signature containers excluded from the bytes to sign.

    BUT…

    if you want Adobe products to accept your signatures out-of-the-box, you’ll find that they expect a signature to sign everything in its revision but itself. For two signatures this would imply that each signature would have to sign a range that includes each other, a hen-or-egg problem.

    If your signatures only have to be verifiable with you own software and Adobe products may mark your signatures as invalid, then you can quite easily create such independent double signatures. Cf.

    http://old.nabble.com/Uncommon-ByteRange-entry-in-signature-dictionary-to23670277.html

    for some inspiration. iText can be changed to do that without too much much trouble. But keep in mind Leonard’s words there:

    “Adobe Acrobat and Reader will IMMEDIATELY invalidate a ByteRange that is more than 2 pairs. So anything with multiple ranges won’t validate.”

    As a third way you may build a custom Adobe plugin which verify your custom signatures.


    just one afterthought… if you seriously want to be in the signature business, you should not only keep in mind the current plain PDF standard (i.e. ISO-32000-1:2008) but also additional standards.

    E.g., confer ETSI TS 102 778-1; section 4.1 in v1.1.1 says: “As with other CMS-based signature implementations, a digest is computed over a range of bytes of the file. However with PDF, as the signature information is to be embedded into the document itself, this range is the entire file, including the signature dictionary but excluding the PDF Signature itself. The range is then indicated by the ByteRange entry of the signature dictionary.

    By restricting the ByteRange entry this way, it ensures that there are no bytes in the PDF that are not covered by the digest, other than the PDF signature itself.

    NOTE: The profiles defined in part 2 and 3 make normative this requirement which is a recommendation in ISO 32000-1 [1], clause 12.8.1.”

    Therefore, as soon as you’re into signatures seriously, the signed byte range simply has to cover all of the revision but the one signature container which signs this very byte range.

    (From iText mailing list, December 1st, 2009)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using MinGW on Windows 7. Put simply, I want to create a Hello
Simply put, if the designers of a new language want it to gain adoption
Put simply: I want the following code to print sub: Element e = new
Simply put, I am using a while loop to repeat a method, and each
Simply put I want to call public static methods decorated with WebMethod attribute inside
Simply put, I want to override ProcessController which is in the Mage/Index/controllers/Admninhtml/ProcessController.php. I know
Put simply, I want to subtract one array from another. The arrays are arrays
Simply put, I am making a flash midi player. I am using ENTER_FRAME for
Put simply, I want to use both the slide and blind effects in jQuery
Simply put, I want to be able to get the event of a mouseclick

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.