fpdf_security_w.h File Reference

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

Go to the source code of this file.

Functions

FS_RESULT FSPDF_Security_StartPasswordEncryption (FSCRT_DOCUMENT document, FS_DWORD userPermissions, const FSCRT_BSTR *userPassword, const FSCRT_BSTR *ownerPassword, FS_INT32 cipher, FS_INT32 keyLen, FS_BOOL encryptMetadata, FSCRT_FILE encryptedFile, FS_INT32 flag, FSCRT_PROGRESS *encryptProgress)
 Start standard password encryption on a PDF document. More...
 
FS_RESULT FSPDF_Security_StartCustomEncryption (FSCRT_DOCUMENT document, const FSCRT_BSTR *filter, const FSCRT_BSTR *subFilter, const FSCRT_BSTR *encryptInfo, FSPDF_SECURITYHANDLER *securityHandler, FS_BOOL encryptMetadata, FSCRT_FILE encryptedFile, FS_INT32 flag, FSCRT_PROGRESS *encryptProgress)
 Start custom PDF Encryption, and the PDF document will be protected by non-standard security handler. More...
 
FS_RESULT FSPDF_Security_StartCertificateEncryption (FSCRT_DOCUMENT document, const FSCRT_BSTR *envelopes, FS_INT32 count, FS_INT32 cipher, const FSCRT_BSTR *encryptKey, FS_BOOL encryptMetadata, FSCRT_FILE encryptedFile, FS_INT32 flag, FSCRT_PROGRESS *encryptProgress)
 Encrypt the PDF document by certificate. More...
 
FS_RESULT FSPDF_Security_SetFoxitDRMEncryptionParamValue (FSCRT_DOCUMENT document, const FSCRT_BSTR *key, const FSCRT_BSTR *str)
 Set string value of a key as encryption parameter for Foxit DRM encryption. More...
 
FS_RESULT FSPDF_Security_StartFoxitDRMEncryption (FSCRT_DOCUMENT document, const FSCRT_BSTR *subFilter, FS_BOOL isOwner, FS_DWORD userPermissions, FS_INT32 cipher, FS_INT32 keyLen, const FSCRT_BSTR *fileID, const FSCRT_BSTR *initialKey, FS_BOOL encryptMetadata, FSCRT_FILE encryptedFile, FS_INT32 flag, FSCRT_PROGRESS *encryptProgress)
 Start PDF document encryption by using Foxit DRM. More...
 
FS_RESULT FSPDF_Security_StartRMSEncryption (FSCRT_DOCUMENT document, const FSCRT_BSTR *publishLicense, const FSCRT_BSTR *serverEulList, FS_INT32 listCount, FS_INT32 irmVersion, FS_BOOL encryptMetadata, FSCRT_FILE encryptedFile, FS_INT32 flag, FSCRT_PROGRESS *encryptProgress)
 Start PDF document encryption by using Microsoft RMS. 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 "writing" methods.
It contains:

  • 1. Password encryption of PDF.
  • 2. Certificate encryption of PDF.
  • 3. Custom encryption of PDF.
  • 4. Foxit DRM encryption of PDF.
  • 5. Extended encryption parameters dictionary support.
  • 6. RMS encryption 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