From e57c25814e49b82863753894ee7d97c18e4c4525 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 29 Dec 2012 21:31:21 -0500 Subject: 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. --- libqpdf/QPDF.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'libqpdf/QPDF.cc') 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), -- cgit v1.2.3-54-g00ecf