SetPAdESSignatureTimeStampField
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
Names the signature field whose CMS signatureValue will receive an RFC 3161 signature-time-stamp unsigned attribute
Syntax
Delphi
Function TPDFlib.SetPAdESSignatureTimeStampField(STSProcessID: Integer; Const SignatureFieldName: WideString): Integer; Virtual;ActiveX
Function PDFlib::SetPAdESSignatureTimeStampField(STSProcessID As Long, SignatureFieldName As String) As LongDLL
int DLSetPAdESSignatureTimeStampField(int InstanceID, int STSProcessID, const wchar_t* SignatureFieldName);
int DLSetPAdESSignatureTimeStampFieldA(int InstanceID, int STSProcessID, const char* SignatureFieldName);
Parameters
| STSProcessID | Value returned by one of the NewPAdESSignatureTimeStampProcessFrom* functions |
|---|---|
| SignatureFieldName | Name of the signature field to augment |
Return values
Returns 1 when the process exists; returns 0 for an invalid process id