fpdf_security_r.h File Reference

Header file for PDF Security module of Foxit PDF SDK. More...

Go to the source code of this file.

Classes

struct  FSPDF_SECURITYHANDLER
 Structure for custom security handler. More...
 
struct  FSPDF_SECURITYHANDLER_CERT
 Structure for certificate security handler. More...
 
struct  FSPDF_SECURITYHANDLER_FDRM
 Structure for Foxit DRM security handler. More...
 

Functions

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 protected by customized security handler. More...
 
FS_RESULT FSPDF_Security_UnregisterHandler (const FSCRT_BSTR *filter)
 Unregister a customer security handler to Foxit PDF SDK. More...
 
FS_RESULT FSPDF_Security_SetCertificateHandler (FSPDF_SECURITYHANDLER_CERT *certificateHandler)
 Set certificate security handler to Foxit PDF SDK. More...
 
FS_RESULT FSPDF_Security_SetFoxitDRMHandler (FSPDF_SECURITYHANDLER_FDRM *foxitDRMHandler)
 Set Foxit DRM security handler to Foxit PDF SDK. More...
 
FS_RESULT FSPDF_Security_CheckPassword (FSCRT_DOCUMENT document, const FSCRT_BSTR *password, FS_INT32 *passwordType)
 Detect type of password. More...
 
FS_RESULT FSPDF_Security_VerifyFoxitDRMEncryptionParams (FSCRT_DOCUMENT document, FS_BOOL *verified)
 Verify encryption parameters in a PDF document. More...
 
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. More...
 

Detailed Description

Header file for PDF Security module of Foxit PDF SDK.

Copyright (C) 2003-2016, Foxit Software Inc.. All Rights Reserved.

http://www.foxitsoftware.com

The following code is copyrighted and contains proprietary information and trade secrets of Foxit Software Inc.. You cannot distribute any part of Foxit PDF SDK to any third party or general public, unless there is a separate license agreement with Foxit Software Inc. which explicitly grants you such rights.

This header file defines some security supports to PDF, mainly about "reading" methods.
It contains:

  • 1. Register and unregister five kinds of PDF decryption security handler to Foxit PDF SDK.
  • 2. Check password type of password encryption PDF.
  • 3. Password decryption of PDF.
  • 4. Certificate decryption of PDF.
  • 5. Custom decryption of PDF.
  • 6. Foxit DRM decryption of PDF.
  • 7. Extended encryption parameters dictionary support.
  • 8. RMS decryption of PDF, supporting Microsoft RMS.
Note
If you want to purchase Foxit PDF SDK license and use ANY of the following functions, please request for enabling Security Add-on explicitly.

Foxit Corporation