#include <PdfSignOutputDevice.h>
Inheritance diagram for PoDoFo::PdfSignOutputDevice:
Public Member Functions | |
virtual void | SetSignatureSize (size_t lSignatureSize) |
virtual size_t | GetSignatureSize () const |
virtual const PdfData * | GetSignatureBeacon () const |
virtual void | AdjustByteRange () |
virtual size_t | ReadForSignature (char *pBuffer, size_t lLen) |
virtual void | SetSignature (const PdfData &sigData) |
virtual size_t | GetLength () const |
virtual void | Print (const char *pszFormat,...) |
virtual void | Write (const char *pBuffer, size_t lLen) |
virtual size_t | Read (char *pBuffer, size_t lLen) |
virtual void | Seek (size_t offset) |
virtual size_t | Tell () const |
virtual void | Flush () |
Class is used to locate place for signature in the stream. Usage: 1. Locate signature and adjust ByteRange 2. Generate signature 3. Insert new signature
|
Modify ByteRange entry according to signature position |
|
Flush the output files buffer to disk if this devices operates on a disk. Reimplemented from PoDoFo::PdfOutputDevice. |
|
The number of bytes written to this object.
Reimplemented from PoDoFo::PdfOutputDevice. |
|
Return signature beacon |
|
Get expected size of signature. If reserved size if zero no signatures will be added.
|
|
Write to the PdfOutputDevice. Usage is as the usage of printf. WARNING: Do not use this for doubles or floating point values as the output might depend on the current locale.
Reimplemented from PoDoFo::PdfOutputDevice. |
|
Read data from the device
Reimplemented from PoDoFo::PdfOutputDevice. |
|
Read data for signature |
|
Seek the device to the position offset from the begining
Reimplemented from PoDoFo::PdfOutputDevice. |
|
Embed real signature in the PDF |
|
Set string to lookup for
|
|
Get the current offset from the beginning of the file.
Reimplemented from PoDoFo::PdfOutputDevice. |
|
Write data to the buffer. Use this call instead of Print if you want to write binary data to the PdfOutputDevice.
Reimplemented from PoDoFo::PdfOutputDevice. |