THPDFHeadlessRecipientIdentity Record

A single PKCS#12 recipient identity handed to the headless loader for public-key encrypted documents

THPDFHeadlessRecipientIdentity = record
  PFXBytes: SysUtils.TBytes;
  Password: AnsiString;
end;

PFXBytes holds one PKCS#12 buffer and Password opens it; the bytes are parsed in-process and the derived key material is cleared once the envelopes have unwrapped

THPDFHeadlessDocument.LoadFromFile accepts an array of these records for Adobe.PubSec documents, and the identities remain on the document for later authenticated copies and signatures

The Linux C ABI carries the same identity through hpdf_document_supply_recipient_identity ahead of hpdf_document_load_from_io

LoadFromFile · Public-Key Encrypted Document Reload