mei_rt2
Last change
on this file since 71ac53a was
2e9455f,
checked in by Mei <mei@…>, 12 years ago
|
1) added namespace
2) tweak ?This,
3) allowing linking role/oset as constraining conditions
4) adding access_tests regression testing that uses GENI's access policy
5) added couple multi contexts regression tests
6) add compression/uncompression calls to abac_encode_string/abac_decode_string
(libstrongwan only allows 512 char for attribute rule storage)
7) add attribute_now option to creddy that takes a whole char string for attribute
rule
|
-
Property mode set to
100644
|
File size:
714 bytes
|
Rev | Line | |
---|
[2e9455f] | 1 | #ifndef __ABAC_ID_H__ |
---|
| 2 | #define __ABAC_ID_H__ |
---|
| 3 | |
---|
| 4 | #include "abac_defines.h" |
---|
| 5 | |
---|
| 6 | #include <credentials/keys/private_key.h> |
---|
| 7 | |
---|
| 8 | /* exported */ |
---|
| 9 | extern int abac_id_has_privkey(abac_id_t *id); |
---|
| 10 | extern char* abac_id_name(abac_id_t *); |
---|
| 11 | extern private_key_t* abac_id_privkey(abac_id_t *); |
---|
| 12 | extern char* abac_id_idtype_string(abac_id_t *id); |
---|
| 13 | extern abac_id_t *abac_id_keyid_new(char *, char *, certificate_t *); |
---|
| 14 | extern certificate_t *abac_id_cert(abac_id_t *); |
---|
| 15 | extern char *abac_id_keyid(abac_id_t *id); |
---|
| 16 | extern abac_id_t *abac_id_dup(abac_id_t *); |
---|
| 17 | extern abac_id_t *abac_id_copy(abac_id_t *); |
---|
| 18 | extern char *abac_id_cn(abac_id_t *); |
---|
| 19 | extern int abac_idtype_lookup(char *); |
---|
| 20 | extern char *abac_idtype_string(int); |
---|
| 21 | |
---|
| 22 | #endif /* __ABAC_ID_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.