Wiki source code of SignPDF
Version 7.20 by Outhman Moustaghfir on 2022/01/03 15:46
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | == Introduction == | ||
2 | |||
3 | SignPDF connector helps to sign digitally all kinds of PDF with some private key. | ||
4 | |||
5 | [[image:2022-01-03_11h41_18.png||height="116" width="89"]] | ||
6 | |||
7 | == Parameters == | ||
8 | |||
9 | The required parameters in this connector are : | ||
10 | |||
11 | * **Output FileName**: the folder and the name of the output signed PDF, eg: '/out/Signed.pdf' , '/work/digSign.pdf' ... | ||
12 | ** __//NB//:__ putting the output signed pdf in out allows to show and download from the exploitation page. | ||
13 | * **Private Key**: allows uploading a certain private key or selecting some key among the already imported ones. | ||
14 | * **Password**: the password for recovering the key. | ||
15 | * **Crypto Algorithm: **the algorithm used for data encryption. | ||
16 | * **Crypto Standard ** | ||
17 | |||
18 | Other optional parameters that can be used to draw a rectangle containing a block of information : | ||
19 | |||
20 | * **Position**: coordinates of the drawn rectangle split by ';' ( **//x ; y ; width ; height//** ), the page is set by default to 1, but if the page must be specified, it can be added at the position coordinates like ( **//x ; y ; width ; height//** //**; page**//), eg : "22;22;300 ;450 ; 2" or "5;0;70 ;130" ... | ||
21 | * **Signature Text: ** the text to fill in the drawn rectangle. | ||
22 | * **Signature image** | ||
23 | |||
24 | [[image:2022-01-03_15h25_50.png||height="405" width="293"]] | ||
25 | |||
26 | == Example == | ||
27 | |||
28 | Let's take a simple case where we create FileListener and SignPDF connectors in one scenario : | ||
29 | |||
30 | [[image:2022-01-03_15h03_57.png]] | ||
31 | |||
32 | if trigger the scenario with a pdf with no signature : | ||
33 | |||
34 | (% class="box" %) | ||
35 | ((( | ||
36 | ##__[[image:2022-01-03_15h26_57.png||class="img-rounded" height="357" width="254"]]__ the output PDF will look like this: ## | ||
37 | ))) | ||
38 | |||
39 | the output | ||
40 | |||
41 |