Foxit PDF SDK
|
Instance Methods | |
(FSSecurityHandlerCipherType) | - getCipherType:sub_filter: |
A callback function used to get the cipher type for encryption algorithm. More... | |
(NSString *) | - getFileID:sub_filter: |
A callback function used to get the file identity string. More... | |
(NSData *) | - getInitialKey:sub_filter: |
A callback function used to get the initial key to decrypt the DRM protected document. More... | |
(int) | - getKeyLength:sub_filter: |
A callback function used to get the length of cipher key. More... | |
(unsigned int) | - getUserPermissions:sub_filter: |
A callback function used to get the current user permissions. More... | |
(BOOL) | - isOwner:sub_filter: |
A callback function used to check if current user is the owner of the PDF document. More... | |
![]() | |
(FSPDFDocEncryptType) | - GetSecurityType |
Get the encryption type of security callback. More... | |
This class represents a callback object for Foxit DRM decryption. If user wants to use their own Foxit DRM security callback, user should inherit this callback class and implement the pure virtual functions (as callback functions), and then register their own Foxit DRM security callback object to Foxit PDF SDK by function FSLibrary::registerSecurityCallback:callback: with filter "FoxitDRM". Function FSLibrary::unregisterSecurityCallback: can be called to unregister the security callback object with the registered filter name.
|
required |
A callback function used to get the cipher type for encryption algorithm.
[in] | document | A PDF document object. |
[in] | sub_filter | The sub filter of the PDF document. |
|
required |
A callback function used to get the file identity string.
[in] | document | A PDF document object. |
[in] | sub_filter | The sub filter of the PDF document. |
|
required |
A callback function used to get the initial key to decrypt the DRM protected document.
[in] | document | A PDF document object. |
[in] | sub_filter | The sub filter of the PDF document. |
|
required |
A callback function used to get the length of cipher key.
[in] | document | A PDF document object. |
[in] | sub_filter | The sub filter of the PDF document. |
|
required |
A callback function used to get the current user permissions.
[in] | document | A PDF document object. |
[in] | sub_filter | The sub filter of the PDF document. |
|
required |
A callback function used to check if current user is the owner of the PDF document.
[in] | document | A PDF document object. |
[in] | sub_filter | The sub filter of the PDF document. |