THotPDF.AddPAdESDSSOCSP Method
Adds pad es dss ocsp 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 AddPAdESDSSOCSP(const DERBytes: array of byte): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
DERBytes | 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