Skip to main content
PDFEncryptionAlgorithmEnum enumeration constants are used to specify the encryption algorithm for exported PDF files.
typedef enum {
  PDFEA_RC4
  PDFEA_AES128
  PDFEA_AES256
} PDFEncryptionAlgorithmEnum;

Elements

NameDescription
PDFEA\_RC4RC4 encryption supported for PDF version 1.3 (40-bit key only) and PDF version 1.4 or above (longer keys up to 128 bit). Key length is set using the PDFEncryptionInfo::KeyLength property.
PDFEA\_AES128128-bit AES encryption supported for PDF version 1.6 and above.
PDFEA\_AES256256-bit AES encryption supported for PDF version 1.7 and above.

Used in

PDFEncryptionInfo::EncryptionAlgorithm