Add helper for dealing with compliance modes
Add a predicate to check whether we are in a given compliance mode,
and a macro that can be used to check various objects for compliance
with CO_DE_VS without breaking compilation with older versions of
GPGME, and without cluttering the code with preprocessor conditionals.
Signed-off-by: Justus Winter <justus@gnupg.org>
Only generate compliant certificates in CO_DE_VS mode
Tweak the options offered in the key generation wizard so that only
compliant keys can be generated.
Signed-off-by: Justus Winter <justus@gnupg.org>
Integrate compliance information in results if run in CO_DE_VS mode
When decrypting data and verifying signatures, inform the user about
whether or not the operation was VS-compliant if Kleopatra is run in
CO_DE_VS mode.
Signed-off-by: Justus Winter <justus@gnupg.org>