source: libabac/abac_xml.h @ 7764378

abac0-leak
Last change on this file since 7764378 was 831da18, checked in by Mei <mei@…>, 6 years ago

1) getting ready to for 0.1.6

  • Property mode set to 100644
File size: 615 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 *make_credential(abac_attribute_t* rt0, int secs, char* cert, 
7        int certlen);
8extern void fatal(const char *str);
9
10extern int init_xmlsec();
11extern int deinit_xmlsec();
12extern char **read_credential(abac_list_t *id_certs, char *infile, char **xml,
13        abac_keyid_map_t *);
14
15extern char **get_rt0_from_xml(abac_list_t *id_certs,char *xml,
16        abac_keyid_map_t *);
17extern char *get_keyid_from_xml(char *xml);
18extern long get_validity_from_xml(char *xml);
19
20#endif /* __ABAC_XML_H__ */
21
22
Note: See TracBrowser for help on using the repository browser.