Public Member Functions | |
virtual SecurityHandler.CipherType | GetCipherType (PDFDoc document, string sub_filter) |
A callback function used to get the cipher type for encryption algorithm. More... | |
virtual string | GetFileID (PDFDoc document, string sub_filter) |
A callback function used to get the file identity string. More... | |
virtual string | GetInitialKey (PDFDoc document, string sub_filter) |
A callback function used to get the initial key to decrypt the DRM protected document. More... | |
virtual int | GetKeyLength (PDFDoc document, string sub_filter) |
A callback function used to get the length of cipher key. More... | |
override PDFDoc.EncryptType | GetSecurityType () |
Get the encryption type of security callback. More... | |
virtual int | GetUserPermissions (PDFDoc document, string sub_filter) |
A callback function used to get the current user permissions. More... | |
virtual bool | IsOwner (PDFDoc document, string sub_filter) |
A callback function used to check if current user is the owner of the PDF document. More... | |
![]() | |
virtual void | Release () |
A callback function used to release current security callback object itself. 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 common::Library::RegisterSecurityCallback with filter "FoxitDRM". Function common::Library::UnregisterSecurityCallback can be called to unregister the security callback object with the registered filter name.
|
inlinevirtual |
A callback function used to get the cipher type for encryption algorithm.
document | A PDF document object. |
sub_filter | The sub filter of the PDF document. |
|
inlinevirtual |
A callback function used to get the file identity string.
document | A PDF document object. |
sub_filter | The sub filter of the PDF document. |
|
inlinevirtual |
A callback function used to get the initial key to decrypt the DRM protected document.
document | A PDF document object. |
sub_filter | The sub filter of the PDF document. |
|
inlinevirtual |
A callback function used to get the length of cipher key.
document | A PDF document object. |
sub_filter | The sub filter of the PDF document. |
|
inlinevirtual |
Get the encryption type of security callback.
Reimplemented from foxit.pdf.SecurityCallback.
|
inlinevirtual |
A callback function used to get the current user permissions.
document | A PDF document object. |
sub_filter | The sub filter of the PDF document. |
|
inlinevirtual |
A callback function used to check if current user is the owner of the PDF document.
document | A PDF document object. |
sub_filter | The sub filter of the PDF document. |