full documentation: http://www.eqeus.com/files/XFRXDevGuide.pdf
excerpt:
8.5.1 How to invoke the digital signing (Note: the syntax is the same for VFP 9.0 and pre-VFP 9.0 calling methods) To generate a signed PDF document, call the DigitalSignature method before calling SetParams. The DigitalSignature method has 7 parameter: cSignatureFile The .pfx file. pfx, the "Personal Information Exchange File". This file contains the public certificate and (password protected) private key. You get this file from a certificate authority or you can generate your own for testing, which for example, OpenSSL (http://www.slproweb.com/products/Win32OpenSSL.html). XFRX comes with a sample pfx that you can use for testing. cPassword The password protecting the private key stored in the .pfx file nAccessPermissions per PDF specification: 1 - No changes to the document are permitted; any change to the document invalidates the signature. 2 - Permitted changes are filling in forms, instantiating page templates, and signing; other changes invalidate the signature. (this is the default value) 3 - Permitted changes are the same as for 2, as well as annotation creation, deletion and modification; other changes invalidate the signature. cSignatureName per PDF specification: The name of the person or authority signing the document. This value should be used only when it is not possible to extract the name from the signature; for example, from the certificate of the signer. cSignatureContactInfo per PDF specification: Information provided by the signer to enable a recipient to contact the signer to verify the signature; for example, a phone number. cSignatureLocation per PDF specification: The CPU host name or physical location of the signing. cSignatureReason per PDF specification: The reason for the signing, such as ( I agree ... ).
Thierry Nivelet (FoxInCloud)
Never explain, never complain (Queen Elizabeth II)