#include <zypp/ng/userrequest.h>
|
| ZYPP_DECL_PRIVATE_CONSTR_ARGS (TrustKeyRequest, std::string label, KeyTrust trust=KEY_DONT_TRUST, UserData userData={}) |
void | setChoice (const KeyTrust sel) |
KeyTrust | choice () const |
const std::string | label () const |
UserRequestType | type () const override |
| UserRequest (UserData userData={}) |
| ~UserRequest () override |
const UserData & | userData () const |
UserData & | userData () |
| Base () |
virtual | ~Base () |
WeakPtr | parent () const |
void | addChild (const Base::Ptr &child) |
void | removeChild (const Ptr &child) |
const std::unordered_set< Ptr > & | children () const |
std::thread::id | threadId () const |
template<typename T> |
std::vector< std::weak_ptr< T > > | findChildren () const |
template<typename T> |
std::shared_ptr< T > | shared_this () const |
template<typename T> |
std::shared_ptr< T > | shared_this () |
template<typename T> |
std::weak_ptr< T > | weak_this () const |
template<typename T> |
std::weak_ptr< T > | weak_this () |
template<typename SenderFunc, typename ReceiverFunc> |
auto | connect (SenderFunc &&sFun, typename internal::MemberFunction< ReceiverFunc >::ClassType &recv, ReceiverFunc &&rFunc) |
template<typename SenderFunc, typename ReceiverFunc, typename ... Tracker> |
std::enable_if_t< std::is_member_function_pointer_v< SenderFunc >, connection > | connectFunc (SenderFunc &&sFun, ReceiverFunc &&rFunc, const Tracker &...trackers) |
|
template<typename Obj, typename Functor> |
static decltype(auto) | make_base_slot (Obj *o, Functor &&f) |
template<typename SenderFunc, typename ReceiverFunc> |
static auto | connect (typename internal::MemberFunction< SenderFunc >::ClassType &s, SenderFunc &&sFun, typename internal::MemberFunction< ReceiverFunc >::ClassType &recv, ReceiverFunc &&rFunc) |
template<typename SenderFunc, typename ReceiverFunc, typename ... Tracker> |
static auto | connectFunc (typename internal::MemberFunction< SenderFunc >::ClassType &s, SenderFunc &&sFun, ReceiverFunc &&rFunc, const Tracker &...trackers) |
| Base (BasePrivate &dd) |
std::unique_ptr< BasePrivate > | d_ptr |
Definition at line 70 of file userrequest.h.
◆ KeyTrust
Keep in sync with zypp::KeyRingReport::KeyTrust, we do not want to include old APIs here if possible.
Enumerator |
---|
KEY_DONT_TRUST | User has chosen not to trust the key.
|
KEY_TRUST_TEMPORARILY | This basically means, we knew the key, but it was not trusted.
User has chosen to continue, but not import the key.
|
KEY_TRUST_AND_IMPORT | Import the key.
This means saving the key in the trusted database so next run it will appear as trusted. Nothing to do with KEY_TRUST_TEMPORARILY, as you CAN trust a key without importing it, basically you will be asked every time again. There are programs who prefer to manage the trust keyring on their own and use trustKey without importing it into rpm.
|
Definition at line 78 of file userrequest.h.
◆ ZYPP_DECL_PRIVATE_CONSTR_ARGS()
◆ setChoice()
void zyppng::TrustKeyRequest::setChoice |
( |
const KeyTrust | sel | ) |
|
◆ choice()
◆ label()
const std::string zyppng::TrustKeyRequest::label |
( |
| ) |
const |
◆ type()
◆ _label
std::string zyppng::TrustKeyRequest::_label |
|
private |
◆ _answer
The documentation for this class was generated from the following files: