TPDFlibPAdESProcessAction

Data types, security and signatures

Description

Selects what a dispatched call does with an existing PAdES process. The value travels with the Action parameter of the TPDFlibPAdESProcessExecute callback; together with TPDFlibPAdESProcessKind it names the public method.

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, and this value tells the callback which public method is calling. 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 passes a value of this type.

Syntax

Delphi

type TPDFlibPAdESProcessAction = (ppaFile, ppaStream, ppaString, ppaResult, ppaRelease);

Values

ppaFileWrites the augmented PDF to a file; the operation behind EndPAdESDSSProcessToFile and EndPAdESSignatureTimeStampProcessToFile
ppaStreamWrites the augmented PDF to a stream; the operation behind EndPAdESDSSProcessToStream and EndPAdESSignatureTimeStampProcessToStream
ppaStringReturns the augmented PDF as bytes; the operation behind EndPAdESDSSProcessToString and EndPAdESSignatureTimeStampProcessToString
ppaResultReturns the last result code of the process; the operation behind GetPAdESDSSProcessResult and GetPAdESSignatureTimeStampProcessResult
ppaReleaseRemoves the process from the instance; the operation behind ReleasePAdESDSSProcess and ReleasePAdESSignatureTimeStampProcess

See also

TPDFlibPAdESProcessExecute, TPDFlibPAdESProcessResult, TPDFlibPAdESProcessKind, EndPAdESDSSProcessToFile