18 #ifndef CUPT_HASHSUMS_SEEN
19 #define CUPT_HASHSUMS_SEEN
32 enum Type { MD5, SHA1, SHA256, Count };
38 string& operator[](
const Type& type);
40 const string& operator[](
const Type& type)
const;
47 bool verify(
const string& path)
const;
55 bool match(
const HashSums& other)
const;
66 void fill(
const string& path);
74 static string getHashOfString(
const Type& type,
const string& pattern);
Definition: binarypackage.hpp:26
hash sums
Definition: hashsums.hpp:28
Type
hash sum type
Definition: hashsums.hpp:32