BuildPAdESSignatureTimeStampAttribute
Security and Signatures
Description
Wraps a DER-encoded RFC 3161 TimeStampToken in a CMS id-aa-signatureTimeStampToken Attribute sequence
This stateless helper is an advanced escape hatch for callers that deliberately rebuild CMS themselves
For the normal PAdES-B-T workflow, use SetPAdESSignatureTimeStampToken so token validation, existing-attribute replacement, DER sorting, and nested length rebuilding remain inside the library
Syntax
Function TPDFlib.BuildPAdESSignatureTimeStampAttribute(
Const TimeStampTokenDER: AnsiString): AnsiString;
Parameters
| TimeStampTokenDER | DER-encoded RFC 3161 TimeStampToken returned by the TSA |
|---|
Returns
The DER-encoded CMS Attribute sequence, or an empty string for empty token input