14#include "kleo_export.h"
18#include <gpgme++/engineinfo.h>
19#include <gpgme++/key.h>
27KLEO_EXPORT
QString gnupgHomeDirectory();
28KLEO_EXPORT
QString gnupgPrivateKeysDirectory();
30KLEO_EXPORT
QString gpgConfPath();
34KLEO_EXPORT
QString gpgConfListDir(
const char *which);
35KLEO_EXPORT
QString gpg4winInstallPath();
36KLEO_EXPORT
QString gnupgInstallPath();
37KLEO_EXPORT
const QString &paperKeyInstallPath();
52KLEO_EXPORT
bool gpgvVerify(
const QString &filePath,
const QString &sigPath = {},
const QString &keyring = {},
const QStringList &additionalSearchPaths = {});
65KLEO_EXPORT
int makeGnuPGError(
int code);
67KLEO_EXPORT
bool engineIsVersion(
int major,
int minor,
int patch, GpgME::Engine = GpgME::GpgConfEngine);
79KLEO_EXPORT
bool haveKeyserverConfigured();
95KLEO_EXPORT
bool haveX509DirectoryServerConfigured();
98KLEO_DEPRECATED_EXPORT
bool gpgComplianceP(
const char *mode);
103KLEO_DEPRECATED_EXPORT
bool gnupgUsesDeVsCompliance();
108KLEO_DEPRECATED_EXPORT
bool gnupgIsDeVsCompliant();
117KLEO_EXPORT
bool versionIsAtLeast(
const char *minimum,
const char *actual);
124enum LaunchGpgAgentOptions {
125 CheckForRunningAgent,
126 SkipCheckForRunningAgent,
130KLEO_EXPORT
void launchGpgAgent(LaunchGpgAgentOptions options = CheckForRunningAgent);
133KLEO_EXPORT
void restartGpgAgent();
138KLEO_EXPORT
const std::vector<std::string> &availableAlgorithms();
143KLEO_EXPORT
const std::vector<std::string> &preferredAlgorithms();
148KLEO_EXPORT
const std::vector<std::string> &ignoredAlgorithms();
153KLEO_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 Mon Nov 4 2024 16:29:01 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.