aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFJob_config.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-12-24 13:12:32 +0100
committerJay Berkenbilt <ejb@ql.org>2023-12-24 13:36:07 +0100
commit4ca185fd96dfd3c7a8d89d3afd8093a26acf178b (patch)
treea50f15d2e151cd9f5b18bae2dc5405f650795186 /libqpdf/QPDFJob_config.cc
parent2f37633b923e0294acd894454a95d2a9ee1d36a9 (diff)
downloadqpdf-4ca185fd96dfd3c7a8d89d3afd8093a26acf178b.tar.zst
Remove --disable-signatures; incorporate into --remove-restrictions
Rather than adding yet another flag that is almost never useful on its own, just have --remove-restrictions disable digital signatures. The operations are still separate in the API.
Diffstat (limited to 'libqpdf/QPDFJob_config.cc')
-rw-r--r--libqpdf/QPDFJob_config.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/libqpdf/QPDFJob_config.cc b/libqpdf/QPDFJob_config.cc
index 922d46e5..4798ce9b 100644
--- a/libqpdf/QPDFJob_config.cc
+++ b/libqpdf/QPDFJob_config.cc
@@ -145,13 +145,6 @@ QPDFJob::Config::deterministicId()
}
QPDFJob::Config*
-QPDFJob::Config::disableSignatures()
-{
- o.m->disable_signatures = true;
- return this;
-}
-
-QPDFJob::Config*
QPDFJob::Config::encryptionFilePassword(std::string const& parameter)
{
o.m->encryption_file_password = QUtil::make_shared_cstr(parameter);