Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1032

Signing improvement (settable signature size)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0
    • Writing
    • None

    Description

      Here is a small patch that add a new setter and getter "preferedSignatureSize" to the SignatureOptions. So the user can set the approximate signature size on one's own.

      We use a small amount of bytes for the signature itself like 0x500 and additional calculate the size of the whole certificate chain that should be wrote inside the signature. This is much better than setting a fix signature size.

      If the user don't set any size, 0x2500 will be reserved.

      Attachments

        1. signing_improvement.patch
          3 kB
          Thomas Chojecki

        Activity

          People

            lehmi Andreas Lehmkühler
            tchojecki Thomas Chojecki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: