11 #ifndef ZYPP_REPO_PLUGINSIGCHECK_H 12 #define ZYPP_REPO_PLUGINSIGCHECK_H 37 :
Exception(
"SigcheckPlugin:", history_r )
43 :
Exception(
"SigcheckPlugin: "+msg_r, history_r )
62 using Args = std::vector<std::string>;
130 explicit operator bool()
const;
146 #endif // ZYPP_REPO_PLUGINSIGCHECK_H
SigcheckPlugins()
No plugins.
Exception thrown by SigcheckPlugins.
SigcheckPluginException(const std::string &msg_r)
String related utilities and Regular expression matching.
~SigcheckPlugins()=default
void sigcheck(const Pathname &data_r, const Pathname &sig_r=Pathname(), const Pathname &key_r=Pathname()) const
Let plugin do the signature check.
SigcheckPlugin & operator=(const SigcheckPlugin &)=delete
SigcheckPlugin(const SigcheckPlugin &)=delete
const Plugins & plugins()
All plugins (their addresses can be captured).
SigcheckPluginException(const Exception &history_r)
std::vector< std::string > Args
std::string sigExtension() const
Extension of a signature file to retrieve.
std::string keyExtension() const
Extension of a key file to retrieve.
void launch(const Pathname &chroot_r=Pathname())
Launch all plugins (optionally chrooted).
Base class for Exception.
SigcheckPlugins & operator=(const SigcheckPlugins &)=delete
std::vector< SigcheckPlugin > Plugins
friend std::ostream & operator<<(std::ostream &str, const SigcheckPlugins &obj)
RW_pointer< Impl > _pimpl
Easy-to use interface to the ZYPP dependency resolver.
RW_pointer< Impl > _pimpl
~SigcheckPlugin()=default
SigcheckPluginException(const std::string &msg_r, const Exception &history_r)
friend std::ostream & operator<<(std::ostream &str, const SigcheckPlugin &obj)
void launch(const Pathname &chroot_r=Pathname())
Launch the plugin.
Handle a bunch of SigcheckPlugins.