You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2016/04/11 12:39:25 UTC

[jira] [Closed] (PDFBOX-3310) Unable re-write PDDocument.addSignature()

     [ https://issues.apache.org/jira/browse/PDFBOX-3310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler closed PDFBOX-3310.
--------------------------------------
    Resolution: Not A Problem
      Assignee: Andreas Lehmkühler

The signature stuff was refactored. Have a look at the CreateSignature class. 
If there are any questions left feel free to post them on our mailing list.

> Unable re-write PDDocument.addSignature()
> -----------------------------------------
>
>                 Key: PDFBOX-3310
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3310
>             Project: PDFBox
>          Issue Type: Wish
>          Components: Signing
>    Affects Versions: 2.0.0
>            Reporter: Cyril Bremaud
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>
> First of all congratulation for the new version!
> With PDFBox 1.8.x I was able to re-write the addSignature() function in order to sign in an existing empty visible signature field.
> When I wanted to redo the same with this new version, I failed because the setter COSDocument.setSignatureInterface() does not exist anymore and I found no way to set the signature interface without re-writing a ton of Java classes.
> Now I may have a clean solution: make some attributes protected in PDDocument in order to extend it and override some functions.
> You may have a better idea.
> Thank you.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org