libzypp 17.37.10

signaturecheckwf.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
9#ifndef ZYPP_NG_SIGNATURECHECK_WORKFLOW_INCLUDED
10#define ZYPP_NG_SIGNATURECHECK_WORKFLOW_INCLUDED
11
12#include <zypp-core/zyppng/pipelines/AsyncResult>
13#include <zypp-core/zyppng/pipelines/Expected>
14
15#include <zypp-common/PublicKey.h>
16#include <zypp/Pathname.h>
17#include <zypp/KeyRingContexts.h>
18
19// async helper
20#include <zypp/ng/workflows/contextfacade.h>
21
22 namespace zyppng {
23
24 ZYPP_FWD_DECL_TYPE_WITH_REFS (Context);
25
26 namespace SignatureFileCheckWorkflow {
27 expected<zypp::keyring::VerifyFileContext> verifySignature( SyncContextRef ctx, zypp::keyring::VerifyFileContext context );
28 AsyncOpRef<expected<zypp::keyring::VerifyFileContext>> verifySignature( ContextRef ctx, zypp::keyring::VerifyFileContext context );
29 }
30
31}
32
33
34
35#endif
KeyRingContexts.h
zyppng::Context
Definition context.h:39
contextfacade.h
zyppng::SignatureFileCheckWorkflow
Definition signaturecheckwf.cc:57
zyppng::SignatureFileCheckWorkflow::verifySignature
expected< zypp::keyring::VerifyFileContext > verifySignature(SyncContextRef ctx, zypp::keyring::VerifyFileContext context)
Definition signaturecheckwf.cc:58
zyppng
Definition MediaNetworkRequestExecutor.h:16
zyppng::AsyncOpRef
std::shared_ptr< AsyncOp< T > > AsyncOpRef
Definition asyncop.h:255
Pathname.h
ZYPP_FWD_DECL_TYPE_WITH_REFS
#define ZYPP_FWD_DECL_TYPE_WITH_REFS(T)
Definition zyppglobal.h:126