It is hard to imagine our life without electronic document management. Such documents are convenient because they do not deteriorate over time, they are more difficult to lose, easy to store, and quickly transfer to any distance. But as it is known, only signed document comes into force.
Electronic signatures are ciphers that guarantee uniqueness and originality, allowing to establish a definitive authorship and protect the document from changes.
However, signing every generated PDF file can be time-consuming. What if you have a thousand or more generated files — should you sign them manually? Of course not. FastReport VCL can sign the generated files with your signature. Next, we will look into an example of digital signing.
For clarity, we will use a small application that exports files to PDF and signs them.
After writing the program, let's move on to running it.
After starting, click on the "Export" button. Then we get a signed PDF file with a signature file:
We should check whether the PDF file was signed correctly. For this, open the console and enter the following commands:
After we enter the password and check with the following command:
This screenshot shows that the PDF file has passed the signature check, so we did it.
Thus, we got a properly exported PDF file signed using FastReport VCL in a fast and easy way.