EHPDFHeadlessCMSError
This exception reports malformed CMS, invalid ranges, verification or signing budgets, missing OpenSSL 3 runtime support, source-read failures, invalid PEM input, and cancellation
Exceptions raised during stream callbacks are captured before returning to OpenSSL and raised after the C call completes; Pascal exceptions do not cross the OpenSSL callback frame
Cryptographically invalid signatures and untrusted certificate chains normally return false fields in THPDFHeadlessCMSResult with details rather than raising this exception