THotPDF.SignPDFWithPFXAndAttachedPDFMAC Method

建立一個加密的簽署修訂版,其 PDF MAC 同時驗證完整的簽章位元組範圍與原始 CMS 簽章值

宣告

class function SignPDFWithPFXAndAttachedPDFMAC(
  const InputPDFPath, OutputPDFPath, PFXFilePath: string;
  const PFXPassword, PDFPassword: AnsiString;
  const MACOptions: THPDFPDFMACOptions): boolean; static;

輸入需求

輸出保證

使用 ValidatePDFMAC 驗證作用中的 trailer、SigObjRef、簽章欄位綁定、完整位元組範圍覆蓋、文件摘要、簽章摘要與 MAC 驗證