diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2004-10-27 09:49:13 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2004-10-27 09:49:13 +0000 |
commit | f13772d62deb599c1c475f5b842ac76bdefc7e2f (patch) | |
tree | 3b217e851e54b477ecbf4df2cb6ded611574b1aa /lasso/xml/samlp_response_abstract.h | |
parent | c411dbc31f0938f513c4fb4ccc3b12a7b4ce6617 (diff) | |
download | lasso-f13772d62deb599c1c475f5b842ac76bdefc7e2f.tar.gz lasso-f13772d62deb599c1c475f5b842ac76bdefc7e2f.tar.xz lasso-f13772d62deb599c1c475f5b842ac76bdefc7e2f.zip |
Done with the move to structures and the removal of protocols/ (lasso branched
on October 2nd; occasional merges since then).
- Compatible with current souk test suites.
- Missing memory management for everything in xml/
- Missing xmlsec support for SOAP messages.
Diffstat (limited to 'lasso/xml/samlp_response_abstract.h')
-rw-r--r-- | lasso/xml/samlp_response_abstract.h | 40 |
1 files changed, 17 insertions, 23 deletions
diff --git a/lasso/xml/samlp_response_abstract.h b/lasso/xml/samlp_response_abstract.h index c18d47f4..1c72385b 100644 --- a/lasso/xml/samlp_response_abstract.h +++ b/lasso/xml/samlp_response_abstract.h @@ -43,37 +43,30 @@ typedef struct _LassoSamlpResponseAbstract LassoSamlpResponseAbstract; typedef struct _LassoSamlpResponseAbstractClass LassoSamlpResponseAbstractClass; struct _LassoSamlpResponseAbstract { - LassoNode parent; - /*< private >*/ + LassoNode parent; + + /* <attribute name="ResponseID" type="saml:IDType" use="required"/> */ + char *ResponseID; + /* <attribute name="InResponseTo" type="saml:IDReferenceType" use="optional"/> */ + char *InResponseTo; + /* <attribute name="MajorVersion" type="integer" use="required"/> */ + int MajorVersion; + /* <attribute name="MinorVersion" type="integer" use="required"/> */ + int MinorVersion; + /* <attribute name="IssueInstant" type="dateTime" use="required"/> */ + char *IssueInstant; + /* <attribute name="Recipient" type="anyURI" use="optional"/> */ + char *Recipient; }; struct _LassoSamlpResponseAbstractClass { - LassoNodeClass parent; - /*< vtable >*/ + LassoNodeClass parent; }; LASSO_EXPORT GType lasso_samlp_response_abstract_get_type (void); - LASSO_EXPORT LassoNode* lasso_samlp_response_abstract_new (void); -LASSO_EXPORT void lasso_samlp_response_abstract_set_inResponseTo (LassoSamlpResponseAbstract *node, - const xmlChar *inResponseTo); - -LASSO_EXPORT void lasso_samlp_response_abstract_set_issueInstant (LassoSamlpResponseAbstract *node, - const xmlChar *issueInstant); - -LASSO_EXPORT void lasso_samlp_response_abstract_set_majorVersion (LassoSamlpResponseAbstract *node, - const xmlChar *majorVersion); - -LASSO_EXPORT void lasso_samlp_response_abstract_set_minorVersion (LassoSamlpResponseAbstract *node, - const xmlChar *minorVersion); - -LASSO_EXPORT void lasso_samlp_response_abstract_set_recipient (LassoSamlpResponseAbstract *node, - const xmlChar *recipient); - -LASSO_EXPORT void lasso_samlp_response_abstract_set_responseID (LassoSamlpResponseAbstract *node, - const xmlChar *responseID); - +#if 0 LASSO_EXPORT gint lasso_samlp_response_abstract_set_signature (LassoSamlpResponseAbstract *node, gint sign_method, const xmlChar *private_key_file, @@ -86,6 +79,7 @@ LASSO_EXPORT gint lasso_samlp_response_abstract_set_signature_tmpl (LassoSamlpR LASSO_EXPORT gint lasso_samlp_response_abstract_sign_signature_tmpl (LassoSamlpResponseAbstract *node, const xmlChar *private_key_file, const xmlChar *certificate_file); +#endif #ifdef __cplusplus } |