13#include "kleo_export.h"
14#include <gpgme++/key.h>
25class KLEO_EXPORT KeyParameters
35 explicit KeyParameters(Protocol protocol);
38 KeyParameters(
const KeyParameters &other);
39 KeyParameters &operator=(
const KeyParameters &other);
41 KeyParameters(KeyParameters &&other);
42 KeyParameters &operator=(KeyParameters &&other);
44 Protocol protocol()
const;
46 void setKeyType(GpgME::Subkey::PubkeyAlgo type);
47 GpgME::Subkey::PubkeyAlgo keyType()
const;
48 void setCardKeyRef(
const QString &cardKeyRef);
50 void setKeyLength(
unsigned int length);
51 unsigned int keyLength()
const;
52 void setKeyCurve(
const QString &curve);
54 void setKeyUsage(
const KeyUsage &usage);
55 KeyUsage keyUsage()
const;
57 void setSubkeyType(GpgME::Subkey::PubkeyAlgo type);
58 GpgME::Subkey::PubkeyAlgo subkeyType()
const;
59 void setSubkeyLength(
unsigned int length);
60 unsigned int subkeyLength()
const;
61 void setSubkeyCurve(
const QString &curve);
63 void setSubkeyUsage(
const KeyUsage &usage);
64 KeyUsage subkeyUsage()
const;
66 void setExpirationDate(
const QDate &date);
67 QDate expirationDate()
const;
69 void setName(
const QString &name);
71 void setComment(
const QString &comment);
75 void setEmail(
const QString &email);
76 void addEmail(
const QString &email);
77 std::vector<QString> emails()
const;
78 void addDomainName(
const QString &domain);
79 std::vector<QString> domainNames()
const;
80 void addURI(
const QString &uri);
81 std::vector<QString> uris()
const;
87 std::unique_ptr<Private> d;
char * toString(const EngineQuery &query)
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.