abac0-leakabac0-meitvf-new-xml
Last change
on this file since d2b198c was
d2b198c,
checked in by Ted Faber <faber@…>, 11 years ago
|
Another checkpoint. We can now read mnemonics from credentials.
|
-
Property mode set to
100644
|
File size:
601 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(); |
---|
[d2b198c] | 12 | extern char **read_credential(void *id_certs, char *infile, char **xml, |
---|
| 13 | abac_keyid_map_t *); |
---|
[461541a] | 14 | |
---|
[d2b198c] | 15 | extern char **get_rt0_from_xml(void *id_certs,char *xml, |
---|
| 16 | abac_keyid_map_t *); |
---|
[461541a] | 17 | extern char *get_keyid_from_xml(char *xml); |
---|
| 18 | extern 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.