THotPDF.AddPAdESDSSVRI Method
Adds pad es dss vri 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
function AddPAdESDSSVRI(const SignatureContentsHex: AnsiString; const CertDERs: array of TBytes; const OCSPDERs: array of TBytes; const CRLDERs: array of TBytes): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
SignatureContentsHex | Human-readable text stored in the PDF object, action, annotation, or structure element |
CertDERs | Raw byte payload embedded or validated by this API |
OCSPDERs | Raw byte payload embedded or validated by this API |
CRLDERs | Raw byte payload embedded or validated by this API |
Return value
Returns an Integer value
Usage notes
- Use this API in the digital signature and PAdES workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised
- Reserve signature space before inserting external CMS or timestamp bytes, and keep byte ranges stable after preparation