#include <PdfSignatureField.h>
Inherits PoDoFo::PdfField.
§ PdfSignatureField()
§ AddCertificationReference()
| void PoDoFo::PdfSignatureField::AddCertificationReference |
( |
PdfObject * |
pDocumentCatalog, |
|
|
EPdfCertPermission |
perm = ePdfCertPermission_NoPerms |
|
) |
| |
Add certification dictionaries and references to document catalog.
- Parameters
-
| pDocumentCatalog | the catalog of current document |
| perm | document modification permission |
§ SetSignature()
| void PoDoFo::PdfSignatureField::SetSignature |
( |
const PdfData & |
signatureData | ) |
|
Create space for signature
- Parameters
-
| signatureData | String used to locate reserved space for signature. This string will be replaiced with signature. |
Structure of the PDF file - before signing: <</ByteRange[ 0 1234567890 1234567890 1234567890]/Contents<signatureData> Have to be replaiced with the following structure: <</ByteRange[ 0 count pos count]/Contents<real signature ...0-padding>
§ SetSignatureDate()
| void PoDoFo::PdfSignatureField::SetSignatureDate |
( |
const PdfDate & |
sigDate | ) |
|
§ SetSignatureLocation()
| void PoDoFo::PdfSignatureField::SetSignatureLocation |
( |
const PdfString & |
rsText | ) |
|
Set location of the signature
- Parameters
-
| rsText | the location of signature |
§ SetSignatureReason()
| void PoDoFo::PdfSignatureField::SetSignatureReason |
( |
const PdfString & |
rsText | ) |
|
Set reason of the signature
- Parameters
-
| rsText | the reason of signature |