12#ifndef ZYPP_FILECHECKER_H
13#define ZYPP_FILECHECKER_H
17#include <zypp-core/base/DefaultIntegral>
18#include <zypp-media/FileCheckException>
void operator()(const Pathname &file) const
Try to validate the file.
ChecksumFileChecker(CheckSum checksum)
Constructor.
CheckSumCheckException ExceptionType
Checker composed of more checkers.
std::list< FileChecker > _checkers
void add(const FileChecker &checker)
void operator()(const Pathname &file) const
Checks for nothing Used as the default checker.
void operator()(const Pathname &file) const
void operator()(const Pathname &file_r) const
Call KeyRing::verifyFileSignatureWorkflow to verify the file.
keyring::VerifyFileContext & verifyContext()
void addPublicKey(const PublicKey &publickey_r)
Add a public key to the list of known keys.
keyring::VerifyFileContext _verifyContext
SignatureCheckException ExceptionType
SignatureFileChecker()
Default Ctor for unsigned files.
I/O context for KeyRing::verifyFileSignatureWorkflow.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
function< void(const Pathname &file)> FileChecker
Functor signature used to check files.