TPDFlibSignProcessLTVRun
Data types, security and signatures
Description
Runs one long-term validation step on a signing process for the sign process methods.
TPDFlib declares the public methods and a protected dispatch method for the long-term validation steps on a signing process. 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
TPDFlibSignProcessLTVRun = Function(Action: TPDFlibSignProcessLTVAction;
SignProcess: TPDFlibSignProcess; Const DER: AnsiString; SignatureLength: Integer): Integer Of Object;Parameters
| Action | Step to run: slaAddCRL, slaAddOCSP, slaClearRevocation or slaDocumentTimeStamp |
|---|---|
| SignProcess | Identifier returned by one of the NewSignProcess methods |
| DER | DER-encoded CRL for slaAddCRL or OCSP response for slaAddOCSP; empty for the other actions |
| SignatureLength | Size to reserve for the time-stamp token for slaDocumentTimeStamp, 0 for the 8192-byte default; 0 for the other actions |
Return values
| 1 | The step succeeded, or the material was already present |
|---|---|
| 0 | The process identifier or the supplied data was invalid, or the step failed |
See also
TPDFlibSignProcessLTVAction, AddSignProcessRevocationCRL, SetSignProcessDocTimeStamp