29 #ifndef _FSPDF_SECURITY_R_H_ 30 #define _FSPDF_SECURITY_R_H_ 111 #ifndef _FSPDF_DEF_HANDLER_SECURITY_ 112 #define _FSPDF_DEF_HANDLER_SECURITY_ 121 typedef struct _FSPDF_SECURITYHANDLER
334 #ifndef _FSCRT_DEF_HANDLER_SECURITY_CERT_ 335 #define _FSCRT_DEF_HANDLER_SECURITY_CERT_ 344 typedef struct _FSPDF_SECURITYHANDLER_CERT
378 #ifndef _FSCRT_DEF_HANDLER_SECURITY_FDRM_ 379 #define _FSCRT_DEF_HANDLER_SECURITY_FDRM_ 388 typedef struct _FSPDF_SECURITYHANDLER_FDRM
void const * FS_LPCVOID
A constant pointer to any types.
Definition: fs_base_r.h:130
FS_LPVOID clientData
User-defined data.
Definition: fpdf_security_r.h:351
unsigned int FS_DWORD
32-bit unsigned integer.
Definition: fs_base_r.h:142
FS_RESULT FSPDF_Security_GetFoxitDRMEncryptionParamValue(FSCRT_DOCUMENT document, const FSCRT_BSTR *key, FSCRT_BSTR *str)
Get string value of a key from encryption parameters used for Foxit DRM security. ...
FS_LPVOID clientData
User-defined data.
Definition: fpdf_security_r.h:395
int FS_INT32
32-bit signed integer.
Definition: fs_base_r.h:175
Structure for certificate security handler.
Definition: fpdf_security_r.h:344
FS_RESULT FSPDF_Security_SetFoxitDRMHandler(FSPDF_SECURITYHANDLER_FDRM *foxitDRMHandler)
Set Foxit DRM security handler to Foxit PDF SDK.
Structure for Foxit DRM security handler.
Definition: fpdf_security_r.h:388
int FS_BOOL
Boolean type (This should be TRUE or FALSE).
Definition: fs_base_r.h:133
FS_LPVOID clientData
User-defined data.
Definition: fpdf_security_r.h:128
FS_RESULT FSPDF_Security_SetCertificateHandler(FSPDF_SECURITYHANDLER_CERT *certificateHandler)
Set certificate security handler to Foxit PDF SDK.
FS_RESULT FSPDF_Security_RegisterHandler(const FSCRT_BSTR *filter, FSPDF_SECURITYHANDLER *securityHandler)
Register a custom security handler to Foxit PDF SDK, enabling access to a PDF document which is prote...
void * FS_LPVOID
A pointer to any types.
Definition: fs_base_r.h:127
FS_RESULT FSPDF_Security_CheckPassword(FSCRT_DOCUMENT document, const FSCRT_BSTR *password, FS_INT32 *passwordType)
Detect type of password.
FS_RESULT FSPDF_Security_UnregisterHandler(const FSCRT_BSTR *filter)
Unregister a customer security handler to Foxit PDF SDK.
Structure for byte string.
Definition: fs_base_r.h:611
FS_RESULT FSPDF_Security_VerifyFoxitDRMEncryptionParams(FSCRT_DOCUMENT document, FS_BOOL *verified)
Verify encryption parameters in a PDF document.
Structure for custom security handler.
Definition: fpdf_security_r.h:121
int FS_RESULT
Result code for functions in Foxit PDF SDK.
Definition: fs_base_r.h:160