libzypp 17.37.17
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>
18
19// async helper
21
22namespace zyppng {
23
25
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
expected< zypp::keyring::VerifyFileContext > verifySignature(SyncContextRef ctx, zypp::keyring::VerifyFileContext context)
std::shared_ptr< AsyncOp< T > > AsyncOpRef
Definition asyncop.h:255
#define ZYPP_FWD_DECL_TYPE_WITH_REFS(T)
Definition zyppglobal.h:126