libzypp  17.38.7
keyringwf.cc File Reference
#include "keyringwf.h"
#include <zypp/zypp_detail/keyring_p.h>
#include <zypp/RepoInfo.h>
#include <zypp/ZConfig.h>
#include <zypp-core/Pathname.h>
#include <zypp-common/PublicKey.h>
#include <zypp-core/base/Gettext.h>
#include <utility>
#include <zypp-core/ng/pipelines/Expected>
#include <zypp/ng/workflows/repoinfowf.h>
#include <zypp/ng/context.h>
#include <zypp/ng/reporthelper.h>
#include <zypp/ng/UserRequest>
Include dependency graph for keyringwf.cc:

Go to the source code of this file.

Classes

struct  zyppng::KeyRingWorkflow::ImportKeyFromRepoLogic
 

Namespaces

 zyppng::KeyRingWorkflow
 

Functions

MaybeAwaitable< boolzyppng::KeyRingWorkflow::provideAndImportKeyFromRepository (ContextRef ctx, std::string id_r, zypp::RepoInfo info_r)
 Try to find the id in key cache or repository specified in info. More...
 
MaybeAwaitable< std::pair< bool, zypp::keyring::VerifyFileContext > > zyppng::KeyRingWorkflow::verifyFileSignature (ContextRef zyppContext, zypp::keyring::VerifyFileContext &&context_r)
 Follows a signature verification interacting with the user. More...
 
MaybeAwaitable< std::pair< bool, zypp::keyring::VerifyFileContext > > zyppng::KeyRingWorkflow::verifyFileSignature (ContextRef zyppContext, zypp::KeyRing_Ptr keyRing, zypp::keyring::VerifyFileContext &&context_r)
 

Variable Documentation

◆ _foundKey

The key we found or false.

Definition at line 141 of file keyringwf.cc.

◆ _whichKeyRing

Ring _whichKeyRing = Ring::Trusted

The keyring in which we found the key. Valid only if the key is valid.

Definition at line 142 of file keyringwf.cc.

◆ trusted

bool trusted = false

Whether the key may validate data. Keys in Ring::General may if the user temp. trusted.

Definition at line 143 of file keyringwf.cc.

◆ _zyppContext

ZyppContextRefType _zyppContext
protected

Definition at line 311 of file keyringwf.cc.

◆ _keyringReport

KeyRingReportHelper _keyringReport
protected

Definition at line 312 of file keyringwf.cc.

◆ _keyRing

KeyRingRef _keyRing
protected

Definition at line 313 of file keyringwf.cc.

◆ _verifyContext

zypp::keyring::VerifyFileContext _verifyContext
protected

Definition at line 314 of file keyringwf.cc.