Add security headers


We designate everything that implements a protocol interface as
critical, since this will be the classes exposed to arbitrary
client data.

Anything else is considered inside the trust boundary and thus
default security score.

Pick-to: 6.8 6.11 6.12
Change-Id: Ia039a70f5d2f1d8209306525c8c1e43fba7b742d
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
commite52b87a0d27569fa23c924e6e83bce9cd9c62250
parentd0469220d2d76f41f2e72d5f91c4b9d8abe82e88
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit timeFri, 5 Jun 2026 12:34:28 +0000