diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDF.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index 5fae5a57..c488e0b1 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -406,6 +406,12 @@ class QPDF encryption_method_e& string_method, encryption_method_e& file_method); + QPDF_DLL + bool ownerPasswordMatched() const; + + QPDF_DLL + bool userPasswordMatched() const; + // Encryption permissions -- not enforced by QPDF QPDF_DLL bool allowAccessibility(); @@ -756,6 +762,8 @@ class QPDF std::string cached_object_encryption_key; int cached_key_objid; int cached_key_generation; + bool user_password_matched; + bool owner_password_matched; }; class ForeignStreamData |