function SignPades(const FileName: string; const Options: TPadesSignOptions): Boolean; overload;
function SignPades(const FileName: string; const Thumbprint: string): Boolean; overload;
Appends an incremental digital signature update to the PDF document, generating a PAdES B-B or B-T compliant signature dictionary
The method supports both advanced certificate configuration records and simple SHA-1 hex thumbprints mapping to the Windows Current User 'MY' store
Options.FieldOptions can add required seed values, allowed reasons and legal attestations, acceptable signer certificates, field locks, and approval or certification transform parameters
| FileName | The target path where the signed PDF will be saved |
| Options | The signature details structure containing certificate data, timestamps, commitment options, security levels, and field constraints |
| Thumbprint | SHA-1 hex thumbprint string of the certificate from the local Windows store |
Active to be True and valid cryptographic libraries to be present on the systemmessageImprint match the request, the CMS signer structure is complete, and DER time and integer encodings are canonical/Annots array and the AcroForm /Fields arrayCertificationPermission accepts 1, 2, or 3 and rejects a second certification signatureLockAction creates matching /Lock and FieldMDP constraints
begin
if not Pdf1.Active then Exit;
Pdf1.SignPades('signed.pdf', 'a1b2c3d4e5f678901234567890abcdef12345678');
end;