THotPDF.RenewPAdESLTATimestamp Method
Extends a PAdES-LTA archive timestamp chain through a transactional incremental update
Declaration
class function RenewPAdESLTATimestamp(const InputPDFPath, OutputPDFPath: string; const GetDocumentTimeStamp: THPDFCMSTimestampCallback; ContentsBytes: Integer= 16384): boolean; overload;
class function RenewPAdESLTATimestamp(const InputPDFPath, OutputPDFPath: string; const GetDocumentTimeStamp: THPDFCMSTimestampCallback; DigestAlgorithm: THPDFCMSDigestAlgorithm; ContentsBytes: Integer= 16384): boolean; overload;
class function RenewPAdESLTATimestamp(const InputPDFPath, OutputPDFPath: string; const GetDocumentTimeStamp: THPDFCMSTimestampCallback; const Evidence: THPDFPAdESLTAEvidence; ContentsBytes: Integer= 16384): boolean; overload;
class function RenewPAdESLTATimestamp(const InputPDFPath, OutputPDFPath: string; const GetDocumentTimeStamp: THPDFCMSTimestampCallback; const Evidence: THPDFPAdESLTAEvidence; DigestAlgorithm: THPDFCMSDigestAlgorithm; ContentsBytes: Integer= 16384): boolean; overload;
Evidence
THPDFPAdESLTAEvidence carries Certificates, OCSPResponses, and CRLs as arrays of DER byte arrays
Usage notes
- The compatibility overload uses SHA-256, while the digest overload accepts SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-384, or SHA3-512
- Evidence is appended to the existing DSS before the new document timestamp is created, so the timestamp byte range seals the extended validation material
- Existing DSS arrays are reused and exact duplicate DER values are referenced once across successive incremental revisions
- The callback receives the selected digest of the new PDF byte ranges
- The returned TimeStampToken must contain the same digest OID and message-imprint bytes
- SHA3 renewal declares the ISO 32001 PDF 2.0 developer extension in the appended revision
- Every earlier source byte, signature, timestamp, and DSS revision remains byte-identical
- Increase
ContentsByteswhen a TSA returns a large certificate chain