PXC_StdEncryptionMehtod Enumeration
From PDF XChange PDF SDK
Specifies the encryption method type.
Syntax
enum PXC_StdEncryptionMehtod { SEM_NoEncryption = -1, SEM_AV3 = 0, SEM_AV5 = 1, SEM_AV6 = 2, SEM_AV7 = 3, SEM_AV9 = 4, SEM_AV10 = 5, };
Constants
- SEM_NoEncryption
- No encryption is specified.
- SEM_AV3
- Acrobat 3 compatibility encryption is specified. The encryption level is 40-bit RC4.
- The version (/V) value is 1.
- The revision (/R) value is 2.
- The CF_METHOD_RC4_V2 algorithm is used for encryption.
- SEM_AV5
- Acrobat 5 compatibility encryption is specified. The encryption level is 128-bit RC4.
- The version (/V) value is 2.
- The revision (/R) value is 3.
- The CF_METHOD_RC4_V2 algorithm is used for encryption.
- SEM_AV6
- Acrobat 6 compatibility encryption is specified. The encryption level is 128-bit RC4.
- The version (/V) value is 4.
- The revision (/R) value is 4.
- The CF_METHOD_RC4_V2 algorithm is used for encryption.
- SEM_AV7
- Acrobat 7 compatibility encryption is specified. The encryption level is 128-bit AES.
- The version (/V) value is 4.
- The revision (/R) value is 4.
- The CF_METHOD_AES_V2 algorithm with zero initialization vector is used for encryption.
- SEM_AV9
- Acrobat 9 compatibility encryption is specified. The encryption level is 256-bit AES.
- The version (/V) value is 5.
- The revision (/R) value is 5.
- The CF_METHOD_AES_V3 algorithm with 16 byte random initialization vector is used for encryption.
- SEM_AV10
- Acrobat X compatibility encryption is specified. The encryption level is 256-bit AES.
- The version (/V) value is 5.
- The revision (/R) value is 6.
- The CF_METHOD_AES_V3 algorithm with 4 byte random initialization vector is used for encryption.