HPDFValidateHeadlessLTVEvidence

function HPDFValidateHeadlessLTVEvidence(const CMSDER: TBytes;
  const Evidence: THPDFHeadlessLTVEvidence;
  const Options: THPDFHeadlessLTVOptions): THPDFHeadlessLTVResult;

Authenticates CMS signed attributes and signer signatures, signature timestamp imprints and TSA chains, signer chains, and complete supplied revocation evidence without editing a document

CMSDER may contain trailing zero bytes from a PDF Contents reservation; nonzero trailing bytes are rejected

This function has no detached content parameter and therefore cannot authenticate the CMS content digest against a PDF ByteRange; call HPDFVerifyHeadlessCMS separately or use AddSignatureValidationEvidence, which performs full PDF signature verification first

Returns verified chains and counts on success; malformed, unauthenticated, untrusted, revoked, stale, incomplete, or over-budget evidence raises EHPDFHeadlessLTVError, while cancellation preserves EHPDFOperationCancelled