Table of Contents

AssemblePDFValve

Note

The valve assembles the contents inserted into the valve, along with the detached signature, and creates a signed PDF and adds it to the first item.

This valve can be used in a Remote signing flow.

Properties

Name Description Default value Mandatory Supports property expansion
content The PDF content Yes Yes
offset The signature offset Yes No
signature The detached signature to be added to the PDF Yes No
range The signature range Yes No
signed_data The signed data Yes No
cert_chain The certificate trust chain to the detached signature Yes No
tbs Data to be signed Yes No
dest The destination key on the item result No No

Example Configuration

{
    "name" : "AssemblePDFValve",
    "config" : {
        "content" : "{{session.sign_content}}",
        "offset" : "{{session.sign_signature_offset}}",
        "signature" : "{{item.sign_value}}",
        "range" : "{{session.sign_range}}",
        "signed_data" : "{{session.signed_data}}",
        "cert_chain" : "signature_certificates",
        "tbs" : "{{item.sign_tbs}}",
        "dest" : "my_doc"
    }
}