Foxit PDF SDK
|
Instance Methods | |
(id) | - init |
Constructor. | |
(BOOL) | - initialize:callback:encrypt_info: |
Initialize current custom 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 custom security handler, used for custom encryption.
- (BOOL) initialize: | (FSCustomEncryptData*) | encrypt_data | |
callback: | (id<FSCustomSecurityCallback>) | callback | |
encrypt_info: | (NSString *) | encrypt_info | |
Initialize current custom security handler.
If this function is successfully, Foxit PDF SDK will take over the input security callback object and user should not release this callback object directly anymore; otherwise unexpected crash may occurs later.
[in] | encrypt_data | A custom encrypt data object. |
[in] | callback | A valid FSCustomSecurityCallback object, which is inherited and implemented by user for their own encryption and description algorithm. It should not be nil. |
[in] | encrypt_info | The encryption information,which will be stored to document encryption dictionary. This can be an empty string. |
- (id) initWithOther: | (FSSecurityHandler*) | other |
Constructor, with parent class object.
[in] | other | Parent class object. |
Reimplemented from FSSecurityHandler.