source: libabac/abac_xml.h @ 8f53997

abac0-leakabac0-meimei-idmei-rt0-ntvf-new-xml
Last change on this file since 8f53997 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
RevLine 
[461541a]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.