function RenewPadesArchiveTimestamp(const FileName: string; const Options: TPadesArchiveTimestampOptions; out Report: TPadesArchiveTimestampReport): Boolean;
function RenewPadesArchiveTimestampToStream(Stream: TStream; const Options: TPadesArchiveTimestampOptions; out Report: TPadesArchiveTimestampReport): Boolean;
Reads the exact original file, memory buffer, custom stream, or completed progressive source retained by the active component and appends an incremental RFC 3161 Document Time-stamp whose ByteRange covers every prior revision
When UpdateDss is True, the supplied complete certificate, OCSP, CRL, and VRI material is appended before the timestamp so the returned token protects the refreshed long-term validation state
The output is written only after the appended field is discoverable and structural validation reports PAdES B-LTA
| FileName | Destination path written from a fully staged result |
| Stream | Destination stream cleared and filled only after successful renewal |
| Options | TSA URL, nonce, token capacity, and optional complete DSS replacement material |
| Report | Source and result levels, timestamp counts, byte lengths, DSS update state, generation time, policy OID, and nonce |
Active to be True and TsaUrl to name an available RFC 3161 serviceUpdateDss is TrueDssOptions must contain every certificate and validation item that must remain availableContentsSize is clamped to at least 1024 bytes and limited to 16 MiB
var
Options: TPadesArchiveTimestampOptions;
Report: TPadesArchiveTimestampReport;
begin
Options := TPadesArchiveTimestampOptions.Default;
Options.TsaUrl := 'https://tsa.example.test';
Options.Nonce := 42;
if Pdf1.RenewPadesArchiveTimestamp('renewed.pdf', Options, Report) then
ShowMessage(Format('%d archival timestamps', [Report.ResultDocTimeStampCount]));
end;