summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-01-28 19:41:58 +0100
committerJay Berkenbilt <ejb@ql.org>2023-01-28 19:42:19 +0100
commit1308c450903dcae15e37f06339a5c6bff73bab2c (patch)
tree5da52c7c1d219d3fbe0e85811c462b581eeb2c41 /include
parentfe11f13d63f9545c47b4f59efa4335f2c3ecf4d9 (diff)
downloadqpdf-1308c450903dcae15e37f06339a5c6bff73bab2c.tar.zst
Implement --remove-restrictions (fixes #833)
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 79dcca59..d6b32fe9 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -685,6 +685,10 @@ class QPDF
// this file
QPDF_DLL
std::string getEncryptionKey() const;
+ // Remove security restrictions associated with digitally signed
+ // files.
+ QPDF_DLL
+ void removeSecurityRestrictions();
// Linearization support