xmlsecurity: add initial PDFSignatureHelper

Desktop / LibreOffice - Miklos Vajna [collabora.co.uk] - 13 October 2016 05:44 UTC

This splits most of the PDF signature code out of the pdfverify executable, and puts it into the xmlsecurity library instead.

The PDFSignatureHelper now attempts to verify PDF signatures, and code in sdext / sfx2 also calls it (even if PDF is not a ZIP-based format).

Change-Id: I7b8b3ac9c976e4ea4f3796b1cda07c8a2c97bd02 Reviewed-on: https://gerrit.libreoffice.org/29751

0f613ad xmlsecurity: add initial PDFSignatureHelper
.../source/pdfimport/config/pdf_import_filter.xcu | 2 +-
sfx2/source/doc/objserv.cxx | 22 +-
xmlsecurity/Executable_pdfverify.mk | 15 +-
xmlsecurity/Library_xmlsecurity.mk | 15 +
xmlsecurity/inc/pdfio/pdfdocument.hxx | 70 +
xmlsecurity/inc/pdfsignaturehelper.hxx | 33 +
.../source/component/documentdigitalsignatures.cxx | 9 +
xmlsecurity/source/helper/pdfsignaturehelper.cxx | 65 +
xmlsecurity/source/pdfio/pdfdocument.cxx | 1461 +++++++++++++++++++
xmlsecurity/source/pdfio/pdfverify.cxx | 1486 +-------------------
10 files changed, 1678 insertions(+), 1500 deletions(-)

Upstream: cgit.freedesktop.org


  • Share