14#include "kleo_export.h"
18#include <gpgme++/engineinfo.h>
19#include <gpgme++/key.h>
28KLEO_EXPORT
QString gnupgHomeDirectory();
29KLEO_EXPORT
QString gnupgPrivateKeysDirectory();
31KLEO_EXPORT
QString gpgConfPath();
35KLEO_EXPORT
QString gpgConfListDir(
const char *which);
36KLEO_EXPORT
QString gpg4winInstallPath();
37KLEO_EXPORT
QString gnupgInstallPath();
38KLEO_EXPORT
const QString &paperKeyInstallPath();
53KLEO_EXPORT
bool gpgvVerify(
const QString &filePath,
const QString &sigPath = {},
const QString &keyring = {},
const QStringList &additionalSearchPaths = {});
66KLEO_EXPORT
int makeGnuPGError(
int code);
68KLEO_EXPORT
bool engineIsVersion(
int major,
int minor,
int patch, GpgME::Engine = GpgME::GpgConfEngine);
80KLEO_EXPORT
bool haveKeyserverConfigured();
96KLEO_EXPORT
bool haveX509DirectoryServerConfigured();
99KLEO_DEPRECATED_EXPORT
bool gpgComplianceP(
const char *mode);
104KLEO_DEPRECATED_EXPORT
bool gnupgUsesDeVsCompliance();
109KLEO_DEPRECATED_EXPORT
bool gnupgIsDeVsCompliant();
118KLEO_EXPORT
bool versionIsAtLeast(
const char *minimum,
const char *actual);
130enum LaunchGpgAgentOptions {
131 CheckForRunningAgent,
132 SkipCheckForRunningAgent,
140KLEO_EXPORT
void launchGpgAgent(LaunchGpgAgentOptions options = CheckForRunningAgent);
143KLEO_EXPORT
void restartGpgAgent();
148KLEO_EXPORT
const std::vector<std::string> &availableAlgorithms();
153KLEO_EXPORT
const std::vector<std::string> &preferredAlgorithms();
158KLEO_EXPORT
const std::vector<std::string> &ignoredAlgorithms();
163KLEO_EXPORT std::vector<QByteArray> readSecretKeyFile(
const QString &keyGrip);
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:02:18 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.