Table of Contents

PreparePDFValve

Note

Disassembles a PDF document. The valve sets the following properties on the first item:

  • pdf_data_tbs - The data to be signed
  • pdf_data_content - The document with external sign information ready to be inserted
  • pdf_data_range - A default external signature data range
  • pdf_data_signature_offset - The document offset to extract the signatures
  • pdf_cms_signed_data - Base64 encoded version a temporarily signed version of of the document

This valve can be used in a Remote signing flow.

Properties

Name Description Default value Mandatory Supports property expansion
source The document to sign Yes No
signature_algorithm The algorithm used to signed SHA256withRSA No No

Example Configuration

{
    "name" : "PreparePDFValve",
    "config" : {
        "source" : "{{request.document}}",
        "signature_algorithm": "ED448"
    }
}