Foxit PDF SDK
9.1
|
Instance Methods | |
(void) | - dealloc |
(void *) | - getCptr |
(id) | - init |
Constructor. More... | |
(BOOL) | - initialize:callback: |
Initialize current custom security handler. More... | |
(BOOL) | - initialize:callback:encrypt_info: |
Initialize current custom security handler. More... | |
(id) | - initWithCptr:swigOwnCObject: |
(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... | |
Additional Inherited Members | |
![]() | |
BOOL | swigCMemOwn |
void * | swigCPtr |
This class represents a custom security handler, used for custom encryption.
- (void) dealloc |
Reimplemented from FSSecurityHandler.
- (void*) getCptr |
Reimplemented from FSSecurityHandler.
- (id) init |
Constructor.
Reimplemented from FSSecurityHandler.
- (BOOL) initialize: | (FSCustomEncryptData*) | encrypt_data | |
callback: | (id<FSCustomSecurityCallback>) | callback | |
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 object, which is inherited and implemented by user for their own encryption and description algorithm. It should not be nil. |
- (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 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. Default value: an empty string. |
- (id) initWithCptr: | (void *) | cptr | |
swigOwnCObject: | (BOOL) | ownCObject | |
Reimplemented from FSSecurityHandler.
- (id) initWithOther: | (FSSecurityHandler*) | other |
Constructor, with parent class object.
[in] | other | Parent class object. |
Reimplemented from FSSecurityHandler.