mei_rt2mei_rt2_fix_1
libabac-0.2.1
Last change
on this file since 5730a10 was
9b43fc3,
checked in by Mei <mei@…>, 12 years ago
|
1) add code to load id into context with both cert chunk and privkey
chunk
2) test out the sample scripts in swig/perl and swig/python
|
-
Property mode set to
100644
|
File size:
815 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 | |
---|
10 | void abac_verifier_init(void); |
---|
11 | void abac_verifier_deinit(void); |
---|
12 | |
---|
13 | int abac_verifier_load_id_id(abac_id_t*, abac_id_credential_t **id_cert); |
---|
14 | int abac_verifier_load_id_file(char *filename, char*, abac_id_credential_t **id_cert); |
---|
15 | int abac_verifier_load_id_chunk(chunk_t chunk, abac_id_credential_t **id_cert); |
---|
16 | int abac_verifier_load_id_privkey_chunk(chunk_t chunk, chunk_t, abac_id_credential_t **id_cert); |
---|
17 | int abac_verifier_load_attribute_cert_attribute(abac_attribute_t *, abac_credential_t **cred); |
---|
18 | int abac_verifier_load_attribute_cert_file(char *filename, abac_credential_t **cred); |
---|
19 | int abac_verifier_load_attribute_cert_chunk(chunk_t chunk, abac_credential_t **cred); |
---|
20 | |
---|
21 | #endif /* __VERIFIER_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.