Pdftools SDK
|
The parameters to encrypt PDF documents. More...
#include <PdfTools_Types.h>
The parameters to encrypt PDF documents.
PDF document can be encrypted to protect content from unauthorized access. The encryption process applies encryption to all streams (e.g. images) and strings, but not to other items in the PDF document. This means the structure of the PDF document is accessible, but the content of its pages is encrypted.
The standard security handler allows access permissions and up to two passwords to be specified for a document: A user password (see PdfToolsPdf_Encryption_GetUserPassword) and an owner password (see PdfToolsPdf_Encryption_GetOwnerPassword).
The following list shows the four possible combinations of passwords and how an application processing such a PDF document behaves:
Since encryption is not allowed by the PDF/A ISO standards, PDF/A documents must not be encrypted.