21 d.
set( FILE.data(), p );
28 d.
set( FILE.data(), p );
36 , _label(
std::move(label) )
63 d.
set( FILE.data(), file_r );
65 d.
set( KEY_CONTEXT.data(), keycontext );
72 d.
set( FILE.data(), file );
73 d.
set( KEY_CONTEXT.data(), keycontext );
81 d.
set( FILE.data(), file );
82 d.
set( KEY_CONTEXT.data(), keycontext );
89 d.
set( KEY.data(), key );
90 d.
set( FILE.data(), file );
91 d.
set( KEY_CONTEXT.data(), keycontext );
98 d.
set( KEY.data(), key_r );
99 d.
set( KEY_CONTEXT.data(), keycontext_r );
114 d.
set( KEY_DATA.data(), keySigning_r );
115 d.
set( KEY_CONTEXT.data(), keyContext_r );
Class representing one GPG Public Keys data.
Class representing one GPG Public Key (PublicKeyData + ASCII armored in a tempfile).
Typesafe passing of user data via callbacks.
bool set(const std::string &key_r, AnyType val_r)
Set the value for key (nonconst version always returns true).
void setChoice(const KeyTrust sel)
const std::string label() const
UserRequestType type() const override
UserData makeData(const std::string &file, const zypp::PublicKey &key, const zypp::KeyContext &keycontext=zypp::KeyContext())
constexpr std::string_view KEY("key")
UserData makeData(const zypp::PublicKey &key, const zypp::KeyContext &keycontext=zypp::KeyContext())
constexpr std::string_view KEY_CONTEXT("key-context")
UserData makeData(const zypp::Pathname &p)
constexpr std::string_view CTYPE("digest/accept-no-digest")
constexpr std::string_view FILE("file")
UserData makeData(const zypp::PublicKey &key_r, const zypp::KeyContext &keycontext_r=zypp::KeyContext())
UserData makeData(const zypp::Pathname &p, const std::string &name)
constexpr std::string_view NAME("name")
UserData makeData(const std::string &file, const std::string &id, const zypp::KeyContext &keycontext=zypp::KeyContext())
constexpr std::string_view KEYID("keyid")
UserData makeData(const std::string &file, const zypp::KeyContext &keycontext=zypp::KeyContext())
UserData makeData(const zypp::Pathname &p, const std::string &requested, const std::string &found)
constexpr std::string_view NAME_FOUND("found")
constexpr std::string_view NAME_REQUESTED("requested")
constexpr std::string_view KEY_DATA_LIST("key-data-list")
UserData makeData(const std::list< zypp::PublicKeyData > &keyDataList_r, const zypp::PublicKeyData &keySigning_r, const zypp::KeyContext &keyContext_r)
constexpr std::string_view KEYS("keys")
UserData makeData(const std::set< zypp::Edition > &keys_r)
UserData makeData(const std::string &file_r, const zypp::PublicKeyData &keyData_r, const zypp::KeyContext &keycontext=zypp::KeyContext())
constexpr std::string_view KEY_DATA("key-data")
#define ZYPP_IMPL_PRIVATE_CONSTR_ARGS(Class,...)