![]() |
Vanilla.PDF
2.0.0
Cross-platform toolkit for creating and modifying PDF documents
|
This file contains class definitions for DocumentEncryptionSettingsHandle. More...
Go to the source code of this file.
Enumerations | |
enum | UserAccessPermissionFlags { UserAccessPermissionFlag_None = 0 , UserAccessPermissionFlag_PrintDegraded = 4 , UserAccessPermissionFlag_ModifyContents = 8 , UserAccessPermissionFlag_CopyAndExtract = 16 , UserAccessPermissionFlag_AddAnnotations = 32 , UserAccessPermissionFlag_FillForms = 256 , UserAccessPermissionFlag_ExtractText = 512 , UserAccessPermissionFlag_AssembleDocument = 1024 , UserAccessPermissionFlag_PrintFaithful = 2048 } |
Available user access permission flags for the encrypted document. More... | |
enum | EncryptionAlgorithmType { EncryptionAlgorithmType_Undefined = 0 , EncryptionAlgorithmType_None , EncryptionAlgorithmType_RC4 , EncryptionAlgorithmType_AES } |
Algorithm to be used for document encryption. More... | |
This file contains class definitions for DocumentEncryptionSettingsHandle.
Available user access permission flags for the encrypted document.
Algorithm to be used for document encryption.
Enumerator | |
---|---|
EncryptionAlgorithmType_Undefined | Undefined unitialized default value, triggers error when used. |
EncryptionAlgorithmType_None | The application shall not decrypt data but shall direct the input stream to the security handler for decryption. |
EncryptionAlgorithmType_RC4 | A proprietary encryption algorithm known as RC4. RC4 is a symmetric stream cipher: the same algorithm shall be used for both encryption and decryption, and the algorithm does not change the length of the data. RC4 is a copyrighted, proprietary algorithm of RSA Security, Inc. Independent software vendors may be required to license RC4 to develop software that encrypts or decrypts PDF documents. For further information, visit the RSA Web site at http://www.rsasecurity.com or send e-mail to produ.nosp@m.cts@.nosp@m.rsase.nosp@m.curi.nosp@m.ty.co.nosp@m.m. |
EncryptionAlgorithmType_AES | The AES (Advanced Encryption Standard) algorithm (beginning with PDF 1.6). AES is a symmetric block cipher: the same algorithm shall be used for both encryption and decryption, and the length of the data when encrypted is rounded up to a multiple of the block size, which is fixed to always be 16 bytes, as specified in FIPS 197, Advanced Encryption Standard (AES); see the Bibliography). |