source: libabac/abac_id.h @ d0efdec

mei_rt2
Last change on this file since d0efdec was 2e9455f, checked in by Mei <mei@…>, 11 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
Line 
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 */
9extern int abac_id_has_privkey(abac_id_t *id);
10extern char* abac_id_name(abac_id_t *);
11extern private_key_t* abac_id_privkey(abac_id_t *);
12extern char* abac_id_idtype_string(abac_id_t *id);
13extern abac_id_t *abac_id_keyid_new(char *, char *, certificate_t *);
14extern certificate_t *abac_id_cert(abac_id_t *);
15extern char *abac_id_keyid(abac_id_t *id);
16extern abac_id_t *abac_id_dup(abac_id_t *);
17extern abac_id_t *abac_id_copy(abac_id_t *);
18extern char *abac_id_cn(abac_id_t *);
19extern int abac_idtype_lookup(char *);
20extern char *abac_idtype_string(int);
21
22#endif /* __ABAC_ID_H__ */
Note: See TracBrowser for help on using the repository browser.