SetaPDF_Signer_TmpDocument Class for handling an intermediate version of the document that shoudl be signed.
File: /SetaPDF v2/Signer/TmpDocument.php
This class is used for an asyncron signature flow. Otherwise it is used internally.
Document identification related data
The writer instance for the 2nd temporary file, that represents the data to hash
The file writer for the temporary version
The $writer parameter is optional and can be used in an asyncron workflow to have control over the temporary version of the document.
- $writer : SetaPDF_Core_Writer_FileInterface
Checks whether the document instance matches this temporary version.
The checks are done by the instance identification of the class instance frist. If this does not match, because of an asyncron workflow the document identifications are compared.
- $document : SetaPDF_Core_Document