CAM::PDF::Decrypt(3pm) | User Contributed Perl Documentation | CAM::PDF::Decrypt(3pm) |
CAM::PDF::Decrypt - PDF security helper
See CAM::PDF.
use CAM::PDF; my $pdf = CAM::PDF->new($filename);
This class is used invisibly by CAM::PDF whenever it detects that a document is encrypted. See new(), getPrefs() and setPrefs() in that module.
$prompt is a boolean that says whether the user should be prompted for a password on the command line.
print boolean modify boolean copy boolean add boolean
PERMISSIONS is an optional scalar of the form that decode_permissions can understand. If not specified, the existing values will be retained.
Note: we only support writing using encryption version 1, even though we can read encryption version 2 as well.
See CAM::PDF
2022-12-08 | perl v5.36.0 |