THotPDF.RenewPAdESLTATimestamp Method
Appends a new RFC 3161 document timestamp through a transactional incremental update
声明
class function RenewPAdESLTATimestamp(const InputPDFPath, OutputPDFPath: string; const GetDocumentTimeStamp: THPDFCMSTimestampCallback; ContentsBytes: Integer= 16384): boolean;
证据
THPDFPAdESLTAEvidence 以 DER 字节数组的数组形式携带 Certificates、OCSPResponses 和 CRLs
使用说明
- 兼容重载使用 SHA-256;摘要重载接受 SHA-256、SHA-384、SHA-512、SHA3-256、SHA3-384 或 SHA3-512
- 证据在创建新文档时间戳之前追加到既有 DSS,因此时间戳字节范围会封住扩展验证材料
- 既有 DSS 数组会被复用,完全重复的 DER 值在连续增量修订中只被引用一次
- 回调接收新 PDF 字节范围的所选摘要
- The callback receives the SHA-256 digest of the new PDF byte ranges
- The returned TimeStampToken must contain the same SHA-256 message imprint
- Earlier source bytes, signatures, timestamps, and DSS evidence remain unchanged
- Increase
ContentsByteswhen a TSA returns a large certificate chain