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 the complete supplied revocation evidence without touching a document

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

This function has no detached content parameter and so 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, whilst cancellation preserves EHPDFOperationCancelled