source: libabac/abac_attribute.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: 586 bytes
Line 
1#ifndef __ABAC_ATTR_H__
2#define __ABAC_ATTR_H__
3
4#include "abac_defines.h"
5
6#include <credentials/certificates/certificate.h>
7
8/* exported */
9extern char *get_cred_encoding(abac_attribute_t *);
10extern certificate_t *abac_attribute_issuer_cert(abac_attribute_t *ptr);
11extern certificate_t *abac_attribute_cert(abac_attribute_t *ptr);
12extern abac_attribute_t *abac_attribute_new(abac_id_t *, certificate_t *, certificate_t *);
13extern abac_attribute_t *abac_attribute_dup(abac_attribute_t *);
14extern abac_attribute_t *abac_attribute_copy(abac_attribute_t *);
15
16#endif /* __ABAC_ATTR_H__ */
Note: See TracBrowser for help on using the repository browser.