PXC_StdEncryptionMehtod Enumeration
From PDF XChange PDF SDK
(→Constants) |
|||
Line 25: | Line 25: | ||
;SEM_AV3 | ;SEM_AV3 | ||
:Acrobat 3 compatibility encryption is specified. The encryption level is 40-bit RC4. | :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 [[PXV:PXS_CryptMethod|CF_METHOD_RC4_V2]] algorithm is used for encryption. | ||
;SEM_AV5 | ;SEM_AV5 | ||
:Acrobat 5 compatibility encryption is specified. The encryption level is 128-bit RC4. | :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 [[PXV:PXS_CryptMethod|CF_METHOD_RC4_V2]] algorithm is used for encryption. | ||
;SEM_AV6 | ;SEM_AV6 | ||
:Acrobat 6 compatibility encryption is specified. The encryption level is 128-bit RC4. | :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 [[PXV:PXS_CryptMethod|CF_METHOD_RC4_V2]] algorithm is used for encryption. | ||
;SEM_AV7 | ;SEM_AV7 | ||
:Acrobat 7 compatibility encryption is specified. The encryption level is 128-bit AES. | :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 [[PXV:PXS_CryptMethod|CF_METHOD_AES_V2]] algorithm with zero initialization vector is used for encryption. | ||
;SEM_AV9 | ;SEM_AV9 | ||
:Acrobat 9 compatibility encryption is specified. The encryption level is 256-bit AES. | :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 [[PXV:PXS_CryptMethod|CF_METHOD_AES_V3]] algorithm with 16 byte random initialization vector is used for encryption. | ||
;SEM_AV10 | ;SEM_AV10 | ||
− | :Acrobat X compatibility encryption is specified. The encryption level is 256-bit AES. | + | :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 [[PXV:PXS_CryptMethod|CF_METHOD_AES_V3]] algorithm with 4 byte random initialization vector is used for encryption. | ||
== See Also == | == See Also == | ||
[[PXV:IPXC_Document_SetStdEncryption|IPXC_Document::SetStdEncryption]] | [[PXV:IPXC_Document_SetStdEncryption|IPXC_Document::SetStdEncryption]] |
Latest revision as of 06:50, 28 December 2016
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.