libzypp  17.35.16
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/PublicKey.h>
16 #include <zypp/Pathname.h>
17 #include <zypp/KeyRingContexts.h>
18 
19 // async helper
21 
22 namespace zyppng {
23 
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
I/O context for KeyRing::verifyFileSignatureWorkflow.
ZYPP_FWD_DECL_TYPE_WITH_REFS(Context)
expected< zypp::keyring::VerifyFileContext > verifySignature(SyncContextRef ctx, zypp::keyring::VerifyFileContext context)