Foxit PDF SDK
|
Instance Methods | |
(id) | - init |
Constructor. | |
(BOOL) | - initialize:user_password:owner_password: |
(Not support AES-256) Initialize current standard security handler. More... | |
(BOOL) | - initializeW:user_password:owner_password: |
(Only for AES-256) Initialize current standard security handler. More... | |
(id) | - initWithOther: |
Constructor, with parent class object. More... | |
![]() | |
(FSPDFDocEncryptType) | - getSecurityType |
Get the encryption type of current security handler. More... | |
(BOOL) | - isEmpty |
Check whether current object is empty or not. More... | |
This class represents a standard security handler, used for password encryption.
- (BOOL) initialize: | (FSStdEncryptData*) | encrypt_data | |
user_password: | (NSString *) | user_password | |
owner_password: | (NSString *) | owner_password | |
(Not support AES-256) Initialize current standard security handler.
[in] | user_password | A user password, which is used to open the PDF document. This can be empty when parameter owner_password is not empty. |
[in] | owner_password | An owner password, which is used to take ownership of the PDF document. This can be empty when parameter user_password is not empty. |
[in] | encrypt_data | A standard encrypt data object. In the encryption data, cipher type should not be FSSecurityHandlerCipherNone, or FSSecurityHandlerCipherAES with key length 32 (that means not support AES-256). Please refer to comment of class FSStdEncryptData to ensure the validation of each member. |
- (BOOL) initializeW: | (FSStdEncryptData*) | encrypt_data | |
user_password: | (NSString *) | user_password | |
owner_password: | (NSString *) | owner_password | |
(Only for AES-256) Initialize current standard security handler.
[in] | user_password | A user password, which is used to open the PDF document. This can be empty when parameter owner_password is not empty. |
[in] | owner_password | An owner password, which is used to take ownership of the PDF document. This can be empty when parameter user_password is not empty. |
[in] | encrypt_data | A standard encrypt data object. In the encryption data, cipher type should be FSSecurityHandlerCipherAES and key length should be 32. |
- (id) initWithOther: | (FSSecurityHandler*) | other |
Constructor, with parent class object.
[in] | other | Parent class object. |
Reimplemented from FSSecurityHandler.