abac0-leakabac0-meitvf-new-xml
Last change
on this file since e50f807 was
e50f807,
checked in by Ted Faber <faber@…>, 11 years ago
|
Parse and produce 1.1 credentials. Small tweaks, too.
|
-
Property mode set to
100644
|
File size:
559 bytes
|
Rev | Line | |
---|
[461541a] | 1 | /* abac_xml.h */ |
---|
| 2 | #ifndef __ABAC_XML_H__ |
---|
| 3 | #define __ABAC_XML_H__ |
---|
| 4 | |
---|
| 5 | extern void read_cert(char *filename, char **buf, int *len); |
---|
[e50f807] | 6 | extern char *make_credential(abac_attribute_t* rt0, int secs, char* cert, |
---|
| 7 | int certlen); |
---|
[461541a] | 8 | extern void fatal(const char *str); |
---|
| 9 | |
---|
| 10 | extern int init_xmlsec(); |
---|
| 11 | extern int deinit_xmlsec(); |
---|
[e50f807] | 12 | extern char **read_credential(void *id_certs, char *infile, char **xml); |
---|
[461541a] | 13 | |
---|
[bec30b5] | 14 | extern char **get_rt0_from_xml(void *id_certs,char *xml); |
---|
[461541a] | 15 | extern char *get_keyid_from_xml(char *xml); |
---|
| 16 | extern long get_validity_from_xml(char *xml); |
---|
| 17 | |
---|
| 18 | #endif /* __ABAC_XML_H__ */ |
---|
| 19 | |
---|
| 20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.