SignPDF
Introduction
SignPDF connector helps to sign digitally all kinds of PDF with some private key.
Parameters
The required parameters in this connector are :
- Output FileName: the folder and the name of the output signed PDF, eg: '/out/Signed.pdf' , '/work/digSign.pdf' ...
- NB: putting the output signed pdf in out allows to show and download from the exploitation page.
- Key Store: allows uploading a certain key store (containing the key pair: public and private) or selecting one among the already imported key stores.
- Password: the password for recovering the key store.
- Crypto Algorithm: the algorithm used for data encryption.
- Crypto Standard
Other optional parameters that can be used to draw a rectangle containing a block of information, either a text , image or both :
- Position: coordinates of the drawn rectangle split by ';' ( x ; y ; width ; height ), the page is set by default to the last page, 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" ...
- Signature Text: the text to fill in the drawn rectangle.
- Signature image: the image to be inserted.
Example
Let's take a simple case where we create FileListener and SignPDF connectors in one scenario :
we keep the same SignPDF configuration as previously. The connector should draw a rectangle on x = 0 & y = 0, with width = 200 and height = 100, and fill it only with an image (ixpath.png).
if trigger the scenario with a pdf with no signature :
the output PDF will look like this:
The signed pdf will contain the certificate and all information linked to it.