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

Signing improvement (settable signature size)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.0
    • Component/s: Writing
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: