THotPDF.SignPDFWithSystemCertificate Method

方法摘要: THotPDF.SignPDFWithSystemCertificate Method

宣告

class function SignPDFWithSystemCertificate(const InputPDFPath, OutputPDFPath: string; const Selector: THPDFCertificateStoreSelector; const Options: THPDFCMSSignOptions): boolean; overload; static;
class function SignPDFWithSystemCertificate(InputStream, OutputStream: TStream; const Selector: THPDFCertificateStoreSelector; const Options: THPDFCMSSignOptions): boolean; overload; static;

單元

HPDFDoc

參數

名稱用途
InputPDFPath來源 PDF 檔案路徑
OutputPDFPath簽署後 PDF 的目的路徑
Selector用來選擇簽署憑證的憑證儲存區選擇器
OptionsCMS 簽署選項,控制摘要、簽章中繼資料、時間戳記與相關政策
InputStream定位在 PDF 開頭的來源串流
OutputStream接收簽署 PDF 的目的串流

傳回值

找到憑證且簽署 PDF 寫入成功時傳回 True

使用說明

相關 API