function PadesCryptoAvailable: Boolean;
若系統的密碼學 API(例如 Windows CryptoAPI)已成功載入並可用於簽署操作,則傳回 True
SignPades 或 SignPadesWithPdfA)之前,可用此函式檢查簽署前置條件crypt32.dll 是否存在且能解析憑證鏈結
begin
if Pdf1.PadesCryptoAvailable then
ShowMessage('PAdES signature engine is ready');
end;