While waiting for Andre's input on the other task, I started looking into TOFU support. Since TOFU needs to be globally enabled in a config file, I'd like to have an official API for that in gnupg-related library rather than having a code that deals with other application's configuration file hidden somewhere in a random PIM library or app.
This patch adds a simple API to check if TOFU model is supported, enabled and to enable/disable it.
Maybe we could eventually upstream this to gpgme, but for now this should do just fine.