diff options
author | Jay Berkenbilt <ejb@ql.org> | 2023-12-23 14:30:37 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2023-12-23 14:44:47 +0100 |
commit | 3d33a3a1e3eed4e09a625f81aaa8fcdc67d642e9 (patch) | |
tree | da9fcca510e8c3bea22bf7d38d892c29893d383c /include | |
parent | 2c14be264b0f2327248a7a0b2e47eb4d12574426 (diff) | |
download | qpdf-3d33a3a1e3eed4e09a625f81aaa8fcdc67d642e9.tar.zst |
Add QPDFAcroFormDocumentHelper::disableDigitalSignatures
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFAcroFormDocumentHelper.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/qpdf/QPDFAcroFormDocumentHelper.hh b/include/qpdf/QPDFAcroFormDocumentHelper.hh index 8be4d069..f9ad0091 100644 --- a/include/qpdf/QPDFAcroFormDocumentHelper.hh +++ b/include/qpdf/QPDFAcroFormDocumentHelper.hh @@ -163,6 +163,11 @@ class QPDFAcroFormDocumentHelper: public QPDFDocumentHelper QPDF_DLL void generateAppearancesIfNeeded(); + // Disable Digital Signature Fields. Remove all digital signature fields from the document, + // leaving any annotation showing the content of the field intact. + QPDF_DLL + void disableDigitalSignatures(); + // Note: this method works on all annotations, not just ones with associated fields. For each // annotation in old_annots, apply the given transformation matrix to create a new annotation. // New annotations are appended to new_annots. If the annotation is associated with a form |