support for OpenPGP api