Added component column in files table
Implemented enumerator getter for generating functional component evidence requests Implemented enumerator getter for component hashes
This commit is contained in:
committed by
Andreas Steffen
parent
79e3859bf1
commit
b4a9274ce1
@@ -50,6 +50,15 @@ struct pts_database_t {
|
||||
enumerator_t* (*create_file_meta_enumerator)(pts_database_t *this,
|
||||
char *product);
|
||||
|
||||
/**
|
||||
* Get functional components to request evidence of
|
||||
*
|
||||
* @param product software product (os, vpn client, etc.)
|
||||
* @return enumerator over all matching components
|
||||
*/
|
||||
enumerator_t* (*create_comp_evid_enumerator)(pts_database_t *this,
|
||||
char *product);
|
||||
|
||||
/**
|
||||
* Get stored measurement hash for single file or directory entries
|
||||
*
|
||||
@@ -63,6 +72,17 @@ struct pts_database_t {
|
||||
pts_meas_algorithms_t algo,
|
||||
int id, bool is_dir);
|
||||
|
||||
/**
|
||||
* Get stored measurement hash for functional component entries
|
||||
*
|
||||
* @param product software product (os, vpn client, etc.)
|
||||
* @param algo hash algorithm used for measurement
|
||||
* @param comp_name value of path column in files table
|
||||
* @return enumerator over all matching measurement hashes
|
||||
*/
|
||||
enumerator_t* (*create_comp_hash_enumerator)(pts_database_t *this, char *product,
|
||||
pts_meas_algorithms_t algo, char *comp_name);
|
||||
|
||||
/**
|
||||
* Destroys a pts_database_t object.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user