A callback interface for signing a PDF document.
More...
#include <pdfsdk/cxx/form_field.h>
|
|
virtual std::string | GetFilter ()=0 |
| | Get the filter for the signature.
|
| |
|
virtual std::string | GetSubFilter ()=0 |
| | Get the subfilter for the signature.
|
| |
| virtual void | FillSigDict (Object dict)=0 |
| | Fill the signature value dictionary with additional entries.
|
| |
|
virtual size_t | GetNumCerts ()=0 |
| | Get the number of certificates.
|
| |
| virtual std::vector< uint8_t > | GetCertData (size_t index)=0 |
| | Get the certificate data at the specified index.
|
| |
|
virtual size_t | EstimateMaxSize ()=0 |
| | Estimate the maximum size of the signature contents.
|
| |
| virtual std::vector< uint8_t > | Sign (const uint8_t *data, size_t size)=0 |
| | Sign the specified data.
|
| |
A callback interface for signing a PDF document.
◆ FillSigDict()
| virtual void PDF::SignHandler::FillSigDict |
( |
Object | dict | ) |
|
|
pure virtual |
Fill the signature value dictionary with additional entries.
- Parameters
-
| dict | The signature dictionary to fill. |
◆ GetCertData()
| virtual std::vector< uint8_t > PDF::SignHandler::GetCertData |
( |
size_t | index | ) |
|
|
pure virtual |
Get the certificate data at the specified index.
Signing certificate should be the first one.
◆ Sign()
| virtual std::vector< uint8_t > PDF::SignHandler::Sign |
( |
const uint8_t * | data, |
|
|
size_t | size ) |
|
pure virtual |
Sign the specified data.
- Parameters
-
| [in] | data | The raw data to sign. |
| [in] | size | The size of the data to sign. |
- Returns
- The signature contents.
The documentation for this class was generated from the following file: