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

Add Certificate Dictionary to seed value in signature field

    Details

    • Flags:
      Patch

      Description

      This dictionary is important as it gives the ability to put certificate constraints on a signature field, like if you want signatures that are signed by a specific issuer or authority to only be used in a field.

      currently tested Issuer constraint and it worked, acrobat reader ignores other certificates and only allow the issuer given to sign the field. documentation is not complete waiting for the initial acceptance to complete.

      new class PDSeedValueCertificate is added which refers to this certificate.
      PDSeedValue is modified to add the new dictionary.
      COSName is modified to add the new pdf names that are included in the dictionary.

      reference for this dictionary can be found in PDF reference 1.7 section 12.7.4.5 table 235 page 457 in here http://www.adobe.com/content/dam/acom/en/devnet/pdf/PDF32000_2008.pdf
      or chapter 8 table 8.84 page 700 in here http://archimedespalimpsest.net/Documents/External/pdf_reference_1-7.pdf

      and in here
      https://www.adobe.com/devnet-docs/acrobatetk/tools/DigSig/Acrobat_DigitalSignatures_in_PDF.pdf

      this is my first contribution, hope everything goes well.

        Attachments

        1. PDSeedValueCertificate.patch
          4 kB
          Hossam Hazem
        2. PDSeedValueCertificate.java
          22 kB
          Hossam Hazem
        3. PDSeedValue.patch
          2 kB
          Hossam Hazem
        4. COSName.patch
          3 kB
          Hossam Hazem

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              Hossam-Hazem Hossam Hazem
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: