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 once the C call has completed; Pascal exceptions do not cross the OpenSSL callback frame
Cryptographically invalid signatures and untrusted certificate chains normally come back as false fields in THPDFHeadlessCMSResult with details rather than raising this exception