source: trunk/client/inc/hpdf5/spipu/html2pdf/doc/cert.md@ 347

Last change on this file since 347 was 347, checked in by roby, 3 years ago

Aggiornamento per compatibilità con php7.4

File size: 1.1 KB
Line 
1# Electronic Signature
2
3[back](./README.md)
4
5You can add an electronic signature to the PDF, by using the following specific html TAG:
6
7```
8<cert
9 src="/path/to/cert.pem"
10 privkey="/path/to/priv.pem"
11 name="sender_name"
12 location="sender_location"
13 reason="sender_reason"
14 contactinfo="sender_contact"
15>
16/** html **/
17</cert>
18```
19
20Attribute | Description | Example 1 | Example 2
21------------|-----------------------------------|---------------------|-------------------
22src | Path to the Cert | /www/certs/my.pem | /www/certs/my.crt
23privkey | Private key of the Cert if needed | /www/certs/priv.pem | nothing
24name | Name of the Cert | My.org Cert |
25location | Country of the Cert | France |
26reason | Purpose of the Cert | Invoice validation |
27contactinfo | EMail of organisation's contact | contact@my.org |
28
29/** HTML **/
30part could be any HTML formatted string, img, etc...
31
32[back](./README.md)
Note: See TracBrowser for help on using the repository browser.