mei_rt2
Last change
on this file since e10abf8 was
2e9455f,
checked in by Mei <mei@…>, 12 years ago
|
1) added namespace
2) tweak ?This,
3) allowing linking role/oset as constraining conditions
4) adding access_tests regression testing that uses GENI's access policy
5) added couple multi contexts regression tests
6) add compression/uncompression calls to abac_encode_string/abac_decode_string
(libstrongwan only allows 512 char for attribute rule storage)
7) add attribute_now option to creddy that takes a whole char string for attribute
rule
|
-
Property mode set to
100644
|
File size:
642 bytes
|
Rev | Line | |
---|
[2e9455f] | 1 | #ifndef __ABAC_CERT_UTIL_H__ |
---|
| 2 | #define __ABAC_CERT_UTIL_H__ |
---|
| 3 | |
---|
| 4 | #include <sys/types.h> |
---|
| 5 | |
---|
| 6 | #include <credentials/certificates/certificate.h> |
---|
| 7 | #include <credentials/certificates/x509.h> |
---|
| 8 | #include <credentials/keys/private_key.h> |
---|
| 9 | |
---|
| 10 | extern char *cert_get_keyid(certificate_t *cert); |
---|
| 11 | extern certificate_t *cert_get_id_cert_from_file(char *filename); |
---|
| 12 | extern certificate_t *cert_get_id_cert_from_chunk(chunk_t chunk); |
---|
| 13 | extern certificate_t *cert_get_id_cert_from_pem_chunk(chunk_t chunk); |
---|
| 14 | extern certificate_t *cert_get_attr_cert_from_file(char *filename); |
---|
| 15 | extern certificate_t *cert_get_attr_cert_from_chunk(chunk_t chunk); |
---|
| 16 | |
---|
| 17 | #endif /* __ABAC_CERT_UTIL_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.