SetSignProcessReserveContentsBytes

安全與簽章

描述

為簽署程序寫入的簽章 /Contents 預留位置加入額外的保留位元組

語法

Delphi

Function TPDFlib.SetSignProcessReserveContentsBytes(SignProcessID, ExtraBytes: Integer): Integer;

參數

SignProcessID任一 NewSignProcessFrom* 函式傳回的值。
ExtraBytes額外的預留位置容量。小於等於零的值會清除額外保留量。

傳回值

簽署程序存在時傳回 1;process id 無效時傳回 0

備註

若後續流程要附加 CMS 未簽署屬性(例如簽章時間戳記權杖),請在 EndSignProcessTo* 之前使用。保留空間不足時,後續增強可能以結果代碼 13 失敗。

另見

SetPAdESSignatureCMSBytes, EndPAdESSignatureTimeStampProcessToFile