PdfDigSig class.
More...
|
| virtual bool | SetPfxFile (const wchar_t *pfx_file, const wchar_t *pfx_password)=0 |
| | Sets the pfx file for signing the document with digital signature. More...
|
| |
| virtual void | Destroy ()=0 |
| | Destroys digital signature's resources. More...
|
| |
| virtual bool | SetReason (const wchar_t *reason)=0 |
| | Sets the reason for the signing. More...
|
| |
| virtual bool | SetLocation (const wchar_t *location)=0 |
| | Sets the location of signing. More...
|
| |
| virtual bool | SetContactInfo (const wchar_t *contact)=0 |
| | Sets the contact information of the signer. More...
|
| |
| virtual bool | SetName (const wchar_t *name)=0 |
| |
| virtual bool | SetTimeStampServer (const wchar_t *url, const wchar_t *user_name, const wchar_t *password)=0 |
| | Sets the timestamp server url and accesses credentials to apply the timestamp. More...
|
| |
| virtual bool | SignDoc (PdfDoc *doc, const wchar_t *path)=0 |
| | Applies the digital signature and saves document to specified path. More...
|
| |
PdfDigSig class.
Uses OpenSSL to handle certificates.
◆ SetPfxFile()
| virtual bool PdfDigSig::SetPfxFile |
( |
const wchar_t * |
pfx_file, |
|
|
const wchar_t * |
pfx_password |
|
) |
| |
|
pure virtual |
Sets the pfx file for signing the document with digital signature.
- Parameters
-
| pfx_file | The path of the PFX signature file. |
| pfx_password | The password to open the PFX file. |
- Returns
- true if was set successfully, false otherwise. Sample DigitalSignature