-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsamlc.h
33 lines (24 loc) · 771 Bytes
/
samlc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html
#ifdef __cplusplus
extern "C" {
#endif
struct saml_response {
void *data;
char *destination;
char *id;
char *in_response_to;
char *issue_instant;
char *issuer;
char *status;
char *assertion_char;
void *assertion;
};
int saml_create(char *providerName, char *id, char *receiver, char *consumer, char *username, char *password, char *sigKeyPath, char *sigCertPath, char **result);
int saml_parse(char *xmlResponse, char *decKeyPath, char *decKeyAlias, char *sigCertPath, struct saml_response **response);
void saml_free_response(struct saml_response *response);
char *saml_get_char_xpath(void *xmlptr, char *xpath, char *name);
void saml_term();
void saml_init();
#ifdef __cplusplus
}
#endif