THPDFHeadlessSecurityFailure
This enum in HPDFHeadlessSecurity identifies the reason reported by EHPDFHeadlessSecurityError
hsUnsupportedHandler: an unsupported security revision or crypt-filter policyhsMalformedDictionary: missing, indirect, mistyped or invalid-length security entrieshsInvalidPassword: neither user nor owner authentication succeededhsInvalidPermissions: encrypted Perms disagrees with the permission mask or metadata policyhsInvalidPayload: incomplete AESV3 IV, invalid block length or invalid paddinghsPermissionDenied: the authenticated user lacks the requested operation permission