aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-12-23 14:44:42 +0100
committerJay Berkenbilt <ejb@ql.org>2023-12-23 14:50:42 +0100
commit909a0b3f3a0fddfab6abd1f0775cdd50f1406be6 (patch)
treec02260df2b5918f744165fcacd76565a6294ab33 /include
parent3d33a3a1e3eed4e09a625f81aaa8fcdc67d642e9 (diff)
downloadqpdf-909a0b3f3a0fddfab6abd1f0775cdd50f1406be6.tar.zst
Implement --disable-signatures (fixes #1015)
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh1
-rw-r--r--include/qpdf/auto_job_c_main.hh1
2 files changed, 2 insertions, 0 deletions
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<void(int)> 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();