fpdf_signature_w.h File Reference

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

Go to the source code of this file.

Functions

FS_RESULT FSPDF_Signature_Add (FSCRT_PAGE page, const FSCRT_RECTF *rect, FSPDF_SIGNATURE *sig)
 Add an unsigned signature field without appearance to a specific position in a PDF page. More...
 
FS_RESULT FSPDF_Signature_Remove (FSPDF_SIGNATURE sig)
 Remove a signature. More...
 
FS_RESULT FSPDF_Signature_SetFlags (FSPDF_SIGNATURE sig, FS_DWORD flags)
 Set annotation flags of a signature. More...
 
FS_RESULT FSPDF_Signature_SetFilter (FSPDF_SIGNATURE sig, const FSCRT_BSTR *filter)
 Set the name of the preferred signature handler to use for signature. More...
 
FS_RESULT FSPDF_Signature_SetSubFilter (FSPDF_SIGNATURE sig, const FSCRT_BSTR *subFilter)
 Set sub filter of a signature. More...
 
FS_RESULT FSPDF_Signature_SetSigner (FSPDF_SIGNATURE sig, const FSCRT_BSTR *signer)
 Set signer name of a signature. More...
 
FS_RESULT FSPDF_Signature_SetDateTime (FSPDF_SIGNATURE sig, const FSCRT_DATETIMEZONE *dt)
 Set the signing time of a signature(M entry in the dictionary). More...
 
FS_RESULT FSPDF_Signature_SetLocation (FSPDF_SIGNATURE sig, const FSCRT_BSTR *location)
 The CPU host name or physical location of the signing. More...
 
FS_RESULT FSPDF_Signature_SetReason (FSPDF_SIGNATURE sig, const FSCRT_BSTR *reason)
 Set signing reason of a signature. More...
 
FS_RESULT FSPDF_Signature_SetContactInfo (FSPDF_SIGNATURE sig, const FSCRT_BSTR *contactInfo)
 Set contact information of a signature. More...
 
FS_RESULT FSPDF_Signature_SetDistinguishedName (FSPDF_SIGNATURE sig, const FSCRT_BSTR *dn)
 Set distinguished name of signer in a signature dictionary. More...
 
FS_RESULT FSPDF_Signature_SetText (FSPDF_SIGNATURE sig, const FSCRT_BSTR *text)
 Set the text content out of signature appearance. More...
 
FS_RESULT FSPDF_Signature_SetBitmap (FSPDF_SIGNATURE sig, FSCRT_BITMAP bitmap)
 Set a bitmap to icon in signature display. More...
 
FS_RESULT FSPDF_Signature_SetImage (FSPDF_SIGNATURE sig, FSCRT_IMAGE image)
 Set an image to icon in signature display. More...
 
FS_RESULT FSPDF_Signature_SetAppearanceFlags (FSPDF_SIGNATURE sig, FS_DWORD apFlags)
 Set signature appearance flags required for resetting appearance. More...
 
FS_RESULT FSPDF_Signature_SetCertChain (FSPDF_SIGNATURE sig, const FSCRT_BSTR *certChain, FS_INT32 certCount)
 Set a certificate chain into a signature dictionary. More...
 
FS_RESULT FSPDF_Signature_ClearData (FSPDF_SIGNATURE sig)
 Clear signature data and its appearance. More...
 
FS_RESULT FSPDF_Signature_SetDefaultContentsLength (FSPDF_SIGNATURE sig, FS_DWORD contentsLength)
 Set the default length of signature value. More...
 
FS_RESULT FSPDF_Signature_InitValue (FSPDF_SIGNATURE sig)
 Initialize a signature field. More...
 
FS_RESULT FSPDF_Signature_StartSign (FSPDF_SIGNATURE sig, FSCRT_FILE savedFile, FSCRT_PROGRESS *signProgress)
 Sign a PDF document progressively by using a signature signing handler specified by its Filter and SubFilter. More...
 
FS_RESULT FSPDF_Signature_ResetAppearance (FSPDF_SIGNATURE sig)
 Reset the appearance of an unsigned signature field. More...
 

Detailed Description

Header file for PDF Signature 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 provides access to PDF signature, mainly about "writing" methods.
It contains:

  • 1. Add, clear and remove signature field.
  • 2. Set the properties of the signature field.
  • 3. Sign the signature field.
Note
The Signature module only provides the third-party signature interface and requires the customers have their own signature implementation. If you want to purchase Foxit PDF SDK license and use any functions of this module, please contact Foxit to enable this module explicitly.

Foxit Corporation