mei_rt2mei_rt2_fix_1
Last change
on this file since 9b43fc3 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
|
Rev | Line | |
---|
[43e3b71] | 1 | #ifndef __VERIFIER_H__ |
---|
| 2 | #define __VERIFIER_H__ |
---|
| 3 | |
---|
| 4 | #include <chunk.h> |
---|
| 5 | |
---|
[8bd77b5] | 6 | #include "abac_internal.h" |
---|
[43e3b71] | 7 | |
---|
| 8 | #include "uthash.h" |
---|
| 9 | |
---|
| 10 | void abac_verifier_init(void); |
---|
| 11 | void abac_verifier_deinit(void); |
---|
| 12 | |
---|
[8bd77b5] | 13 | int abac_verifier_load_id_id(abac_id_t*, abac_id_credential_t **id_cert); |
---|
[d037f54] | 14 | int abac_verifier_load_id_file(char *filename, char*, abac_id_credential_t **id_cert); |
---|
[8bd77b5] | 15 | int abac_verifier_load_id_chunk(chunk_t chunk, abac_id_credential_t **id_cert); |
---|
[9b43fc3] | 16 | int abac_verifier_load_id_privkey_chunk(chunk_t chunk, chunk_t, abac_id_credential_t **id_cert); |
---|
[8bd77b5] | 17 | int abac_verifier_load_attribute_cert_attribute(abac_attribute_t *, abac_credential_t **cred); |
---|
[0779c99] | 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); |
---|
[43e3b71] | 20 | |
---|
| 21 | #endif /* __VERIFIER_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.