summaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2012-12-30 03:31:21 +0100
committerJay Berkenbilt <ejb@ql.org>2012-12-31 16:32:32 +0100
commite57c25814e49b82863753894ee7d97c18e4c4525 (patch)
tree232c2b8501849c5ce9bffc2c6c4bfd861ddd5a42 /libqpdf/QPDF.cc
parent93ac1695a4b79f3d5b71e2d57ed876c28866d2c9 (diff)
downloadqpdf-e57c25814e49b82863753894ee7d97c18e4c4525.tar.zst
Support for encryption with /V=5 and /R=5 and /R=6
Read and write support is implemented for /V=5 with /R=5 as well as /R=6. /R=5 is the deprecated encryption method used by Acrobat IX. /R=6 is the encryption method used by PDF 2.0 from ISO 32000-2.
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r--libqpdf/QPDF.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc
index bee8cde1..46770106 100644
--- a/libqpdf/QPDF.cc
+++ b/libqpdf/QPDF.cc
@@ -97,6 +97,7 @@ QPDF::QPDF() :
err_stream(&std::cerr),
attempt_recovery(true),
encryption_V(0),
+ encryption_R(0),
encrypt_metadata(true),
cf_stream(e_none),
cf_string(e_none),