source: libabac/abac_verifier.h @ 8bd77b5

mei_rt2mei_rt2_fix_1
Last change on this file since 8bd77b5 was 8bd77b5, checked in by Mei <mei@…>, 12 years ago

1) convert parser and libabac to use id cred and attr cred like

creddy (move those 2 files to libabac).

2) fix up abac.hh to work with expanded libabac. can now build

structure from python script

3) redid the credential dump using the internal credential table

instead of depending on a search in db.

  • Property mode set to 100644
File size: 711 bytes
Line 
1#ifndef __VERIFIER_H__
2#define __VERIFIER_H__
3
4#include <chunk.h>
5
6#include "abac_internal.h"
7
8#include "uthash.h"
9
10void abac_verifier_init(void);
11void abac_verifier_deinit(void);
12
13int abac_verifier_load_id_id(abac_id_t*, abac_id_credential_t **id_cert);
14int abac_verifier_load_id_file(char *filename, abac_id_credential_t **id_cert);
15int abac_verifier_load_id_chunk(chunk_t chunk, abac_id_credential_t **id_cert);
16int abac_verifier_load_attribute_cert_attribute(abac_attribute_t *, abac_credential_t **cred);
17int abac_verifier_load_attribute_cert_file(char *filename, abac_credential_t **cred);
18int abac_verifier_load_attribute_cert_chunk(chunk_t chunk, abac_credential_t **cred);
19
20#endif /* __VERIFIER_H__ */
Note: See TracBrowser for help on using the repository browser.