34#ifndef __QGPGME_UTIL_H__
35#define __QGPGME_UTIL_H__
50static inline gpgme_error_t make_error(gpgme_err_code_t code)
52 return gpgme_err_make((gpgme_err_source_t)22, code);
55std::vector<std::string> toStrings(
const QStringList &l);
57QStringList toFingerprints(
const std::vector<GpgME::Key> &keys);
60std::string toLogString(
const Result &result)
62 std::stringstream stream;