GetSignatureRevisionIndex

安全性與簽章、直接存取功能

描述

回報簽章 ByteRange 結束所在版次的零起算索引

簽章未結束在版次邊界時傳回 -1,代表簽章宣稱涵蓋的範圍內被附加了位元組

語法

Delphi

Function TPDFlib.GetSignatureRevisionIndex(Const InputFile, Password, FieldName: WideString): Integer;

參數

InputFile要檢查的已簽署 PDF 檔案路徑
Password開啟密碼;檔案未加密時為空字串
FieldName所要求版次之簽章的完整限定欄位名稱

傳回值

傳回版次索引;簽章 ByteRange 未結束在版次邊界則為 -1

另見

GetDocumentRevisionCount, GetDocumentRevisionKind, ApplyPAdESLongTermValidation