TPDFlibPAdESProcessResult

Data types, security and signatures

Description

Carries the outcome of one PAdES process step back to the public method. Methods that write a file or a stream or that change a process report through Code, methods that return bytes report through Bytes.

TPDFlib declares the public methods and a protected dispatch method for finishing, querying and releasing PAdES processes, and adding a signature time-stamp. The edition class supplies the implementation as a callback, and this record is what that callback returns. 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 a value of this type.

Syntax

Delphi

TPDFlibPAdESProcessResult = record
  Code: Integer;
  Bytes: AnsiString;
  end;

Fields

CodeResult code of the step; its meaning is documented with the public method
BytesAugmented PDF for ppaString, signature hash or CMS bytes for the time-stamp accessors

See also

TPDFlibPAdESProcessExecute, TPDFlibSignatureTimeStampRun, TPDFlibPAdESProcessAction