THotPDF.AddXFASignaturePacket Method
Adds xfa signature packet data to the digital signature and PAdES workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps
Declaration
procedure AddXFASignaturePacket(const XAdESBytes: TBytes);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
XAdESBytes | Raw byte payload embedded or validated by this API |
Return value
This member does not return a value
Usage notes
- Use this API in the digital signature and PAdES workflow before the affected page, resource, field, or catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized
- Reserve signature space before inserting external CMS or timestamp bytes, and keep byte ranges stable after preparation
- XFA workflows are rejected by PDF/A and PDF/X conformance modes, so flatten or remove packets before strict archival output