source: libabac/abac_key.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: 481 bytes
Line 
1#ifndef __ABAC_KEY_H__
2#define __ABAC_KEY_H__
3
4#include "abac_defines.h"
5
6#include <credentials/keys/private_key.h>
7
8/* exported */
9/* for abac_id */
10extern private_key_t *abac_key_private_key(abac_key_t*);
11extern chunk_t abac_key_chunk(abac_key_t *);
12extern abac_key_t *abac_key_generate();
13extern abac_key_t *abac_key_copy(abac_key_t *);
14extern abac_key_t *abac_key_file_new(char *, chunk_t);
15extern abac_key_t *abac_key_chunk_new(chunk_t, chunk_t);
16
17#endif /* __ABAC_KEY_H__ */
Note: See TracBrowser for help on using the repository browser.