You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andrea Paternesi (JIRA)" <ji...@apache.org> on 2015/10/27 11:55:27 UTC

[jira] [Created] (PDFBOX-3065) Right now PDFBOX does not permit to sign multiple files while calling an external signing service.

Andrea Paternesi created PDFBOX-3065:
----------------------------------------

             Summary: Right now PDFBOX does not permit to sign multiple files while calling an external signing service.
                 Key: PDFBOX-3065
                 URL: https://issues.apache.org/jira/browse/PDFBOX-3065
             Project: PDFBox
          Issue Type: Improvement
          Components: Signing
    Affects Versions: 1.8.10
         Environment: Any Operating systems.
            Reporter: Andrea Paternesi
             Fix For: 1.8.11, 2.0.0


Since to sign a PDF you forced the implementation of the SignatureInterface interface, is not possible to prepare N hashes from N PDF files and then send them to a signing service that accepts multiple hashes with a single signon.
For example if I use an OTP signing service.

What would be nice to have is to separate the hash calculation from the signing. 

Instead to implement the Interface I would like to have something like this:

1) calculate hash from document with the new signature dictionary bytes
2) sign the hash
3) insert the signature into pdf

This way I could achieve to sign for example 100 pdf files calling the service once.
Right now must ask the user to sign in 100 times.

Thanks in advance.
Andrea.


 





--
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