EndPAdESDSSProcessToFile

Security and Signatures

Description

Writes the augmented PDF (source + incremental DSS update) to the specified file path. Also auto-injects /Extensions /ESIC <</BaseVersion /1.7 /ExtensionLevel 1>> per ETSI EN 319 142-1 v1.2.1 §5.6 when missing.

Returns 1 on success, 2 if the input file vanished, 3 if the input PDF cannot be parsed, 10 if the output could not be written, or 11 if the catalog was missing and DSS could not be added.

Syntax

Delphi

function TPDFlib.EndPAdESDSSProcessToFile(DSSProcessID: Integer; Const OutputFile: WideString): Integer;

Parameters

DSSProcessIDValue returned by one of the NewPAdESDSSProcessFrom* functions.
OutputFileDestination path for the augmented PDF.