THotPDF.SignPDFWithSystemCertificate Method

Tóm tắt phương thức: THotPDF.SignPDFWithSystemCertificate Method

Khai báo

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;

Đơn vị

HPDFDoc

Tham số

TênMục đích
InputPDFPathSource PDF file path
OutputPDFPathDestination path for the signed PDF
SelectorCertificate-store selector used to choose the signing certificate
OptionsCMS signing options controlling the digest, signature metadata, timestamp, and related policy
InputStreamSource stream positioned at the beginning of the PDF
OutputStreamDestination stream that receives the signed PDF

Giá trị trả về

Returns True when the certificate is found and the signed PDF is written successfully

Ghi chú sử dụng

API liên quan