source: libabac/abac_xml.h @ 4423f47

abac0-leakabac0-meimei-idtvf-new-xml
Last change on this file since 4423f47 was 461541a, checked in by Mei <mei@…>, 11 years ago

1) updated original rt0 to remove libstrongswan dependency

a) identity credential being made/accessed with openssl api calls

(X509/EVP_PKEY pem)

b) attribute credential being made/access via xmlsec1 (custom XML

structure)

2) refactored libcreddy into libabac and now one ABAC namespace for

libabac

3) added attribute_rule suboption to creddy's attribute as another way

to insert access rule

4) added some regression tests into example directory
5) updated some docs.

  • Property mode set to 100644
File size: 520 bytes
Line 
1/* abac_xml.h */
2#ifndef __ABAC_XML_H__
3#define __ABAC_XML_H__
4
5extern void read_cert(char *filename, char **buf, int *len);
6extern char *my_make_credential(char* rt0, int secs, char* cert, int certlen);
7extern void fatal(const char *str);
8
9extern int init_xmlsec();
10extern int deinit_xmlsec();
11extern char **my_read_credential(char *infile, char **xml);
12
13extern char **get_rt0_from_xml(char *xml);
14extern char *get_keyid_from_xml(char *xml);
15extern long get_validity_from_xml(char *xml);
16
17#endif /* __ABAC_XML_H__ */
18
19
Note: See TracBrowser for help on using the repository browser.