EndPAdESSignatureTimeStampProcessToFileA
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
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to EndPAdESSignatureTimeStampProcessToFile and string arguments are interpreted using the current SetAnsiMode code page
Applies the staged augmented CMS bytes and writes the timestamped PDF to a file
Syntax
Delphi
Function DLEndPAdESSignatureTimeStampProcessToFileA(InstanceID: Integer; STSProcessID: Integer; OutputFile: PAnsiChar): Integer;
DLL
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