Verify app signature

This commit is contained in:
vvb2060
2022-04-08 18:03:58 +08:00
committed by John Wu
parent 4cff0384f7
commit 05d6d2b51b
11 changed files with 205 additions and 30 deletions

View File

@ -84,11 +84,12 @@ protected:
* DB Strings *
**************/
constexpr const char *DB_STRING_KEYS[] = { "requester" };
constexpr const char *DB_STRING_KEYS[] = { "requester", "cert_digest" };
// Strings keys indices
enum {
SU_MANAGER = 0
SU_MANAGER = 0,
CERT_DIGEST
};
class db_strings : public db_dict<std::string, std::size(DB_STRING_KEYS)> {