TPDFlibPAdESProcessExecute

Data types, security and signatures

Description

Finishes, queries or releases one PAdES process for the End, GetResult and Release methods.

TPDFlib declares the public methods and a protected dispatch method for finishing, querying and releasing PAdES processes. The edition class supplies the implementation as a callback of this type. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_ENTERPRISE_REQUIRED. Application code never declares, assigns or calls a value of this type.

Syntax

Delphi

TPDFlibPAdESProcessExecute = Function(Action: TPDFlibPAdESProcessAction;
  ProcessID: Integer; Const OutputFile: WideString;
  OutputStream: TStream): TPDFlibPAdESProcessResult Of Object;

Parameters

ActionStep to run on the process: ppaFile, ppaStream, ppaString, ppaResult or ppaRelease
ProcessIDIdentifier returned by one of the NewPAdES process methods
OutputFileDestination path for ppaFile; empty for the other actions
OutputStreamCaller-owned destination stream for ppaStream; Nil for the other actions

Return values

`

See also

TPDFlibPAdESProcessAction, TPDFlibPAdESProcessResult, TPDFlibPAdESProcessCreate, EndPAdESDSSProcessToFile, ReleasePAdESDSSProcess