libzypp  17.34.1
zyppng::AcceptKeyRequest Namespace Reference

Functions

constexpr std::string_view CTYPE ("keyring/accept-key")
 
constexpr std::string_view KEY ("key")
 
constexpr std::string_view KEY_CONTEXT ("key-context")
 
UserData makeData (const zypp::PublicKey &key, const zypp::KeyContext &keycontext=zypp::KeyContext())
 

Detailed Description

Ask user to trust and/or import the key to trusted keyring.

See also
zypp::KeyTrust

Userdata fields:

  • "key" Key to import into the trusted keyring
  • "key-context" context the key is used in

Function Documentation

◆ CTYPE()

constexpr std::string_view zyppng::AcceptKeyRequest::CTYPE ( "keyring/accept-key"  )

◆ KEY()

constexpr std::string_view zyppng::AcceptKeyRequest::KEY ( "key"  )

◆ KEY_CONTEXT()

constexpr std::string_view zyppng::AcceptKeyRequest::KEY_CONTEXT ( "key-context"  )

◆ makeData()

UserData zyppng::AcceptKeyRequest::makeData ( const zypp::PublicKey key,
const zypp::KeyContext keycontext = zypp::KeyContext() 
)

Definition at line 52 of file userrequest.cc.