EndPAdESSignatureTimeStampProcessToFile
Security and Signatures
Requires the Enterprise edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibEnterprise (unit PDFlibEnterprise); the Enterprise DLL and ActiveX builds provide it unchanged; other editions keep the method, which returns 0, an empty string or False and sets LastErrorCode to 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)
Description
Applies the staged augmented CMS bytes and writes the timestamped PDF to a file
Syntax
Delphi
Function TPDFlib.EndPAdESSignatureTimeStampProcessToFile(STSProcessID: Integer; Const OutputFile: WideString): Integer; Virtual;ActiveX
Function PDFlib::EndPAdESSignatureTimeStampProcessToFile(STSProcessID As Long, OutputFile As String) As LongDLL
int DLEndPAdESSignatureTimeStampProcessToFile(int InstanceID, int STSProcessID, const wchar_t* OutputFile);
int DLEndPAdESSignatureTimeStampProcessToFileA(int InstanceID, int STSProcessID, const char* OutputFile);
Parameters
| STSProcessID | Value returned by one of the NewPAdESSignatureTimeStampProcessFrom* functions |
|---|---|
| OutputFile | Destination PDF file |
Return values
Returns the process result code from the apply operation, or 0 for an invalid process id
See also
GetPAdESSignatureTimeStampProcessResult, ReleasePAdESSignatureTimeStampProcess