Skip to main content
PDFKeyLengthEnum enumeration constants are used to set the encryption key length when the exported PDF file is encrypted with the RC4 algorithm.
All values except PDFKL_40Bit require PDF version 1.4 or greater (see IPDFExportFeatures::PDFVersion ).
typedef enum {
 PDFKL_40Bit = 5,
 PDFKL_48Bit = 6,
 PDFKL_56Bit = 7,
 PDFKL_64Bit = 8,
 PDFKL_72Bit = 9,
 PDFKL_80Bit = 10,
 PDFKL_88Bit = 11,
 PDFKL_96Bit = 12,
 PDFKL_104Bit = 13,
 PDFKL_112Bit = 14,
 PDFKL_120Bit = 15,
 PDFKL_128Bit = 16
} PDFKeyLengthEnum;

Elements

NameDescription
PDFKL\_40BitThe key length is 40 bits.
PDFKL\_48BitThe key length is 48 bits.
PDFKL\_56BitThe key length is 56 bits.
PDFKL\_64BitThe key length is 64 bits.
PDFKL\_72BitThe key length is 72 bits.
PDFKL\_80BitThe key length is 80 bits.
PDFKL\_88BitThe key length is 88 bits.
PDFKL\_96BitThe key length is 96 bits.
PDFKL\_104BitThe key length is 104 bits.
PDFKL\_112BitThe key length is 112 bits.
PDFKL\_120BitThe key length is 120 bits.
PDFKL\_128BitThe key length is 128 bits.

Used in

IPDFEncryptionInfo::KeyLength