From 909a0b3f3a0fddfab6abd1f0775cdd50f1406be6 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 23 Dec 2023 08:44:42 -0500 Subject: Implement --disable-signatures (fixes #1015) --- include/qpdf/QPDFJob.hh | 1 + include/qpdf/auto_job_c_main.hh | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh index b9c8ba50..21045019 100644 --- a/include/qpdf/QPDFJob.hh +++ b/include/qpdf/QPDFJob.hh @@ -557,6 +557,7 @@ class QPDFJob bool linearize{false}; bool decrypt{false}; bool remove_restrictions{false}; + bool disable_signatures{false}; int split_pages{0}; bool progress{false}; std::function progress_handler{nullptr}; diff --git a/include/qpdf/auto_job_c_main.hh b/include/qpdf/auto_job_c_main.hh index 6c661404..024f8469 100644 --- a/include/qpdf/auto_job_c_main.hh +++ b/include/qpdf/auto_job_c_main.hh @@ -11,6 +11,7 @@ QPDF_DLL Config* checkLinearization(); QPDF_DLL Config* coalesceContents(); QPDF_DLL Config* decrypt(); QPDF_DLL Config* deterministicId(); +QPDF_DLL Config* disableSignatures(); QPDF_DLL Config* externalizeInlineImages(); QPDF_DLL Config* filteredStreamData(); QPDF_DLL Config* flattenRotation(); -- cgit v1.2.3-54-g00ecf