Collect signature information in PDFDoc::NewSignatureData object
This is what remains of !1029 (closed), which appears to be abandoned.
I rebased the patches, cleaned up the commit history, and did some minor beautifications (more const
, for example).
What else needs to be done to get this merged?