source: libabac/abac_verifier.h @ 6cd69a0

abac0-leakabac0-mei
Last change on this file since 6cd69a0 was 3c30b59, checked in by Mei <mei@…>, 11 years ago

1) add in new refactored regression testing directory
2) undo the abac.hh/ABAC.hh api changes
3) merged with Ted's changes to attribute format/nickname/issuer processing

  • Property mode set to 100644
File size: 901 bytes
Line 
1#ifndef __VERIFIER_H__
2#define __VERIFIER_H__
3
4#include "abac.h"
5#include "uthash.h"
6#include "abac_verifier.h"
7
8void abac_verifier_init(void);
9void abac_verifier_deinit(void);
10
11int abac_verifier_load_id_file(abac_list_t*,char *filename, abac_keyid_map_t *);
12int abac_verifier_load_id_chunk(abac_list_t *,abac_chunk_t chunk, abac_keyid_map_t *);
13int abac_verifier_load_attribute_cert_file(abac_list_t *,char *filename, abac_list_t *clist, abac_keyid_map_t *km);
14int abac_verifier_load_attribute_cert_chunk(abac_list_t *,abac_chunk_t chunk, abac_list_t  *clist, abac_keyid_map_t *km);
15
16void abac_id_cert_insert_cert(abac_list_t *, abac_id_cert_t *id_cert);
17void abac_id_cert_delete_cert(abac_list_t *, abac_id_cert_t *id_cert);
18abac_id_cert_t *abac_id_cert_dup(abac_id_cert_t *id_cert);
19int abac_id_cert_count(abac_id_cert_t *);
20char *abac_id_cert_keyid(abac_id_cert_t *);
21
22#endif /* __VERIFIER_H__ */
Note: See TracBrowser for help on using the repository browser.